Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Query and manage Microsoft Dynamics 365 Finance & Operations via MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
D365_TENANT_ID, D365_CLIENT_ID, D365_CLIENT_SECRET, D365_ENVIRONMENT_URLค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด 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/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 เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .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 บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 10 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub zhound420 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 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
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 97 tools with statutory citations.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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= | 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:
After setup, restart Claude Desktop (Cmd+Q then reopen on macOS, or Ctrl+Q on Windows) or start a new Claude Code session.
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.
The server also supports the following environment variables (fallback if no JSON config):
| Variable | Description |
|---|---|
D365_TENANT_ID | Azure AD tenant ID |
D365_CLIENT_ID | Azure AD application (client) ID |
D365_CLIENT_SECRET | Azure AD client secret |
D365_ENVIRONMENT_URL | D365 F&O environment URL (e.g., https://contoso.operations.dynamics.com) |
D365_ENVIRONMENT_TYPE | Optional: "production" or "non-production" (defaults to "production" for safety) |
Optional:
| Variable | Default | Description |
|---|---|---|
D365_TRANSPORT | stdio | Transport mode (stdio or http) |
D365_HTTP_PORT | 3000 | HTTP port (when using http transport) |
D365_LOG_LEVEL | info | Logging level |
D365_PAGINATION_TIMEOUT_MS | 60000 | Timeout (ms) for paginated requests on large datasets |
D365_CONFIG_FILE | Path to config file if not in default location |
CustomService.ReadWrite.AllImportant: This step must be done in each D365 environment (Production, UAT, Dev) you want to connect to.
| Field | Value |
|---|---|
| Client ID | The Application (client) ID from Azure AD |
| Name | Descriptive name (e.g., "MCP Server Integration") |
| User ID | A D365 user account for the app to run as |
Note: If you skip this step, API calls will fail with 401 Unauthorized or 403 Forbidden errors even though Azure AD authentication succeeded.
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" } } } }
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.
When using multiple D365 environments, you can configure how they appear in Claude:
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:
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.
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:
The interactive setup script (node setup.js) can generate either configuration for you.
Once configured, you can ask Claude natural language questions about your D365 environment. Here are examples organized by capability:
ตัดมาแค่ช่วงต้น อ่านต่อใน repo