Store servers in the user MCP config file.

Section: MCP servers and built-ins

Persistent MCP config location

json
json
~/.copilot/mcp-config.json
Explanation

Persistent MCP server definitions belong here, while session-only additions can use `--additional-mcp-config`.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing MCP servers and built-ins
Add an MCP server for one session from a file
Load additional MCP server config at runtime.
OpenIn sheetbashsame section
Disable all built-in MCP servers
Run without the default built-in servers.
OpenIn sheetbashsame section
Disable a specific MCP server
Turn off one named server.
OpenIn sheetbashsame section
Enable a specific GitHub MCP tool
Grant access to one GitHub MCP capability.
OpenIn sheetbashsame section
Enable a GitHub MCP toolset
Grant a named toolset instead of individual tools.
OpenIn sheetbashsame section
Local MCP server template
Define a local stdio MCP server.
OpenIn sheetjsonsame section