Update an existing custom MCP server configuration. Only the owner can update their configurations. Provide only the fields you want to update.
PUThttps://api.aitronos.com/v1/mcp-configurations/{config_id}
config_id string required The MCP configuration ID (mcp_ prefixed string).
All fields are optional. Only provide the fields you want to update.
name string optional Updated configuration name.
server_url string optional Updated server URL (must be HTTPS).
is_active boolean optional Enable or disable the configuration.
credentials object optional Updated authentication credentials (re-encrypted).
tool_configuration object optional Updated tool configuration.
Updated MCP configuration with new values.
Bash
- Bash
- Python
- JavaScript
curl -X PATCH "https://api.aitronos.com/v1/mcp-configurations/mcp_abc123xyz" \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated GitHub",
"is_active": false,
"tool_configuration": {
"enabled": true,
"allowed_tools": ["search_code"]
}
}'