
ccampora/mcp_xpp 是一个从 https://github.com/ccampora/mcp_xpp. 导入的 MCP 服务器候选。
概览
ccampora/mcp_xpp 是一个从 https://github.com/ccampora/mcp_xpp. 导入的 MCP 服务器候选。
概述(AI 翻译)
一款用于 Microsoft Dynamics 365 财务与运营开发的模型上下文协议(MCP)服务器。该工具支持通过 MCP 标准创建、修改和分析 D365 对象,支持与多种开发环境的集成。
日期: 2025年9月18日 状态: 通过VS2022服务集成和增强表单创建功能正常运行
最新更新 ✨
2025年9月19日 - 安全对象删除功能:
- 🗑️ 全新delete_xpp_object工具:安全删除D365对象,支持依赖验证和级联支持。
- 🛡️ 依赖保护:防止其他对象依赖目标时被删除,避免破坏变更
- 🔄 缓存一致性:成功删除后自动更新搜索索引
- ⚡ 高性能:与ISingleKeyedMetadataProvider.Delete的元数据提供者直接集成。
- 🌲 级联删除:可选删除子对象(形式部件、表关系等)
- ✅ 全面测试:跨对象类型的完整创建/删除周期验证
2025年9月18日 - 数组修改与表单创建增强:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MCP X++ Server
A Model Context Protocol (MCP) server for Microsoft Dynamics 365 Finance & Operations development. This tool enables D365 object creation, modification, and analysis through the MCP standard, allowing integration with various development environments.
Date: September 18, 2025
Status: Functional with VS2022 service integration and enhanced form creation
Recent Updates ✨
September 19, 2025 - Safe Object Deletion Feature:
- 🗑️ NEW delete_xpp_object Tool: Safe D365 object deletion with dependency validation and cascade support
- 🛡️ Dependency Protection: Prevents deletion if other objects depend on target, avoiding breaking changes
- 🔄 Cache Consistency: Automatic search index updates after successful deletions
- ⚡ High Performance: Direct metadata provider integration with ISingleKeyedMetadataProvider.Delete
- 🌲 Cascade Deletion: Optional deletion of child objects (form parts, table relations, etc.)
- ✅ Comprehensive Testing: Full create/delete cycle validation across object types
September 18, 2025 - Array Modifications & Form Creation Enhancements:
- 🚀 NEW Array-Only Modifications:
execute_object_modificationnow exclusively uses batch format for consistent operations - 🔄 Enforced Bulk Processing: Single operations use array with one element - no more consecutive separate calls
- 📊 Enhanced Response Tracking: Per-operation success/failure reporting with detailed timing and error messages
- 📋 Best Practice Documentation: Clear guidance to group all modifications for same object into single call
- 🎯 NEW create_form Tool: Specialized form creation with pattern support and datasource integration
- 🔧 DetailsMaster Pattern Fixed: Resolved validation issues through intelligent field control creation
- 🗄️ Enhanced DataSource Support: Flexible datasource handling (arrays, strings, comma-separated)
- 📋 Pattern Discovery: 36 filtered form patterns with descriptions and requirements
- ✅ Pattern Validation: Automatic field control creation for patterns requiring them
Overview
This MCP server provides D365 F&O development capabilities including:
- Object Creation: Support for D365 classes, tables, forms, enums, and 544+ other object types
- Form Creation: ✨ Enhanced - Specialized form creation with pattern validation and datasource integration
- Object Deletion: ✨ NEW - Safe object deletion with dependency validation and cascade support
- Object Modification: Add methods, fields, and other components to existing objects
- Object Inspection: Analyze D365 objects and extract X++ source code
- Codebase Search: Browse and search through D365 codebases with pattern matching
- MCP Protocol: Compatible with Claude Desktop, VS Code, and other MCP clients
Architecture
The system consists of two main components communicating through Windows Named Pipes:
MCP X++ Server (Node.js/TypeScript)
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"mcp-xpp-server": {
"command": "node",
"args": ["path/to/mcp_xpp/build/index.js"]
}
}
}