# Connect Microsoft Dynamics 365 to Your AI Agent (Universal MCP)

> One live connection for your AI, business software, and team.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http microsoft-dynamics-365 https://api.universalmcp.app/mcp/microsoft-dynamics-365`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/microsoft-dynamics-365` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "microsoft-dynamics-365", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Microsoft Dynamics 365 | Category: ERP & Accounting (Microsoft) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Invoices, Customers, Bills, and Reports; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/microsoft-dynamics-365 | Guide: https://universalmcp.app/mcp/microsoft-dynamics-365
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Capabilities
- **Search invoices and payments** (Read): Find open, overdue, or paid invoices in Microsoft Dynamics 365 by customer or date.
- **Look up customer balances** (Read): Review billing contacts, open balances, and account history.
- **Pull financial summaries** (Read): Check revenue, expenses, and payables totals on demand.
- **Review bills and vendors** (Read): Inspect upcoming vendor bills and recent payment runs.
- **Create draft invoices** (Write): Prepare new customer invoices and confirm details before sending.
- **Log expenses and updates** (Write): Record new expenses or update customer contact details.

## Example Prompts for Microsoft Dynamics 365
- **Receivables:** "List every unpaid invoice in Microsoft Dynamics 365 that is more than 30 days overdue, grouped by customer."
- **Monthly close:** "Summarize my Microsoft Dynamics 365 profit and loss for last month and flag the top 5 expense increases."
- **Billing:** "Draft a new Microsoft Dynamics 365 invoice for Acme Corp for $2,500 due in 30 days, and show it to me before saving."
- **Cash flow:** "What bills are due in Microsoft Dynamics 365 over the next 14 days, and what is the total amount owed?"
