Search for fo-semantic-mcp on MCP Registry
fo-semantic-mcp
Artifact MCP Server for D365 F&O
True AI pair programming for Microsoft Dynamics 365 F&O
What is fo-semantic-mcp?
fo-semantic-mcp (Artifact MCP Server) connects your AI coding assistant (Claude Desktop, Cursor IDE, or VS Code) directly to the comprehensive xplusplus.ai artifact index — 50,000+ Finance and Operations artifacts with AI-powered semantic search.
Built on the Model Context Protocol (MCP), it enables your AI to automatically access out-of-box F&O code when you're developing X++ extensions or customizations. Your AI IDE (like Cursor) will intelligently retrieve original objects, learn from existing implementations, and understand how to properly extend F&O functionality — all without you having to manually search for examples.
This creates true AI pair programming: as you code, your AI assistant automatically references the right artifacts, suggesting best practices and patterns based on actual F&O source code.
⚠️ Important: This is a developer tool for accessing F&O source code, metadata, and artifacts (classes, tables, forms, etc.). It is not designed for accessing F&O business data or database records. Use this MCP server to understand code structure, learn implementation patterns, and develop extensions — not to query customer orders, inventory data, or other business information.
⚡ Quick Start (1 minute - No Installation!)
- Get your API key from xplusplus.ai
- Add the configuration to your IDE (see below)
- Restart your IDE - npx automatically downloads and runs the server!
- Start coding with AI assistance!
✓ No npm install needed - npx handles everything automatically!
Key Features
🔍 Semantic Search
Search 50,000+ F&O artifacts using natural language queries. Find exactly what you need, when you need it.
🤖 AI-Powered Discovery
Let AI understand your intent and discover relevant implementation patterns across the entire F&O codebase.
📄 Local File Analysis
Read and analyze XML source files from your local F&O installation for deeper context.
⚡ Real-Time Integration
Works seamlessly with Cursor IDE, VS Code, and Claude Desktop for instant access to artifacts.
Getting Started
Requirements
- Node.js 18 or higher (includes npx - no separate install needed)
- API key from xplusplus.ai (sign up here)
- Optional: Local D365 F&O installation path for XML file reading
-
Get Your API Key
Sign in to xplusplus.ai and generate your API key from the dashboard.
-
Add Configuration to Your IDE
Add the MCP server configuration - npx will automatically download and run it:
Published on the official MCP registry.
-
Configure Your IDE
Add the MCP server to your IDE configuration file:
Cursor IDE:
Edit
~/.cursor/mcp.json{ "mcpServers": { "fo-semantic-mcp": { "command": "npx", "args": ["-y", "fo-semantic-mcp"], "env": { "FOINDEX_API_KEY": "your_api_key_here", "FO_LOCAL_ASSETS_PATH": "C:\\Users\\YourName\\AppData\\Local\\Microsoft\\Dynamics365\\10.0.xxxx\\PackagesLocalDirectory" } } } }Tip: Add
FO_LOCAL_ASSETS_PATHto enable reading actual F&O XML source filesNo installation needed! npx automatically downloads and runs the latest version.
Other AI Tools Setup Guides
-
Restart Your IDE
Restart Cursor IDE or Claude Desktop. npx will automatically download the MCP server on first run (takes a few seconds), then it's cached for instant startup.
-
Start Coding with AI
Your AI assistant can now automatically access F&O artifacts, find patterns, and suggest implementations using natural language.
Configuration Options
| Variable | Description | Required | Default |
|---|---|---|---|
FOINDEX_API_KEY |
Your API key from xplusplus.ai | ✅ Yes | - |
FO_LOCAL_ASSETS_PATH |
Path to F&O PackagesLocalDirectory (enables XML file reading) | 📁 Recommended | - |
FO_SEARCH_DEFAULT_THRESHOLD |
Relevance filter threshold (0-1) | No | 0.5 |
FO_SEARCH_TIMEOUT_MS |
Request timeout in milliseconds | No | 10000 |
FO_SEARCH_DEFAULT_LIMIT |
Default number of search results | No | 10 |
FO_SEARCH_MAX_LIMIT |
Maximum number of search results | No | 50 |
💡 Finding Your PackagesLocalDirectory
Windows:
PowerShell command to find it:
How It Works in Practice
🎯 Automatic AI Pair Programming (Most Important)
When you're writing X++ code for extensions or customizations, your AI IDE automatically calls the MCP server to retrieve out-of-box F&O objects. You don't need to manually search — your AI assistant proactively:
- Fetches the original class/table/form you're extending
- Analyzes existing patterns and methods
- Suggests proper extension approaches based on actual F&O code
- References related artifacts and dependencies automatically
Example: When extending SalesTable, Cursor IDE automatically retrieves the SalesTable class definition, studies its methods, and suggests how to properly implement your extension.
📝 Manual Queries
You can also explicitly ask your AI assistant questions like:
"Show sales order validation patterns"
"How do I implement inventory transactions?"
"Read the SalesTable form XML"
The MCP server translates these queries into precise artifact searches and delivers the results directly to your AI coding assistant.
🎥 See It In Action
Watch a real-life demo of AI-assisted D365 F&O development with step-by-step screenshots
View Live DemoFrequently Asked Questions
Do I need to install anything?
No! Just add the configuration to your IDE and restart. npx automatically downloads and runs the latest version. No npm install commands needed.
What is npx?
npx comes with Node.js and automatically downloads/runs npm packages. When you add the configuration, npx handles everything - download, caching, and execution.
Is this the official version?
Yes, fo-semantic-mcp is published on the official MCP registry and npm.
Does it work across all my D365 F&O projects?
Yes! Once configured in your IDE, it works for all your projects automatically. npx caches the package for fast subsequent runs.
How do I update to the latest version?
npx automatically uses the latest version. To force a fresh download, clear the npx cache: npm cache clean --force
What if I can't use npx?
For advanced users in restricted environments, you can install globally with npm install -g fo-semantic-mcp, or download ZIP archives from our GitHub Releases page. However, we recommend npx for the best experience.
Ready to Supercharge Your F&O Development?
Get instant access to 50,000+ F&O artifacts with AI-powered semantic search
⚡ No installation needed - just add configuration and restart your IDE