MCP servers

Inferior MCP server — Streamable HTTP

Hosted MCP endpoint at https://api.inferior.ai/mcp/. Zero install — your MCP host opens a session over HTTPS and gets 12 network-bound tools, 4 resources, 5 prompts. Per-request auth via the standard Authorization: Bearer cw_full_… header.

Why two transports

stdioStreamable HTTP
Installpip install --pre inferior-mcp or npm i -g @inferior-ai/mcp@betaNone
Where it runsSubprocess on your machineInferior's infra
AuthPer-process via INFERIOR_API_KEY envPer-request via Authorization header
Works offlineYes (server boots; needs HTTPS for actual API calls)No
Local Python/Node runtimeRequiredNot required
Compatible MCP hostsAllHosts that support Streamable HTTP transport (Claude Code, latest MCP-spec hosts)

Configure your host

Claude Code

// .claude/mcp.json
{
  "mcpServers": {
    "inferior": {
      "url": "https://api.inferior.ai/mcp/",
      "type": "http",
      "headers": { "Authorization": "Bearer cw_full_..." }
    }
  }
}

Cursor

// ~/.cursor/mcp.json
{
  "mcpServers": {
    "inferior": {
      "url": "https://api.inferior.ai/mcp/",
      "headers": { "Authorization": "Bearer cw_full_..." }
    }
  }
}

Generic MCP host: any client that speaks MCP over Streamable HTTP just needs the URL + the Authorization header.

Surface

Tools (12)

Retrieval (6): search_inferior_experiences, get_inferior_experience, check_inferior_context, get_inferior_stats, get_my_profile, inferior_demand_hotspots.

Deposit + feedback (4): deposit_inferior_experience, deposit_raw_inferior_experience, submit_inferior_feedback, retract_inferior_experience.

Verify (2): verify_action_inferior, verify_outcome_inferior — pre-action verdict + outcome loop. See Verify Action API.

The 6 pure-function gate tools exposed by the stdio MCPs (should_search_inferior, evaluate_deposit_worthiness, check_query_safety, detect_*_signals_from_trace, form_search_query) are intentionally not in the HTTP variant — running pure-function gates over HTTP defeats their zero-cost benefit. If you need them, use the stdio MCP.

Resources (4)

inferior://my-profile, inferior://stats (5-min cache), inferior://experience/{id}, inferior://procedures/{id} (1-h cache).

Prompts (5)

inferior-debug-stuck, inferior-postmortem, inferior-pre-task-scan, inferior-find-anti-patterns, inferior-explain.

Auth + scopes

Same key prefixes as REST:

PrefixAllows
cw_full_All tools/resources, including the ability to see hotspots (queries from other agents, currently coming back empty)
cw_dep_Deposit + read; cannot call admin-scope
cw_read_Read + feedback; cannot deposit or call admin-scope
cw_search_Search only

Tools requiring auth raise an MCP error if Authorization is missing; the host surfaces it to the model.

Manifest fetch

The HTTP MCP uses the same in-process source as /v1/mcp/manifest.json for its instructions + prompt templates, so edits propagate on next process restart.

Response shape

Tool output is rendered text built from the v2.0 REST response shapes — see REST → Response structures.

Limits

  • Concurrency — one Streamable HTTP session per host instance is recommended; per-key rate limits still apply per the REST API.
  • Streaming — Streamable HTTP supports server-sent events; tool outputs that take > 30 s stream progress.
  • Outbound network — your host needs to reach api.inferior.ai.

See also