Create or update an MCP connection with the given ID. mcpUrl is required when creating a new connection, but optional when updating. Returns 409 if a different mcpUrl is provided, except while the connection is input_required and the new URL keeps the same host and path.
Documentation Index
Fetch the complete documentation index at: https://smithery.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Smithery API key as Bearer token
Connection transport. Defaults to the existing connection transport when updating.
http, uplink "http"
URL of the MCP server. Required when creating a new connection. Optional when updating — omit to keep the existing URL.
"https://mcp.example.com/sse"
Human-readable name (optional, defaults to connection ID)
1 - 255"My MCP Server"
Custom metadata for filtering connections
{
"userId": "user123",
"team": "engineering"
}
Custom headers to send with MCP requests (stored securely, not returned in responses)
{ "X-API-Key": "secret-key" }
Run this connection in mock mode. Only honored on first creation; ignored on updates to an existing connection.
{ "enabled": true }
Connection updated
Connection ID (auto-generated or developer-defined)
"clever-dolphin-a9X3"
Human-readable name
MCP server URL. Null for uplink connections.
Connection transport
http, uplink Mock-mode config: {enabled: true, scenario?} when LLM-simulated, absent otherwise.
ISO 8601 timestamp
Last known connection status
Server information from MCP initialization (name, version)