web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

[OnPrem] Can you connect Visual Studio Code to and work with the Business Central MCP Server?

(8) ShareShare
ReportReport
Posted on by 90
Hi,I got a local BC Container running and am trying to integrate the copilot agents via VSC. Is it possible and how? I am mostly lost when it comes to the environment configuration in the MCP settings ( URL / Authentication ) .
 
Cheers
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    14,539 Super User 2026 Season 1 on at
    Hello,
     
    you can’t fully run or test Business Central Copilot agents against a local Docker container because Copilot relies on cloud services, Entra ID, and Microsoft-managed endpoints, so real agent development is only supported against BC online (sandbox). Locally, you can only integrate like a normal client: point your tooling/MCP config to the BC API endpoint of the container and authenticate with Basic auth (user + password or web service access key), e.g. http://localhost:7048/BC/api/v2.0/; this works for calling APIs, not for Copilot runtime. If your goal is actual Copilot/agent development, the correct setup is VS Code → publish to a BC online sandbox → OAuth (Entra app) auth against api.businesscentral.dynamics.com.
  • Verified answer
    YUN ZHU Profile Picture
    99,974 Super User 2026 Season 1 on at
    Hi, If you are referring to the standard Business Central MCP server, it currently only supports SaaS and cannot be used on-premises.
    Business Central 2025 wave 2 (BC27.1): Connect AI agents to Business Central through MCP server (Dynamics 365 Business Central MCP)
     
    Thanks.
    ZHU
  • CC-05111201-0 Profile Picture
    90 on at
    rHi, If you are referring to the standard Business Central MCP server, it currently only supports SaaS and cannot be used on-premises.
    Business Central 2025 wave 2 (BC27.1): Connect AI agents to Business Central through MCP server (Dynamics 365 Business Central MCP)
     
    Thanks.
    ZHU
     
     
    Hi, thanks for the answer. That's unfortunate, are there plans for OnPrem solutions?  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,024 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 705 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans