Skip to content
VS Code

D365FO MCP Server for VS Code

io.github.mafzaal/d365fo-client

A community-driven Microsoft Dynamics 365 Finance & Operations MCP server

client:VS Code transport:stdio runtime:pypi

Install D365FO MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "d365fo-client-id",
      "description": "D365FO_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d365fo-client-secret",
      "description": "D365FO_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d365fo-tenant-id",
      "description": "D365FO_TENANT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d365fo-base-url",
      "description": "D365FO_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "d365fo-client": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "d365fo-client"
      ],
      "env": {
        "D365FO_CLIENT_ID": "${input:d365fo-client-id}",
        "D365FO_CLIENT_SECRET": "${input:d365fo-client-secret}",
        "D365FO_TENANT_ID": "${input:d365fo-tenant-id}",
        "D365FO_BASE_URL": "${input:d365fo-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

D365FO MCP Server in other clients