Imagine asking an AI assistant which customers have overdue invoices, which sales orders need attention, or which items are running low on stock, and receiving an answer based on your company’s business data. Connecting AI tools to Microsoft Dynamics 365 Business Central can make this possible.
The Business Central MCP Server lets you connect your favorite AI tools. These tools include Claude, ChatGPT, and GitHub Copilot. They are all connected directly to your business data. You can even ask your AI for what you are looking for, rather than having to look for the reports.
But it’s not just plug-on and play, either. There are a few settings that you’ll need to configure, such as Microsoft Entra ID and certain app permissions.
Don’t worry; we’ve got you covered. In this guide, we’ll show how to connect ChatGPT to Business Central. It also includes what prerequisites you need and how to avoid common setup roadblocks.
Quick Answer
Yes, compatible AI tools can connect to Microsoft Dynamics 365 Business Central online through its MCP Server. You generally need to:
Connect ChatGPT to Business Central MCP server guide.
- Identify your AI tool’s redirect URI.
- Register an application in Microsoft Entra ID or use an existing eligible application.
- Configure the required Business Central permissions and obtain administrator consent.
- You simply enter your MCP server information into the AI app, and log in with your Microsoft account to complete the configuration.
Official server endpoint: Dynamics 365 Business Central
Key Takeaways
- MCP gives standardized connectivity between AI applications and Business Central.
- ChatGPT, Claude, and GitHub Copilot CLI require compatible client configurations.
- Microsoft Entra ID manages authentication and application permissions.
- The default Business Central MCP configuration provides read-only access to eligible APIs and queries.
- Administrators can control which additional operations are available.
What Is the Business Central MCP Server?
Ever wish your AI could just talk directly to your ERP system? That’s exactly what the Model Context Protocol (MCP) does. The Business Central MCP Server acts as the bridge, letting you ask your AI assistant for information directly instead of hunting it down manually.
Here is how the magic happens in three simple steps:
- The AI figures out exactly what you’re asking for.
- The MCP Server acts as a secure messenger, passing your request along.
- Business Central grabs the information and hands it right back to you.
This setup is built specifically for Business Central online. And you can rest easy about security. Your AI doesn’t get a free pass to your entire database. It is strictly limits the APIs you set up and the access rights of the person signed in.
Which AI Tools Can Connect to Business Central?
You can hook the MCP server up to most major AI assistants, including ChatGPT, Claude, and GitHub Copilot.
Connect GitHub Copilot to Business Central
| AI Tool | Connection Approach |
|---|---|
| ChatGPT | Configure your connection using the client’s supported settings. |
| Claude and Claude Code | Register the app and connect it to the MCP server. |
| GitHub Copilot CLI | Configure the server connection and sign in. |
| Visual Studio Code with GitHub Copilot | Follow Microsoft’s dedicated VS Code guide. |
Heads up: Get two different experiences from GitHub Copilot in the command line (CLI) and Copilot in VS Code. This guide covers the CLI setup.
Why Do These AI Tools Need Extra Setup?
It all comes down to keeping your business data safe. Because Business Central holds sensitive information, Microsoft Entra ID acts as a strict gatekeeper. It requires every AI tool to be officially registered and granted specific permissions before it can connect.
Sometimes, an AI tool can automatically sign itself in at the front desk. But when it can’t, you have to add it to the guest list manually. This manual setup isn’t just busywork. It puts you in control and makes it easy for your IT admins to see what apps are attempting to connect. It assists them to consent to their access and also preserve complete safety of your business information.
Before You Start: What Do You Need?
Setting this up is a lot easier if you have everything handy before you begin. Here is your quick prep checklist:
- Your Business Central environment: Decide if you are connecting to your live “Production” data or just a “Sandbox” for testing.
- The right access: You will need an account with at least the “Application Developer” role in Microsoft Entra to set up the registration.
- An IT Admin on standby: A tenant administrator will need to officially approve the permissions, so give them a heads-up!
- Your exact company details: Write down the exact names of your Business Central environment and the specific company you want to connect to.
- Your Tenant ID: Keep your Microsoft Entra Tenant ID copied to your clipboard. Your AI tool might ask for it.
- Your AI tool’s manual: Double-check your specific AI tool’s documentation for its required “redirect URI”. See exactly how it wants the connection settings formatted.
Consult Microsoft’s official non-Microsoft host setup guide for complete requirements.
How to Connect Your AI Tool to Business Central: Step by Step
Step 1: Find the AI Tool’s Redirect URI
A redirect URI is the address where Microsoft returns the user after authentication. It must match the address registered for the client.
For example, Microsoft’s guide gives these examples:
- Claude Code: http://localhost:33418/callback
- GitHub Copilot CLI: http://localhost:33418
Quick Tip: Do not reproduce these examples manually without understanding them. It will be your own port number and you should always make sure that you are checking your AI-based documentation for the exact port number you need.
Step 2: Register an Application in Microsoft Entra ID
Next, we need to officially introduce your AI tool to Microsoft Entra ID.
- In the Microsoft Entra admin center, create a New app registration.
- Give it an obvious name (e.g. “Business Central AI”).
- Complete the registration and copy your Application (client) ID: you’ll need this later to plug into your AI tool.
- Go to Authentication, paste in your Redirect URI, and save.
Step 3: Configure Business Central Permissions
Go to your app’s API permissions and add Financials.ReadWrite.All. Ask your IT Admin to grant official consent.
Is it safe? Yes. Even with “ReadWrite.All” enabled, the AI can only do what the human user logged into it is allowed to do. Additionally, the server configuration acts as a second bouncer. It also limits exactly which tools the AI is allowed to touch.
Step 4: Configure the AI Client and Sign In
Add the Business Central MCP server to your AI client’s supported MCP settings. The connection generally needs:
- The MCP server endpoint.
- The registered application’s client ID, where required.
- The correct authentication and redirect settings.
- The relevant tenant, environment, company, and optional configuration details.
Save the configuration and follow the client’s authentication flow. After Microsoft sign-in completes, verify the connection is active, and the expected Business Central tools are available.
Not all configuration fields are the same for ChatGPT, Claude, and GitHub Copilot CLI. Follow all instructions for the client you are connecting to:
Cheat Sheet: The Settings Your AI Tool Needs
These settings identify the Business Central environment and company the client should use.
| Setting | Purpose | Example |
|---|---|---|
| TenantId | Identifies the Microsoft Entra tenant. | Your tenant GUID |
| EnvironmentName | Identifies the Business Central environment. | Production |
| Company | Identifies the company within that environment. | CRONUS USA, Inc. |
| ConfigurationName | Optionally selects a named MCP configuration. | SalesTeamConfig |
Ensure your tenant ID and company name are exactly the same. (Note: Always review your AI’s manual, some may not need all of the optional headers!).
Be careful with special characters: Do you have an unusual character meaning such as æ, ø or å in your company name? If it does, then the system will require you to make use of Base64 encoding (formatting the title exactly as above =?base64?<encoded-value>?).
Example: Claude Code
Claude Code uses a JSON configuration to define the MCP server and its connection settings. A simplified example based on the supplied guide is shown below to connect Claude to Business Central.
{
“mcpServers”: {
“businesscentral”: {
“type”: “http”,
“url”: “https://mcp.businesscentral.dynamics.com”,
“headers”: {
“TenantId”: “<your-tenant-id>”,
“EnvironmentName”: “Production”,
“Company”: “<your-company-name>”
},
“oauth”: {
“clientId”: “<your-client-id>”,
“callbackPort”: 33418
Fill in the blanks with your values. CallBack Port must be equal to Redirect URI registered with Microsoft Entra ID. Use the configuration location and authentication options supported by your installed Claude Code version.
Example: GitHub Copilot CLI
Unlike other editors, GitHub Copilot CLI relies on the different syntax of configuration. The following example follows the format in the supplied guide.
Connect GitHub Copilot to Business Central: Configuration Example
{
“mcpServers”: {
“businesscentral”: {
“type”: “http”,
“url”: “https://mcp.businesscentral.dynamics.com”,
“headers”: {
“TenantId”: “<your-tenant-id>”,
“EnvironmentName”: “Production”,
“Company”: “<your-company-name>”
},
“tools”: [“*”],
“oauthClientId”: “<your-client-id>”,
“oauthRedirectPort”: “33418”,
“oauthPublicClient”: true
}
}
}
The configuration specifies the server, provides specification of environment information and spells out the OAuth client parameters. The wildcard tool entry lists all the tools exposed by the client, it is not a substitute for the permissions set by Business Central.
Check the setting to see if it matches the latest setting from Microsoft for GitHub Copilot CLI prior to deployment.
What about ChatGPT? The same Business Central endpoint, but the environment information and the MCP connection instructions are as outlined by ChatGPT. The settings above are not an out-of-the-box ChatGPT configuration.
For the connect ChatGPT to Business Central MCP server guide, follow ChatGPT’s current setup instructions for the exact connection procedure.
Common Mistakes and How to Avoid Them
| Problem | Likely Cause | What to Check |
|---|---|---|
| Sign-in fails | Redirect URI or callback port mismatch | Match the registered URI and client settings. |
| Permission errors | Required administrator consent is missing | Review API permissions and consent status. |
| Login does not return to the client | Redirect URI is missing or incorrect | Check the app registration’s Authentication settings. |
| Company cannot be found | Incorrect company name or encoding | Verify the exact name and any required Base64 encoding. |
| Wrong business data appears | Incorrect environment or company details | Check the connection headers. |
| Expected tools are unavailable | The MCP configuration does not expose them | Review the server configuration and permitted operations. |
If the connection still fails, check the client documentation and Business Central configuration before recreating the application registration.
Is It Safe to Connect AI Tools to Business Central?
A properly configured connection can use Microsoft’s authentication and permission controls, but security depends on how the app integration is configured and managed.
Businesses should:
- Register and approve applications via appropriate administrative process.
- Grant least permissions as required for usage scenario.
- Discuss which API objects and operations are each MCP configuration exposed.
- Test in Sandbox before using with production data.
- Check out generated responses and approve answers to consequential changes, as necessary.
EDM’s default MCP configuration grants read-only access to the API pages and queries that are allowed. Additional operations such as Add and Delete record and modify record can be explicitly configured by the administrator.
For this reason, avoid describing every MCP connection as read-only or assuming that authentication alone makes every operation safe.
What Can You Do Once AI Is Connected to Business Central?
When the connection is in use, the users can ask questions in a natural language and the AI will use the tools available in Business Central to get the information that is required.
Examples include:
- Finance: Confirm outstanding customer balances, unpaid invoices.
- Sales: Display sales orders that are open to be sold within a certain amount of time.
- Buying: Buying items when they are below reorder point.
- Management: Give a summary of sales for a particular time frame.
- Development: Data Inspection, and data comprehension when building extensions.
Each example relies on available APIs, permissions and tools from the connection. Review AI-generated summaries with the origin data when dealing with financial transactions or business data updates.
Glossary: Key Terms in Plain English
| Term | Meaning |
|---|---|
| MCP | A standard for connecting AI applications to external tools and systems. |
| MCP server | A service that exposes supported capabilities to an AI client. |
| MCP host | The AI application connecting to the server. |
| Microsoft Entra ID | Microsoft’s identity and access management service. |
| App registration | An application identity registered in Microsoft Entra ID. |
| Client ID | The identifier assigned to the registered application. |
| Redirect URI | The destination used to return the user after authentication. |
| Delegated permission | Permission for an application to act on behalf of a signed-in user. |
| Admin consent | An administrator’s approval of requested permissions. |
| Tenant ID | The identifier of the Microsoft Entra tenant. |
| JSON configuration | Structured text containing the settings an application uses to establish a connection. |
Need Help Connecting AI to Business Central?
Talking to your ERP with your AI can not be all sunshine, there. There are many things that need to be correct between authentication, permission, and client installations.
Let’s make it easy with DynaSUM. Helping businesses assess their existing configuration, properly configure their integration, converting the AI experience from a concept into a business solution.
Your systems are prepared to converse with each other? Please contact DynaSUM today about your requirements.
Frequently Asked Questions
1. What is the Business Central MCP Server?
It is Microsoft’s MCP endpoint for compatible AI clients to interact with supported capabilities in Business Central online. The endpoint is https://mcp.businesscentral.dynamics.com.
2. Can I connect ChatGPT to Business Central?
Yes, using a compatible MCP connection and the required authentication and configuration. Follow ChatGPT’s current setup instructions for the exact connection procedure.
3. Can I connect Claude to Business Central?
Yes. Claude clients that support the required MCP connection can use the Business Central server, subject to the necessary application registration, authentication, and permissions.









