## §OIP SYSTEM ARTICLE — MCP servers (11 operations)
A generated article for one OIP shelf. It lists every operation in this API/CLI/MCP/device/model/core subsystem, links each leaf article, and gives the ledger path for proof.

### Read Order
- scan operations
- open a leaf doc
- run via run_now or POST /api/dispatch
- open receipt
- repair/replay if needed

### Operations
- **MCP_context7_resolve_library_id** — Resolves a general library name into a Context7-compatible library ID (ranked by relevance to query). Returns 
  when: you have a vague library name and need the exact Context7 ID first
  args: query|libraryName
  doc: https://miscsubjects.com/api/dispatch?key=MCP_context7_resolve_library_id&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_context7_resolve_library_id&body=%3Cquery%3E%7C%3ClibraryName%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_context7_resolve_library_id
- **MCP_context7_query_docs** — Retrieves up-to-date, version-specific documentation + code examples for a library using its exact Context7 li
  when: you need to mcp context7 query docs
  args: libraryId|query
  doc: https://miscsubjects.com/api/dispatch?key=MCP_context7_query_docs&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_context7_query_docs&body=%3ClibraryId%3E%7C%3Cquery%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_context7_query_docs
- **MCP** — MCP server unified entrypoint via Mac bridge
  when: MCP servers (brave_search, computer_use, doctor, fetch, etc.)
  args: $1=op, $2..$N=args
  doc: https://miscsubjects.com/api/dispatch?key=MCP&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP&body=fetch%7Chttps%3A%2F%2Fexample.com&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP
- **MCP_TOOL_CALL** — Proxy one tool call into an external MCP server (Streamable HTTP JSON-RPC)
  when: you need to mcp tool call
  args: server_url|tool_name|auth_env_var|args_json
  doc: https://miscsubjects.com/api/dispatch?key=MCP_TOOL_CALL&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_TOOL_CALL&body=%3Cserver_url%3E%7C%3Ctool_name%3E%7C%3Cauth_env_var%3E%7C%3Cargs_json%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_TOOL_CALL
- **MCP_IMPORT** — Cannibalize an MCP server: read its tools/list and emit a proposed directory row per tool (GAP-checked vs exis
  when: you need to mcp import
  args: server_url|category|auth_env_var
  doc: https://miscsubjects.com/api/dispatch?key=MCP_IMPORT&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_IMPORT&body=%3Cserver_url%3E%7C%3Ccategory%3E%7C%3Cauth_env_var%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_IMPORT
- **MCP_OAUTH_SEED** — Store/replace one MCP server's OAuth credentials in KV (mcp_oauth:<label>). The build refreshes the short-live
  when: registering a Cloudflare (or any OAuth) MCP server so agents can use it
  args: label|json json={"server_url","token_endpoint","client_id","refresh_token"}
  doc: https://miscsubjects.com/api/dispatch?key=MCP_OAUTH_SEED&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_OAUTH_SEED&body=bindings%7C%7B%22server_url%22%3A%22https%3A%2F%2Fbindings.mcp.cloudflare.com%2Fsse%22%2C...%7D&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_OAUTH_SEED
- **MCP_ATTACH** — Set which MCP servers attach to the model globally (KV mcp_attach). Per-agent override = SET <KEY>_mcp.
  when: turn Cloudflare MCP tools on/off for the agents
  args: comma list of labels (empty clears). EX: [MCP_ATTACH]bindings,docs,observability[/MCP_ATTACH]
  doc: https://miscsubjects.com/api/dispatch?key=MCP_ATTACH&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_ATTACH&body=%3Ccomma%20list%20of%20labels%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_ATTACH
- **MCP_STATUS** — List every seeded MCP server, its token freshness (seconds left), and the current attach list.
  when: check what MCP servers are wired and whether tokens are valid
  args: none. EX: [MCP_STATUS][/MCP_STATUS]
  doc: https://miscsubjects.com/api/dispatch?key=MCP_STATUS&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_STATUS&body=%3Cnone%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_STATUS
- **MCP_AGENT** — 
  doc: https://miscsubjects.com/api/dispatch?key=MCP_AGENT&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_AGENT&body=%3Cyour%20request%20in%20plain%20words%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_AGENT
- **MCP_CATALOG** — 
  doc: https://miscsubjects.com/api/dispatch?key=MCP_CATALOG&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_CATALOG&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_CATALOG
- **MCP_EVAL** — Try an integration before installing it. Resolves the named integration to its OIP objects, classifies read vs
  when: "should I get the Stripe MCP", "what can the GitHub integration do", "try X before I connect it".
  args: $1 = integration name (stripe|github|context7|drive|slack|notion); $2 = optional mode "live" to run a live read-only trial for financial integrations.
  doc: https://miscsubjects.com/api/dispatch?key=MCP_EVAL&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=MCP_EVAL&body=github&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=MCP_EVAL

### Troubleshooting
- If a row's example has placeholders, replace only the placeholder values and preserve separators.
- If a call fails, open its receipt and repair it with POST /api/dispatch {key, body, repairs:'inv_ID'}.
- If token scope denies this system, ask the owner for a row:/rows:/pfx: token scoped to the exact operation set.

Back to the tree: https://miscsubjects.com/api/dispatch?map=1&format=markdown