A server can show “connected” in VS Code while GitHub Copilot Chat makes no MCP calls: connection, tool selection, and Agent-mode use are separate checks. This github copilot mcp server vscode guide gives you the configuration path and a quick way to verify real tool use, not just a healthy status label.
To add an MCP server, configure it in the format VS Code expects for your Copilot setup, then authorize it and open Copilot Chat in Agent mode. Enable the server’s tools with Select Tools, ask for an operation that requires one, and inspect the tool call and result in chat. A connected status alone is not proof Copilot used a tool.
We’ll distinguish project and user configuration, remote HTTP endpoints and local processes, then troubleshoot servers that disappear from Agent mode. The same checks help with OAuth or token authentication without placing secrets in a committed project file.
What an MCP server adds to GitHub Copilot in VS Code
An MCP server gives GitHub Copilot Chat a way to access tools or data beyond the code and files already in your Visual Studio Code workspace. Through the Model Context Protocol (MCP), a server can expose actions or information from an external service; what Copilot can do depends on the tools that server provides. For example, Volanea’s MCP server exposes tools for working with email resources and workflows, but that is one optional application—not a requirement for using MCP in VS Code.
Connecting a server and asking Copilot to use it are separate steps. VS Code must first recognize the server and discover its tools; then, in Agent mode, Copilot can select an available tool when a request calls for it. A server showing as connected does not by itself mean every tool is enabled or that Copilot will invoke one for every prompt. To make the distinction concrete, ask a question that needs information from the connected service, then review any proposed tool call and its result in chat. MCP tools are supported in Agent mode, as described in the VS Code 1.99 release notes.
Before you start
Before connecting a GitHub Copilot MCP server in VS Code, have three things ready: a current Visual Studio Code installation with GitHub Copilot Chat, the connection details for the MCP server, and any credentials its publisher requires. VS Code’s MCP configuration reference does not state a minimum VS Code version, so use a current release rather than relying on an older setup.
MCP support is available in Copilot Chat’s Agent mode. VS Code says Copilot connectors are available on all GitHub Copilot plans, but that statement applies to connectors; the official documentation does not publish a separate minimum plan or account requirement for manually configured MCP servers. For Business and Enterprise plans, an administrator must enable the Editor preview features policy, and organization MCP access restrictions may also apply.
Ask the server publisher which connection method and authentication it supports before configuring it. You may need a remote server URL or local launch command, plus browser-based authorization, an API key, or a fixed token. Keep the credential accessible to the environment that will connect to the server; don’t assume another editor or client’s saved sign-in will carry over to VS Code. The next step is to use the server’s documented connection details in VS Code’s MCP configuration.
Add the MCP server in VS Code
For an existing editor-managed configuration, put project-specific settings in .vscode/mcp.json at the workspace root—the folder you opened in VS Code. Use the servers object for this format. The current VS Code reference says new Copilot configurations should instead use workspace-root .mcp.json with a top-level mcpServers object, so choose the file and schema that match your configuration type; don’t mix them.
Illustrative editor-managed HTTP entry for .vscode/mcp.json:
{
"servers": {
"example": {
"type": "http",
"url": "https://mcp.example.com/mcp"
}
}
}
Replace example with a server name and the sample URL with the endpoint published by your MCP provider. For a new native Copilot configuration, use .mcp.json and mcpServers instead; its HTTP entry uses type: "http" and url too. To add a server through VS Code, run MCP: Add Server, or open Chat: Open Customizations → MCP Servers → Add Server, then select the Copilot harness and configuration destination. The VS Code MCP configuration reference documents both formats and their fields.
Connect to a remote or local MCP server
The main configuration difference is whether VS Code connects to a URL or starts a process. For a remote server, use the publisher’s endpoint and the native Copilot configuration’s http or sse type. For example:
{
"mcpServers": {
"example-remote": {
"type": "http",
"url": "https://mcp.example.com/mcp"
}
}
}
Replace the example URL with the server’s documented endpoint. Use http for Streamable HTTP; choose sse only when the server documents a legacy SSE endpoint. VS Code recommends HTTP when supported.
A local server is a process VS Code launches on your machine. Set type to stdio, then supply the server’s documented command and any required args:
{
"mcpServers": {
"example-local": {
"type": "stdio",
"command": "node",
"args": ["/path/to/server.js"]
}
}
}
Replace the command and path with the server’s actual launch instructions, and make sure its runtime is installed where it will run. Don’t convert a local server’s launch command into a URL, or assume a remote server can be started as a local process; follow the publisher’s documented connection method.
Authorize the server and enable it for Copilot
Once the server is configured, authentication and tool availability are separate steps. For an OAuth-enabled server, follow its publisher’s sign-in instructions; VS Code may open a browser for authorization. If the server uses an API key or fixed token, provide it through the environment-variable reference and environment supported by its configuration—not as a hard-coded credential in a committed file. A server’s own authentication instructions determine which method applies.
After authorization, open GitHub Copilot Chat and switch the session to Agent mode. MCP tools are available to the Copilot harness in Agent mode; they are not available to Local harness sessions. In Agent mode, open Select Tools and enable the tools you want Copilot to use. You can also reference a tool by name with # in your prompt. Selecting a tool makes it available; it does not skip the approval request when Copilot proposes an action. Review that request before approving it, as VS Code shows tool calls in the conversation for inspection. VS Code’s MCP configuration reference describes the authentication options, while its Agent mode notes document tool selection.
Verify that Copilot can use MCP tools
Open Copilot Chat in Agent mode and check the tools available through the Select Tools button. Confirm your server is connected and that the expected tool names appear in the list. In VS Code, run MCP: List Servers to check each server’s status; when a newly added server needs to start or discover tools, use the refresh action shown in Chat.
Test with a prompt that requires a real tool, such as: “Use the project-status tool to summarize the current project status. Don’t make any changes.” If the server exposes a different read-only tool, name that tool and ask for information it can return. You can also reference a tool explicitly with # in the prompt. A useful result is evidence that Copilot called the tool—not just that it produced a plausible answer.
When Copilot asks to run the tool, review the approval request. Expand the tool call in the conversation to inspect the result and confirm it came from the MCP server. A connected status alone does not prove the tool is selected for this chat or that Agent mode has invoked it; check both the tool list and the conversation’s call record.
Troubleshoot MCP servers Copilot ignores
Use the symptom to separate a connection problem from a tool-selection problem:
- The server is connected, but tools are missing: Run
MCP: List Serversand check the server status. In Agent mode, open Select Tools and enable the needed MCP tools; a connected server does not mean every tool is selected. For native Copilot configuration, check that thetoolsfield includes the tool names or"*". - Authorization fails: Complete the server’s browser sign-in when prompted, then reconnect. For a fixed token, confirm the environment variable is available to the host running the server; a value defined only in another terminal may not reach VS Code.
- The configuration reports an error or the server will not start: Check that the file format matches the configuration type and that the command, arguments, URL, and required credentials are valid. If the workspace is in Restricted mode, MCP servers configured in the workspace cannot start; trust the workspace only if you trust its configuration.
- It worked before, but Copilot stopped using it: Confirm the chat is in Agent mode, check the server status and selected tools again, then use the server’s available restart or reconnect action. If the status or tool list remains stale, reload the VS Code window and check
MCP: List Serversagain.
These checks distinguish server startup, authentication, tool availability, and Agent-mode use—four separate failure points in VS Code.
Use MCP safely in a project
Treat an MCP configuration as executable project infrastructure, not just a list of chat tools. Before trusting a repository’s .mcp.json or .vscode/mcp.json, inspect its server entries: VS Code warns that a local stdio server can run code on your machine and access services using your permissions. Workspace Trust also matters; in Restricted mode, workspace MCP servers cannot start. VS Code’s MCP server guidance explains how trust affects server startup.
Limit the tools exposed to Copilot to the ones the project needs. In native Copilot configuration, tools can name specific tools instead of using "*"; this narrows availability but does not replace approval of individual actions. Read each approval request and inspect the tool call before accepting it, especially when a tool can change account or project state.
Keep API keys, passwords, and populated authorization headers out of committed configuration. Use environment-variable references for fixed tokens when supported, and provide the secret through the environment of the process that connects to the server. For browser-based authorization, follow the server publisher’s sign-in flow; don’t assume credentials saved in another MCP client carry over to VS Code.
FAQ
Where do I put a personal MCP configuration in VS Code?
Use workspace-root .mcp.json with a top-level mcpServers object when the team should share the configuration. For a personal native Copilot setup, use $COPILOT_HOME/mcp-config.json; if COPILOT_HOME is unset, use ~/.copilot/mcp-config.json. Keep credentials out of committed files, including shared configuration.
Can a C# MCP server work with GitHub Copilot in VS Code?
A C# server can use the same local configuration approach as another MCP server if it exposes MCP over stdio. Set type to stdio and use the server’s documented command and arguments, with its runtime and dependencies available where VS Code launches it. There is no C#-specific JSON format.
Does selecting MCP tools bypass Copilot’s approval request?
No. Selecting tools makes them available to Copilot in Agent mode; it does not approve actions in advance. Review the approval request and the tool call in the chat before accepting it, especially when the action can change project or account state.
Does Volanea publish setup instructions for GitHub Copilot in VS Code?
Volanea’s MCP documentation describes an HTTP endpoint and names other compatible clients, but it does not provide GitHub Copilot in VS Code-specific setup instructions or confirm compatibility there. Follow the provider’s documented connection method rather than assuming settings transfer between clients. If you’re evaluating email infrastructure for an application, Start free with 1,000 emails a month.