Dynamics 365 MCP Server
Overview
List of Tools
[object Object] | [object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] | [object Object] |
Prerequisites
- **Node.js** (v16 or higher)
- **NPM** (Node Package Manager)
- A Dynamics 365 instance with API access
- Azure Active Directory (AAD) application configured for Dynamics 365 API access
Configuration Steps
1. Clone the Repository
2. Install Dependencies
3. Configure Environment Variables
4. Compile TypeScript Files
4. Run MCP Server
5. (Optional) Register your MCP Server with Claude Desktop
- Install [Claude Desktop](https://claude.ai/download)
- Navigate to Settings > Developer > Edit Config
- Edit claude_desktop_config.json
- Restart Claude Desktop
- Now you should be able to see the server tools in the prompt window 
- Let's test a prompt by invoking tool - get-user-info 
6. (Optional) Test tools using MCP Interceptor
- Run following command in terminal
- Go to http://localhost:5173 
- Now you can connect to server and terst all the tools!!
Debugging
If you encounter issues, ensure the following:
- The .env file is properly configured.
- The Azure AD application has the necessary permissions for Dynamics 365 APIs.
- The Dynamics 365 instance is accessible from - your environment.
- You can also add debug logs in the code to trace issues. For example:
Contributing
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and submit a pull request.
- We appreciate your contributions!