replace_mcp_config
Replace the entire MCP configuration by submitting a full JSON document, enabling bulk restructuring of multiple server entries at once.
Instructions
Overwrite config/mcp.json with a complete JSON document.
For restructuring several entries at once. Rejected unless content parses
as an object of objects; the previous file is backed up either way. Prefer
upsert_mcp_server for a single-server change.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "replace_mcp_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The full replacement JSON text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||