ALM X++ MCP Server
平台与服务by alimbenhelal-pro
面向 Dynamics 365 F&O 开发者的云端 MCP 服务器,通过 HTTPS 提供 40 多个 AI 工具。
什么是 ALM X++ MCP Server?
面向 Dynamics 365 F&O 开发者的云端 MCP 服务器,通过 HTTPS 提供 40 多个 AI 工具。
README
almxppmcp
npx launcher for the ALM XPP MCP cloud server - a D365 Finance & Operations AI Agent with 34 tools.
Requirements
- Node.js >= 18
- An API token -- get one at the dashboard
Quick Start
npx almxppmcp --api-key YOUR_TOKEN
or set the environment variable:
export ALMXPPMCP_API_KEY=YOUR_TOKEN
npx almxppmcp
MCP Client Configuration
VS Code / GitHub Copilot -- .vscode/mcp.json
{
"servers": {
"almxppmcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "almxppmcp", "--api-key", "YOUR_TOKEN"]
}
}
}
Cursor -- .cursor/mcp.json
{
"mcpServers": {
"almxppmcp": {
"command": "npx",
"args": ["-y", "almxppmcp", "--api-key", "YOUR_TOKEN"]
}
}
}
Claude Desktop -- claude_desktop_config.json
{
"mcpServers": {
"almxppmcp": {
"command": "npx",
"args": ["-y", "almxppmcp", "--api-key", "YOUR_TOKEN"]
}
}
}
Tip: replace
YOUR_TOKENwith the token shown on your dashboard. Set it as an env var to avoid hard-coding it:json{ "mcpServers": { "almxppmcp": { "command": "npx", "args": ["-y", "almxppmcp"], "env": { "ALMXPPMCP_API_KEY": "YOUR_TOKEN" } } } }
Environment Variables
| Variable | Description |
|---|---|
ALMXPPMCP_API_KEY | Your API token (alternative to --api-key) |
ALMXPPMCP_SERVER_URL | Override the MCP endpoint (default: https://api.almxpp.com/mcp) |
Dedicated D365FO Data Environment
Use the bundled almxppmcp-d365fo-proxy when you want a second MCP server dedicated to the live D365FO environment data layer.
It now supports both modes:
- local direct mode: your machine gets the D365FO token with Azure CLI and calls the environment directly
- cloud bridge mode: the launcher calls your hosted ALM XPP endpoint, which acquires the D365FO token server-side
This is intentionally separate from almxppmcp:
almxppmcp: KB, custom code, relations, Azure DevOps, generationalmxppmcp-d365fo-proxy: live D365FO environment MCP endpoint over Azure CLI auth
What it does
- runs as a local stdio MCP server for Copilot, Cursor, or Claude
- fetches Azure AD bearer tokens with
az account get-access-token - forwards JSON-RPC messages to the D365FO remote MCP endpoint
- preserves
mcp-session-idacross requests - handles plain JSON and
text/event-streamresponses
Local direct mode
Required environment variables:
| Variable | Description |
|---|---|
D365FO_MCP_URL | Full remote MCP URL, for example https://your-env.sandbox.operations.dynamics.com/mcp |
D365FO_RESOURCE | D365FO resource URL, for example https://your-env.sandbox.operations.dynamics.com |
D365FO_TENANT_ID | Optional tenant override for Azure CLI token acquisition |
Example VS Code MCP configuration:
{
"servers": {
"almxppmcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "almxppmcp"],
"env": {
"ALMXPPMCP_API_KEY": "YOUR_TOKEN"
}
},
"d365fo-data": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "almxppmcp", "almxppmcp-d365fo-proxy"],
"env": {
"D365FO_MCP_URL": "https://YOUR-ENV.sandbox.operations.dynamics.com/mcp",
"D365FO_RESOURCE": "https://YOUR-ENV.sandbox.operations.dynamics.com"
}
}
}
}
Cloud bridge mode
Required environment variables:
| Variable | Description |
|---|---|
D365FO_PROXY_URL | Hosted ALM XPP proxy endpoint, for example https://www.almxpp.com/api/d365fo/mcp |
D365FO_PROXY_API_KEY | ALM XPP API token used to call the hosted proxy |
D365FO_MCP_URL | Optional but recommended per-user target environment URL |
D365FO_RESOURCE | Optional but recommended per-user resource URL |
In multi-user scenarios, keep the environment URL in each user's MCP config (not in ACA global variables). The launcher forwards these values to the cloud bridge per request.
Example VS Code MCP configuration:
{
"servers": {
"d365fo-data": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "almxppmcp", "almxppmcp-d365fo-proxy"],
"env": {
"D365FO_PROXY_URL": "https://www.almxpp.com/api/d365fo/mcp",
"D365FO_PROXY_API_KEY": "YOUR_ALMXPP_TOKEN",
"D365FO_MCP_URL": "https://YOUR-ENV.sandbox.operations.dynamics.com/mcp",
"D365FO_RESOURCE": "https://YOUR-ENV.sandbox.operations.dynamics.com"
}
}
}
}
D365FO prerequisites
- Install Azure CLI and run
az login - In D365FO, open
Allowed MCP clients - Add Azure CLI client id
04b07795-8ddb-461a-bbee-02f9e1bf7b46 - Mark it as allowed for the target environment
Note:
- this universal client id is configured in D365 only
- do not put this client id in MCP JSON
- MCP JSON only needs the proxy command and the relevant URL/env values
Recommended usage pattern
Use the two MCP servers together:
- ask
almxppmcpto identify the table, entity, relations, custom extensions, and related work items - ask
d365fo-datato inspect the real environment data, forms, or custom actions - cross the results in the chat to connect KB, custom code, work items, and live data
See npm/examples/vscode-mcp.d365fo-data.json, npm/examples/vscode-mcp.d365fo-data.cloud.json, and docs/D365FO_DATA_ENVIRONMENT_SETUP.md for ready-to-use setups.
What tools are available?
The server exposes 34 tools across 6 categories:
| Category | Tools |
|---|---|
| Discovery | search_d365_code, get_object_details, list_objects, get_relation_graph, find_related_objects |
| References & Impact | find_references, find_extensions, find_callers |
| Code Generation | generate_xpp_template, generate_query, generate_d365_solution, generate_unit_test |
| Quality & Validation | validate_best_practices, detect_performance_issues, validate_aot_pattern, explain_code_complexity, suggest_refactoring |
| Security & Licensing | trace_security_chain, trace_role_license_tree, generate_security_governance_report |
| Azure DevOps | ado_query_workitems, ado_create_task, ado_list_prs, ado_analyze_pr_impact, ado_post_comment, ado_post_pr_comment, ado_changelog_from_prs, ado_analyze_workitem, ado_estimate_effort, ado_auto_test_scenario, ado_gap_fit_analysis, ado_knowledge_gap_detector, ado_sprint_capacity |
See the dashboard for the full tool list.
License
MIT
常见问题
ALM X++ MCP Server 是什么?
面向 Dynamics 365 F&O 开发者的云端 MCP 服务器,通过 HTTPS 提供 40 多个 AI 工具。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP服务构建器
by alirezarezvani
从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。
✎ 帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。