sanitize_mcp_config
Replace hardcoded credentials across env, headers, URL query parameters, and args with safe ${ENV_VAR} placeholders without mutating already-safe placeholders.
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": {
"config": "<config>"
},
"name": "sanitize_mcp_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Parsed MCP config object OR raw JSON/JSONC string. |