InfoQ Homepage News MCP Support in Visual Studio Reaches General Availability
MCP Support in Visual Studio Reaches General Availability
Oct 23, 2025 2 min read
by
Write for InfoQ
Feed your curiosity. Help 550k+ globalsenior developers
each month stay ahead.Get in touch
Microsoft announced in August 2025 that support for the Model Context Protocol (MCP) is generally available in Visual Studio. MCP enables AI agents within Visual Studio to connect to external tools and services via a consistent protocol. The announcement notes that Visual Studio now provides new means to configure and manage MCP servers.
MCP, introduced by Anthropic in 2024, is an open standard that simplifies interactions between AI‐enabled development workflows and external systems such as databases, code search engines and deployment pipelines. A Visual Studio user operating Copilot in Agent mode or Chat mode can connect to that endpoint by configuring a JSON file named .mcp.json, selecting the model and enabling the tools in the chat UI (for example, the GitHub Copilot agent). Visual Studio then allows the agent to query the connected services.
{
"servers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/"
}
}
}
An example of an .mcp.json file with the connection to GitHub Copilot MCP server
MCP servers can be added directly in Visual Studio via an install button exposed on the repository's Markdown files as a badge. Alternatively, developers can add them to the .mcp.json file in different locations in the solution tree.
The docs also indicate that administrators can govern MCP usage in enterprise settings via policy and access controls in GitHub Copilot settings. The authorisation of the MCP protocol in Visual Studio follows the MCP OAuth specification. Developers can select MCP server endpoints, manage tool access and use secure authentication flows via Azure AD or other provider sign‐in.
For developers working with Visual Studio and extensions such as GitHub Copilot, MCP GA means that they may now attach AI assistants to external tool chains and systems using a standard protocol rather than custom integrations. Visual Studio documentation provides guidance on configuration files, server endpoints, linking provider API keys and specifying models for Chat experiences. At the same time, the documentation notes limitations: for example, only tools can be exposed to a Copilot agent, even though the MCP protocol allows for exposing resources and prompts. Also, there are important security risks when connecting to third-party MCP servers, outlined on Microsoft’s blog.
Microsoft provides a GitHub repository of reference implementations of MCP servers, including those that manipulate Git repositories or retrieve information from different databases. The same repository contains links to dozens of third-party MCP servers. Another source of useful MCP servers is a GitHub repository maintained by Frank Fiegel.
The rollout of MCP support in Visual Studio may have implications for tooling standardisation and security governance (given remote endpoints and authentication flows). Developers should consult the detailed documentation for configuration, .mcp.json syntax, and how to register server providers.
This content is in the .NET topic
Related Topics:
-
Related Editorial
-
Related Sponsors
-
Popular across InfoQ
-
TanStack Start: A New Meta Framework Powered by React or SolidJS
-
Microsoft Patches Critical ASP.NET Core Vulnerability with 9.9 Severity Score
-
GitHub Expands Copilot Ecosystem with AgentHQ
-
Redis Critical Remote Code Execution Vulnerability Discovered after 13 Years
-
AWS Launches Capabilities by Region Tool
-
Architecture Should Model the World as It Really Is: A Conversation with Randy Shoup
-
Related Content
The InfoQ Newsletter
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example