Home
Smithery
Smithery Connection
Smithery Connection
Schema for a Smithery connection — a stateless, namespace-scoped link between an agent and a hosted MCP server. Created and managed via /connect/{namespace}. Used as the target for MCP JSON-RPC at /connect/{namespace}/{connectionId}/mcp.
AI Agents MCP Model Context Protocol Registry Hosting Tools Skills Marketplace Developer Platform
Properties
Name
Type
Description
connectionId
string
Unique identifier for the connection within the namespace. Auto-generated on POST or specified on PUT.
namespace
string
Namespace that owns this connection.
server
string
Qualified name of the MCP server this connection targets.
config
object
Per-connection configuration values (API keys, parameters) prompted via Smithery's OAuth UI modals. Credentials are encrypted at rest.
auth
object
Auth state for the connection. Smithery handles OAuth refresh automatically.
createdAt
string
updatedAt
string
lastUsedAt
string
JSON Schema