configure_mcp
Update an existing MCP server's configuration by merging new settings for command, args, URL, headers, or env variables, with safety checks for code-injection risks.
Instructions
Update the configuration of an existing MCP server. Merges provided updates into the existing config.
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": {
"mcp_name": "<mcp_name>",
"updates": "<updates>"
},
"name": "configure_mcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Fields to update in the MCP server config | |
| mcp_name | Yes | The name of the MCP server to configure | |
| allow_footgun_env | No | Set true to override the safety refusal when updates.env sets a code-injection key like NODE_OPTIONS, LD_PRELOAD, PYTHONSTARTUP. | |
| allow_footgun_args | No | Set true to override the safety refusal when updates.args include code-injection flags like -e/--eval/-c. | |
| allow_shell_metacharacters | No | Set true to override the safety refusal when 'updates.command' contains shell metacharacters. |