Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

D365fo Connector

by zhound420version 2.0.1i★ 10iRuns on your computerRepository ↗
Registry nameio.github.zhound420/d365fo-connector

How to install

What it does

Query and manage Microsoft Dynamics 365 Finance & Operations via MCP

  • Connects Runs on your computer
  • Account or key Needs D365_CLIENT_SECRET · 3 settings to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL)
  • Category Accounting, finance & tax

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity12/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score15/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install D365fo Connector. Follow https://mcp.popnx.com/i/zhound420-d365fo-connector.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server D365fo Connector for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "d365fo-connector": { "command": "npx", "args": [ "-y", "@zhound/d365fo-mcp-server" ], "env": { "D365_TENANT_ID": "your-value", "D365_CLIENT_ID": "your-value", "D365_CLIENT_SECRET": "your-value", "D365_ENVIRONMENT_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For D365_CLIENT_SECRET, D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the D365fo Connector tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a D365fo Connector key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 3 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • D365_TENANT_ID Azure AD tenant ID
    • D365_CLIENT_ID App registration client ID
    • D365_ENVIRONMENT_URL D365 F&O environment URL, e.g. https://contoso.operations.dynamics.com

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "d365fo-connector": {
          "command": "npx",
          "args": [
            "-y",
            "@zhound/d365fo-mcp-server"
          ],
          "env": {
            "D365_TENANT_ID": "your-value",
            "D365_CLIENT_ID": "your-value",
            "D365_CLIENT_SECRET": "your-value",
            "D365_ENVIRONMENT_URL": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use D365fo Connector and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using D365fo Connector or shows a D365fo Connector tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect D365fo Connector yet

D365fo Connector runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect D365fo Connector

  • You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time)
  • You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time)
  • You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time)

B · Others in Accounting, finance & tax that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server D365fo Connector for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user d365fo-connector --env D365_TENANT_ID=your-value --env D365_CLIENT_ID=your-value --env D365_CLIENT_SECRET=your-value --env D365_ENVIRONMENT_URL=your-value -- npx -y @zhound/d365fo-mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For D365_CLIENT_SECRET, D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the D365fo Connector tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a D365fo Connector key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 3 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • D365_TENANT_ID Azure AD tenant ID
    • D365_CLIENT_ID App registration client ID
    • D365_ENVIRONMENT_URL D365 F&O environment URL, e.g. https://contoso.operations.dynamics.com

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user d365fo-connector --env D365_TENANT_ID=your-value --env D365_CLIENT_ID=your-value --env D365_CLIENT_SECRET=your-value --env D365_ENVIRONMENT_URL=your-value -- npx -y @zhound/d365fo-mcp-server

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see D365fo Connector listed as connected

  7. Try it

    Use D365fo Connector and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using D365fo Connector or shows a D365fo Connector tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server D365fo Connector for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "d365fo-connector": { "command": "npx", "args": [ "-y", "@zhound/d365fo-mcp-server" ], "env": { "D365_TENANT_ID": "your-value", "D365_CLIENT_ID": "your-value", "D365_CLIENT_SECRET": "your-value", "D365_ENVIRONMENT_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For D365_CLIENT_SECRET, D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the D365fo Connector tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a D365fo Connector key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 3 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • D365_TENANT_ID Azure AD tenant ID
    • D365_CLIENT_ID App registration client ID
    • D365_ENVIRONMENT_URL D365 F&O environment URL, e.g. https://contoso.operations.dynamics.com

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the D365fo Connector settings, D365_CLIENT_SECRET, D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use D365fo Connector and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using D365fo Connector or shows a D365fo Connector tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a D365fo Connector key (create it on the maker’s site) · 3 setting(s) to fill in (D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server D365fo Connector for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "d365fo-connector": { "type": "stdio", "command": "npx", "args": [ "-y", "@zhound/d365fo-mcp-server" ], "env": { "D365_TENANT_ID": "your-value", "D365_CLIENT_ID": "your-value", "D365_CLIENT_SECRET": "your-value", "D365_ENVIRONMENT_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For D365_CLIENT_SECRET, D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the D365fo Connector tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a D365fo Connector key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 3 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • D365_TENANT_ID Azure AD tenant ID
    • D365_CLIENT_ID App registration client ID
    • D365_ENVIRONMENT_URL D365 F&O environment URL, e.g. https://contoso.operations.dynamics.com

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the D365fo Connector settings, D365_CLIENT_SECRET, D365_TENANT_ID, D365_CLIENT_ID, D365_ENVIRONMENT_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use D365fo Connector and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using D365fo Connector or shows a D365fo Connector tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use D365fo Connector💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user d365fo-connector --env D365_TENANT_ID=your-value --env D365_CLIENT_ID=your-value --env D365_CLIENT_SECRET=your-value --env D365_ENVIRONMENT_URL=your-value -- npx -y @zhound/d365fo-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "d365fo-connector": {
      "command": "npx",
      "args": [
        "-y",
        "@zhound/d365fo-mcp-server"
      ],
      "env": {
        "D365_TENANT_ID": "your-value",
        "D365_CLIENT_ID": "your-value",
        "D365_CLIENT_SECRET": "your-value",
        "D365_ENVIRONMENT_URL": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "d365fo-connector": {
      "command": "npx",
      "args": [
        "-y",
        "@zhound/d365fo-mcp-server"
      ],
      "env": {
        "D365_TENANT_ID": "your-value",
        "D365_CLIENT_ID": "your-value",
        "D365_CLIENT_SECRET": "your-value",
        "D365_ENVIRONMENT_URL": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "d365fo-connector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zhound/d365fo-mcp-server"
      ],
      "env": {
        "D365_TENANT_ID": "your-value",
        "D365_CLIENT_ID": "your-value",
        "D365_CLIENT_SECRET": "your-value",
        "D365_ENVIRONMENT_URL": "your-value"
      }
    }
  }
}

Values you fill in

  • D365_TENANT_ID required env
    Azure AD tenant ID
  • D365_CLIENT_ID required env
    App registration client ID
  • D365_CLIENT_SECRET secret required env
    App registration client secret
  • D365_ENVIRONMENT_URL required env
    D365 F&O environment URL, e.g. https://contoso.operations.dynamics.com

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
39/wk
Connection
Runs on your computer
Latest versioni
2.0.1
Published to registryi
Mar 16, 2026
Code last changedi
Mar 16, 2026
Maker
zhound420
Packages
npm: @zhound/d365fo-mcp-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account zhound420, which owns the repo

  • ! Caution

    Still maintained

    Code last changed 8 months ago, more than 6 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @zhound/d365fo-mcp-server@2.0.1

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/zhound420-d365fo-connector.svg)](https://mcp.popnx.com/en/servers/zhound420-d365fo-connector)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Accounting, finance & taxi

  • More stars than 97% of the other 3417 servers in this category
  • Published to the registry more recently than 1% of the other 3417 servers in this category
  • Basic checks equal to or better than 53% of the other 3417 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is D365fo Connector safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: D365_CLIENT_SECRET

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 8 months ago, and the latest version (2.0.1) reached the registry 8 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

by SolidInvoiceGrowing★ 989Updated 10 days ago

Runs in the cloud✓ service owner · solidinvoice.co

Signal8

SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.

by signal8aiGrowing↓ 431/wk★ 425Updated 10 days ago

Computer or cloud✓ service owner · signal8.ai

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

by CursivezGrowing★ 261Updated 11 days ago

Runs in the cloud✓ service owner · journalit.co

Beancount.io

Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.

by bex-coGrowing★ 702 Stars for the whole repoUpdated 44 days ago

Runs in the cloud✓ service owner · beancount.io
Compared with similar ones
This one
D365fo Connector
SolidInvoiceSignal8JournalitBeancount.ioTapetide - Indian Stock Market MCP
Runs whereInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyYesNoYesNoNoYes
Add with + in ClaudeNoNoNoNoNoNo
Basic checks2/34/65/54/44/45/5
LicenseMITMITMITNOASSERTIONMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

D365 Finance & Operations MCP Server

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.

Features

  • Multi-Environment Support - Connect to multiple D365 environments (production, UAT, dev)
  • Read/Write Operations - Query data on all environments; create, update, delete on non-production only
  • Production Safety - Production environments are always read-only by design
  • MCP Resources for schema discovery and metadata exploration
  • 22 Specialized Tools for flexible data access, aggregation, batch operations, and analysis
  • Environment Dashboard - Health monitoring, API statistics, and operation tracking
  • Secure Authentication via Azure AD client credentials
  • Automatic Metadata Caching (24-hour TTL, per-environment)

Architecture

Resources
ResourceURIPurpose
Entities Listd365://entities?filter= List all entities with optional wildcard filtering
Entity Schemad365://entity/{entityName}Full schema for any entity (fields, keys, navigation properties)
Navigation Propertiesd365://navigation/{entityName}Entity relationships and navigation properties
Enum Definitionsd365://enumsAll enum types with their values
Saved Queriesd365://queriesList saved query templates
Dashboardd365://dashboardJSON metrics for all environments (health, API stats, recent operations)
Tools

All tools support an optional environment parameter to target specific D365 environments.

ToolPurpose
list_environmentsList all configured D365 environments with connection status
set_environmentSet the working environment for the current session
describe_entityQuick schema lookup for an entity
execute_odataExecute raw OData paths (queries, single records, counts)
aggregatePerform aggregations (SUM, AVG, COUNT, MIN, MAX, COUNTDISTINCT, percentiles) on entity data
get_relatedFollow entity relationships to retrieve related records
exportExport query results to CSV, JSON, or TSV format
compare_periodsYoY, QoQ, MoM period comparisons with change calculations
trendingTime series analysis with growth rates and moving averages
save_querySave reusable query templates with parameter support
execute_saved_queryExecute saved query templates with parameter substitution
delete_saved_queryDelete saved query templates
join_entitiesCross-entity joins using $expand or client-side join
batch_queryExecute multiple queries in parallel
search_entityRobust entity search with automatic fallback strategies
analyze_customerComprehensive single-call customer analysis
create_recordCreate new records (non-production environments only)
update_recordUpdate existing records (non-production environments only)
delete_recordDelete records (non-production environments only)
batch_crudExecute multiple create/update/delete operations in a single batch request (non-production only)
compare_schemasCompare entity schemas between two environments to detect schema drift
dashboardDisplay environment dashboard with health status, API statistics, and recent operations

Installation

From npm (Recommended)
npx @zhound/d365fo-mcp-server

Or install globally:

npm install -g @zhound/d365fo-mcp-server

d365fo-mcp

From Source
git clone https://github.com/zhound420/D365FO-claude-connector.git

cd D365FO-claude-connector npm install npm run build

Quick Start (Recommended)

Run the interactive setup wizard:

npm run setup

The wizard will:

  1. Check prerequisites (Node.js 18+, dependencies)
  2. Guide you through D365 environment configuration
  3. Test connectivity to your D365 environments
  4. Generate configuration files
  5. Configure Claude Desktop and/or Claude Code

After setup, restart Claude Desktop (Cmd+Q then reopen on macOS, or Ctrl+Q on Windows) or start a new Claude Code session.

Configuration

Multi-Environment Configuration (Recommended)

Create a d365-environments.json file in the project root or working directory:

{

"environments": [ { "name": "production", "displayName": "Production", "type": "production", "tenantId": "your-tenant-id", "clientId": "your-client-id", "clientSecret": "your-client-secret", "environmentUrl": "https://your-company.operations.dynamics.com", "default": true }, { "name": "uat", "displayName": "UAT (Tier 2)", "type": "non-production", "tenantId": "your-tenant-id", "clientId": "your-client-id", "clientSecret": "your-client-secret", "environmentUrl": "https://your-company-uat.sandbox.operations.dynamics.com" }, { "name": "dev", "displayName": "Dev Sandbox", "type": "non-production", "tenantId": "your-tenant-id", "clientId": "your-client-id", "clientSecret": "your-client-secret", "environmentUrl": "https://your-company-dev.sandbox.operations.dynamics.com" } ] }

Environment Types:

  • type: "production" - Read-only access (all write operations are blocked)
  • type: "non-production" - Full read/write access (create, update, delete enabled)

Copy d365-environments.example.json as a starting point.

Single Environment (Legacy)

The server also supports the following environment variables (fallback if no JSON config):

VariableDescription
D365_TENANT_IDAzure AD tenant ID
D365_CLIENT_IDAzure AD application (client) ID
D365_CLIENT_SECRETAzure AD client secret
D365_ENVIRONMENT_URLD365 F&O environment URL (e.g., https://contoso.operations.dynamics.com)
D365_ENVIRONMENT_TYPEOptional: "production" or "non-production" (defaults to "production" for safety)

Optional:

VariableDefaultDescription
D365_TRANSPORTstdioTransport mode (stdio or http)
D365_HTTP_PORT3000HTTP port (when using http transport)
D365_LOG_LEVELinfoLogging level
D365_PAGINATION_TIMEOUT_MS60000Timeout (ms) for paginated requests on large datasets
D365_CONFIG_FILEPath to config file if not in default location
Azure AD App Registration
Step 1: Create Azure AD App
  1. Go to Azure Portal > Azure Active Directory > App registrations
  2. Click "New registration"
  3. Name it (e.g., "D365 MCP Server")
  4. Select "Accounts in this organizational directory only"
  5. Click Register
Step 2: Configure API Permissions
  1. Go to "API permissions" > "Add a permission"
  2. Select "Dynamics 365 Finance and Operations"
  3. Choose "Application permissions" > CustomService.ReadWrite.All
  4. Click "Grant admin consent for [your organization]"
Step 3: Create Client Secret
  1. Go to "Certificates & secrets" > "New client secret"
  2. Add a description and expiry period
  3. Copy the secret value immediately (shown only once)
  4. Note down:
  • Tenant ID: Found on the Overview page
  • Client ID: Application (client) ID on Overview page
  • Client Secret: The value you just copied
Step 4: Register App in D365 Environments

Important: This step must be done in each D365 environment (Production, UAT, Dev) you want to connect to.

  1. In D365 F&O, navigate to: System Administration > Setup > Azure Active Directory applications
  1. Click "New" to add a record:
FieldValue
Client IDThe Application (client) ID from Azure AD
NameDescriptive name (e.g., "MCP Server Integration")
User IDA D365 user account for the app to run as
  1. The User ID determines what data the app can access:
  • Use a service account with appropriate security roles
  • For read-only access: assign roles like "View all data"
  • For write access on non-production: assign roles that allow create/update/delete
  1. Repeat for each environment you want to connect to

Note: If you skip this step, API calls will fail with 401 Unauthorized or 403 Forbidden errors even though Azure AD authentication succeeded.

Setup

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{

"mcpServers": { "Microsoft D365": { "command": "node", "args": ["/path/to/d365fo-mcp-server/dist/index.js"], "env": { "D365_TENANT_ID": "your-tenant-id", "D365_CLIENT_ID": "your-client-id", "D365_CLIENT_SECRET": "your-client-secret", "D365_ENVIRONMENT_URL": "https://your-env.operations.dynamics.com" } } } }

Claude Code (CLI)

Add to ~/.claude/settings.json:

{

"mcpServers": { "Microsoft D365": { "command": "node", "args": ["/path/to/d365fo-mcp-server/dist/index.js"], "env": { "D365_TENANT_ID": "your-tenant-id", "D365_CLIENT_ID": "your-client-id", "D365_CLIENT_SECRET": "your-client-secret", "D365_ENVIRONMENT_URL": "https://your-env.operations.dynamics.com" } } } }

After adding the configuration, restart Claude Desktop or Claude Code.

Environment Visibility Configuration

When using multiple D365 environments, you can configure how they appear in Claude:

Option A: Separate Servers per Environment (Recommended)

This option shows each environment as a separate MCP server in Claude's sidebar:

{

"mcpServers": { "D365-production": { "command": "node", "args": ["/path/to/d365fo-mcp-server/dist/index.js"], "env": { "D365_CONFIG_FILE": "/path/to/d365fo-mcp-server/d365-environments.json", "D365_SINGLE_ENV": "production" } }, "D365-uat": { "command": "node", "args": ["/path/to/d365fo-mcp-server/dist/index.js"], "env": { "D365_CONFIG_FILE": "/path/to/d365fo-mcp-server/d365-environments.json", "D365_SINGLE_ENV": "uat" } }, "D365-dev": { "command": "node", "args": ["/path/to/d365fo-mcp-server/dist/index.js"], "env": { "D365_CONFIG_FILE": "/path/to/d365fo-mcp-server/d365-environments.json", "D365_SINGLE_ENV": "dev" } } } }

Pros:

  • Environment is immediately visible in Claude's sidebar
  • No ambiguity about which environment a query targets
  • Works reliably across all platforms

How it works: The D365_SINGLE_ENV environment variable tells the server to load only that specific environment from d365-environments.json. The D365_CONFIG_FILE ensures the config is found regardless of working directory.

Option B: Single Multi-Environment Server

Use a single server with an environment parameter on each query:

{

"mcpServers": { "d365": { "command": "node", "args": ["/path/to/d365fo-mcp-server/dist/index.js"], "env": { "D365_CONFIG_FILE": "/path/to/d365fo-mcp-server/d365-environments.json" } } } }

Then specify the environment in queries:

{ "entity": "CustomersV3", "top": 10, "environment": "uat" }

Pros:

  • Single server process
  • Flexibility to query any environment in one session

The interactive setup script (node setup.js) can generate either configuration for you.

Talking to Claude - Example Prompts

Once configured, you can ask Claude natural language questions about your D365 environment. Here are examples organized by capability:

Discov

Only the beginning is shown; read the rest in the repo