Query and manage Microsoft Dynamics 365 Finance & Operations via MCP
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"Microsoft D365": {
"env": {
"D365_CLIENT_ID": "your-client-id",
"D365_TENANT_ID": "your-tenant-id",
"D365_CLIENT_SECRET": "your-client-secret",
"D365_ENVIRONMENT_URL": "https://your-env.operations.dynamics.com"
},
"args": [
"/path/to/d365fo-mcp-server/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP (Model Context Protocol) server that provides access to Microsoft Dynamics 365 Finance & Operations environments. Enables AI assistants like Claude to explore D365 metadata, query data, and perform write operations on non-production environments.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@zhound/d365fo-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @zhound/d365fo-mcp-server against OSV.dev.
Click any tool to inspect its schema.
Entities ListList all entities with optional wildcard filtering
d365://entities?filter={filter}
Entity SchemaFull schema for any entity (fields, keys, navigation properties)
d365://entity/{entityName}
Navigation PropertiesEntity relationships and navigation properties
d365://navigation/{entityName}
Enum DefinitionsAll enum types with their values
d365://enums
Saved QueriesList saved query templates
d365://queries
DashboardJSON metrics for all environments (health, API stats, recent operations)
d365://dashboard
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data / finance
Manage Supabase projects — databases, auth, storage, and edge functions
Query and manage PostgreSQL databases directly from AI assistants
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
MCP Security Weekly
Get CVE alerts and security updates for io.github.zhound420/d365fo-connector and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP (Model Context Protocol) server that provides access to Microsoft Dynamics 365 Finance & Operations environments. Enables AI assistants like Claude to explore D365 metadata, query data, and perform write operations on non-production environments.
| Resource | URI | Purpose |
|---|---|---|
| Entities List | d365://entities?filter=<pattern> | List all entities with optional wildcard filtering |
| Entity Schema | d365://entity/{entityName} | Full schema for any entity (fields, keys, navigation properties) |
| Navigation Properties | d365://navigation/{entityName} | Entity relationships and navigation properties |
| Enum Definitions | d365://enums | All enum types with their values |
| Saved Queries | d365://queries | List saved query templates |
| Dashboard | d365://dashboard | JSON metrics for all environments (health, API stats, recent operations) |
All tools support an optional environment parameter to target specific D365 environments.
| Tool | Purpose |
|---|---|
list_environments | List all configured D365 environments with connection status |
set_environment | Set the working environment for the current session |
describe_entity | Quick schema lookup for an entity |
execute_odata | Execute raw OData paths (queries, single records, counts) |
aggregate | Perform aggregations (SUM, AVG, COUNT, MIN, MAX, COUNTDISTINCT, percentiles) on entity data |
get_related | Follow entity relationships to retrieve related records |
export | Export query results to CSV, JSON, or TSV format |
compare_periods | YoY, QoQ, MoM period comparisons with change calculations |
trending | Time series analysis with growth rates and moving averages |
save_query | Save reusable query templates with parameter support |
execute_saved_query | Execute saved query templates with parameter substitution |
delete_saved_query | Delete saved query templates |
join_entities | Cross-entity joins using $expand or client-side join |
batch_query | Execute multiple queries in parallel |
search_entity | Robust entity search with automatic fallback strategies |
analyze_customer | Comprehensive single-call customer analysis |
create_record | Create new records (non-production environments only) |
update_record | Update existing records (non-production environments only) |
delete_record | Delete records (non-production environments only) |
batch_crud | Execute multiple create/update/delete operations in a single batch request (non-production only) |
compare_schemas | Compare entity schemas between two environments to detect schema drift |
dashboard | Display environment dashboard with health status, API statistics, and recent operations |
npx @zhound/d365fo-mcp-server
Or install globally:
npm install -g @zhound/d365fo-mcp-server
d365fo-mcp
git clone https://github.com/zhound420/D365FO-claude-connector.git
cd D365FO-claude-connector
npm install
npm run build
Run the interactive setup wizard:
npm run setup
The wizard will: