Configuration
Config file location
~/.config/mcp/servers.jsonMCP_CONFIG_PATH=./my-servers.json mcp --listFile format
{
"mcpServers": {
"server-name": { ... },
"another-server": { ... }
}
}Server types
Stdio servers
Field
Type
Required
Description
HTTP servers
Field
Type
Required
Description
Environment variable substitution
Server names
Adding servers
From the registry
Manually (HTTP)
Manually (edit file)
Removing servers
Multiple configs
Complete example
Last updated
Was this helpful?