ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

D365fo Connector

โดย zhound420รุ่น 2.0.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.zhound420/d365fo-connector

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Query and manage Microsoft Dynamics 365 Finance & Operations via MCP

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: บัญชี การเงิน และภาษี
  • ต้องใส่ค่าเหล่านี้: D365_TENANT_ID, D365_CLIENT_ID, D365_CLIENT_SECRET, D365_ENVIRONMENT_URL

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "d365fo-connector": {
      "command": "npx",
      "args": [
        "-y",
        "@zhound/d365fo-mcp-server"
      ],
      "env": {
        "D365_TENANT_ID": "ใส่ค่าของคุณ",
        "D365_CLIENT_ID": "ใส่ค่าของคุณ",
        "D365_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "D365_ENVIRONMENT_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add d365fo-connector --env D365_TENANT_ID='ใส่ค่าของคุณ' --env D365_CLIENT_ID='ใส่ค่าของคุณ' --env D365_CLIENT_SECRET='ใส่ค่าของคุณ' --env D365_ENVIRONMENT_URL='ใส่ค่าของคุณ' -- npx -y @zhound/d365fo-mcp-server

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "d365fo-connector": {
      "command": "npx",
      "args": [
        "-y",
        "@zhound/d365fo-mcp-server"
      ],
      "env": {
        "D365_TENANT_ID": "ใส่ค่าของคุณ",
        "D365_CLIENT_ID": "ใส่ค่าของคุณ",
        "D365_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "D365_ENVIRONMENT_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "d365fo-connector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zhound/d365fo-mcp-server"
      ],
      "env": {
        "D365_TENANT_ID": "ใส่ค่าของคุณ",
        "D365_CLIENT_ID": "ใส่ค่าของคุณ",
        "D365_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "D365_ENVIRONMENT_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • D365_TENANT_ID จำเป็น env
    Azure AD tenant ID
  • D365_CLIENT_ID จำเป็น env
    App registration client ID
  • D365_CLIENT_SECRET ความลับ จำเป็น env
    App registration client secret
  • D365_ENVIRONMENT_URL จำเป็น env
    D365 F&O environment URL, e.g. https://contoso.operations.dynamics.com

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 10 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub zhound420 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด บัญชี การเงิน และภาษีi

  • ดาวมากกว่า 0% ของอีก 3073 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 2% ของอีก 3073 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 3073 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

D365fo Connector ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: D365_TENANT_ID, D365_CLIENT_ID, D365_CLIENT_SECRET, D365_ENVIRONMENT_URL

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.0.1) เข้า registry 8 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Finance Toolkit

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

โดย JerBoumaใช้กันมาก↓ 15.5K/สัปดาห์★ 5.5Kอัปเดต เมื่อวาน

บนเครื่องหรือคลาวด์

SolidInvoice

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

โดย SolidInvoiceกำลังโต★ 981อัปเดต เมื่อวาน

รันบนคลาวด์✓ solidinvoice.co

Korea Tax Calculator

Korean tax calculation and tax-audit judgment MCP: 97 tools with statutory citations.

โดย UpstageAIกำลังโต↓ 3.2K/สัปดาห์★ 97อัปเดต วันนี้

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx