{
"mcpServers": {
"dynamics365-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 1 days ago.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
A Model Context Protocol (MCP) server written in C# that lets AI assistants read data from Microsoft Dynamics 365 CRM through natural language.
Bridges AI clients (Claude Desktop, LibreChat) to Dynamics 365 via OData v4. The AI can discover entity schemas, query records, and look up option set values — all backed by real CRM data rather than hallucinated field names.
Blindfold Strategy: MetadataService strips system and audit fields from D365 metadata before
the LLM sees them. This prevents the model from inventing field names that don't exist.
| Tool | Description |
|---|---|
entities_overview | Lists the supported D365 entities and what they represent |
get_schema | Returns filtered field definitions for an entity (Blindfold Strategy) |
get_option_set | Returns all option values for a picklist/state/status/boolean column as a table |
query_records | Generic OData query with $select, $filter, $top |
query_contact_by_username | Looks up a Contact by Bikeleasing user ID (e.g. AB12-CD34) |
query_contract_by_number | Looks up a leasing contract by contract number |
| Name | Type | Description |
|---|---|---|
dynamics://contract/field-categories | Resource | Markdown grouping 800+ contract fields into business domains |
contract_narrative | Prompt | Template that guides the model to produce a human-readable contract summary |
Dynamics CRM → user_impersonation (delegated) or a D365 application user with the appropriate security roleModelContextProtocol 1.2.0 — attribute-based tool/resource/prompt discoveryMicrosoft.Identity.Client (MSAL) — OAuth2 client credentials with built-in token cachingIHttpClientFactory + DelegatingHandler — automatic Bearer token injection on all D365 callsThe server reads credentials from environment variables or appsettings.Development.json.
The environment variables use .NET's double-underscore section notation:
D365__BaseUrl=https://your-org.crm4.dynamics.com
D365__ClientId=<azure-app-client-id>
D365__ClientSecret=<azure-app-client-secret>
D365__TenantId=<azure-tenant-id>
For local development, create appsettings.Development.json (already in .gitignore):
{
"D365": {
"BaseUrl": "https://your-org.crm4.dynamics.com",
"ClientId": "<azure-app-client-id>",
"ClientSecret": "<azure-app-client-secret>",
"TenantId": "<azure-tenant-id>"
}
}
dotnet run # Test — verifies D365 connectivity and exits
dotnet run -- --stdio # Claude Desktop (stdio transport)
dotnet run -- --sse # SSE server on port 3001
Build a self-contained publish first:
dotnet publish -c Release -o publish
Add this block to ~/Library/Application Support/Claude/claude_desktop_config.json
(on Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"dynamics365": {
"command": "/u
... [View full README on GitHub](https://github.com/dglalperen/dynamics365-mcp-server#readme)
No automated test available for this server. Check the GitHub README for setup instructions.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationNo known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Dynamics365 Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.