Smithery · Schema

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.

Artificial IntelligenceAgentsMCPRegistryHostingToolsSkillsMarketplaceDeveloper 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
View JSON Schema on GitHub

JSON Schema

smithery-connection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/smithery/smithery-connection-schema.json",
  "title": "Smithery Connection",
  "description": "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.",
  "type": "object",
  "required": ["connectionId", "namespace", "server"],
  "properties": {
    "connectionId": {
      "type": "string",
      "description": "Unique identifier for the connection within the namespace. Auto-generated on POST or specified on PUT."
    },
    "namespace": {
      "type": "string",
      "description": "Namespace that owns this connection."
    },
    "server": {
      "type": "string",
      "description": "Qualified name of the MCP server this connection targets."
    },
    "config": {
      "type": "object",
      "description": "Per-connection configuration values (API keys, parameters) prompted via Smithery's OAuth UI modals. Credentials are encrypted at rest."
    },
    "auth": {
      "type": "object",
      "description": "Auth state for the connection. Smithery handles OAuth refresh automatically.",
      "properties": {
        "type": { "type": "string", "enum": ["none", "apikey", "oauth2"] },
        "status": { "type": "string", "enum": ["pending", "active", "expired"] },
        "expiresAt": { "type": "string", "format": "date-time" }
      }
    },
    "createdAt": { "type": "string", "format": "date-time" },
    "updatedAt": { "type": "string", "format": "date-time" },
    "lastUsedAt": { "type": "string", "format": "date-time" }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/smithery-connection"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.