# Protocol vs MCP <!-- ref: @protocol/protocol-vs-mcp type: protocol tags: [MCP, HTTP, knowledge service, protocol comparison, integration] triggers: [choose knowledge service, evaluate integration options, assess tool compatibility] trigger_prompt: When deciding between different protocols for knowledge services, especially in terms of accessibility and integration across multiple agent environments. category: meta last_reviewed: 2026-04-30 complements: [@protocol/protocol-philosophy, @protocol/api-reference, @integrations/curly] audience: [agent-author, claude-code-user, openclaw-user, terminal-only, decision-maker] version: 7 updated_at: 2026-07-16T23:28:29.071Z --> Compare the MCP wire format with the HTTP-based knowledge service protocol. The short answer: **MCP is a fine wire format for tool-use inside a single agent session. It's a poor fit for a knowledge service meant to be consumed by any agent on any harness from any language.** This protocol explains the choice in concrete trade-offs so you can decide whether you agree. ## The thesis in one paragraph protocol.supply is a *knowledge service*: a markdown-native, full-text-indexed, trigger-sensitive corpus that agents fetch from on demand. It speaks plain HTTP returning markdown or JSON. The CLI (`curly`) is one shell wrapper around `curl` — 81 lines of bash, no SDK, no daemon, no typing. Any caller that can issue an HTTP request can use it: Claude Code, OpenClaw, Cursor, ChatGPT custom GPT, n8n workflow, a cron job, a `make` rule, a phone over Termux. We chose this on purpose. MCP would have closed off most of those callers. ## Concrete trade-offs | Dimension | MCP | Plain HTTP + curly | |-----------|-----|--------------------| | **Caller universe** | Agents that speak MCP (Claude Desktop, some IDEs) | Anything with `curl` (every harness, every shell, every language) | | **Debuggability** | Implement an MCP client to repro a call | `curl` reproduces every call by definition | | **Auth model** | Per-server in the MCP runtime | Single token in `~/.curly.yaml` (`curly init protocol`) | | **Preload tax** | Tools listed at session start; agent pays context for all of them whether used or not | Zero — fetch only what the task needs | | **Version coupling** | Client SDK version must track server protocol version | JSON shape evolves; clients don't pin | | **Failure mode** | Server dies → tools disappear from agent mid-session | HTTP 5xx; agent retries or fetches a different ref | | **Adding a new caller** | Implement / configure MCP client side | Drop a token, run a curl | | **Discovery via MCP directories** | Native | Requires a thin proxy *(roadmap)* | ## Where MCP earns its keep This isn't an MCP-bashing protocol. MCP is well-designed for what it's actually for: - **Typed tool-use inside one agent runtime**, where the agent and the tool server share a process boundary and a session. - **IDE-embedded tools** that need rich, structured arguments and live in the agent's tool-call ledger. - **Local-only or trust-bounded operations** (e.g., file-system tools, local DB tools) where running a sidecar process is the natural shape. Those are good MCP use cases. A *knowledge corpus that wants to be reachable from everything* is not. ## Why "knowledge service" wants HTTP Three properties of knowledge that push toward HTTP: 1. **Read-heavy, idempotent, cacheable.** Plain HTTP is excellent at this; MCP's session-bound tool-call model is not. 2. **Cross-harness portability.** A team running Claude Code, Cursor, and a homegrown agent shouldn't need three integrations for the same content. They need one URL. 3. **Stable for years.** A knowledge service that breaks every time the agent SDK rev's a wire format is a non-starter. JSON over HTTP has been stable for 25 years. ## Where the "thin MCP proxy" fits Roadmap (not shipped today): a small MCP wrapper that fronts the HTTP API so protocol.supply appears in MCP directories. Concretely: - **It's a marketing surface**, not an architecture pivot. The wrapper translates a couple of MCP tool calls (`search`, `fetch`, `bootstrap`) into HTTP requests. - **The HTTP API stays canonical.** Anyone using the wrapper still benefits from the same content, the same auth, the same indexing. The wrapper is ~50 lines of TypeScript and ships separately. - **It does not become the recommended path.** Documentation and onboarding stay on `curly`. The wrapper is for users who arrive via MCP-only discovery and want a one-click experience. If you saw this entry because you searched for "MCP" or arrived from an MCP directory: welcome. The fastest start is `curly` (see `@protocol/quickstart`); the wrapper exists for visibility, not as the preferred interface. ## Common follow-up questions **"Doesn't curl-vs-MCP just push the abstraction tax onto the agent?"** Slightly, yes. Agents have to know that `curly protocol bootstrap` is a thing. That's one line in `CLAUDE.md` / `.cursorrules` / system prompt — see `@protocol/agent-config-integration`. It's a smaller learning curve than wiring an MCP server. **"What about typed schemas? Don't you lose that?"** No. The OpenAPI spec at `/openapi.json` is the canonical typed schema. Anyone who wants typed clients can codegen one. The choice was: push schema generation to consumers (cheap, optional) vs require it via MCP (mandatory, lockstep). **"What if MCP becomes the universal substrate?"** Then the thin proxy ships and protocol.supply rides along. The HTTP API doesn't change. That's the whole point of keeping the canonical contract simple. **"Why is `curly` a shell script and not, say, a Go binary?"** Auditability and minimal install footprint. 81 lines of bash means anyone can read it in under a minute. Adding a binary means platform-specific releases, signing, update channels — all costs that buy nothing for an HTTP wrapper. ## What this means for you - **Picking a knowledge service for your agents?** If portability across harnesses matters, HTTP + curl wins. If you're locked to one MCP-native harness and only care about that one, MCP works. - **Authoring content for protocol.supply?** No special MCP knowledge needed. Write markdown, publish via `POST /entry/publish`. See `@protocol/dev-checklist` for the publish loop. - **Building your own protocol layer?** The pattern works for any service: HTTP + JSON, single shell wrapper, token in a dotfile. Don't reach for MCP unless you actually need the per-session typed tool-call ledger. --- *Related: `@content/youtube/yifan-bth/we-are-missing-the-point-of-mcp-its-not-just-about-tools` · `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/every-inc/microsofts-vision-for-an-internet-made-for-agents-with-cto-kevin-scott-best-of-the-pod` · `@content/youtube/tiago-forte/i-connected-my-entire-business-to-claude` · `@content/youtube/cole-medin/anthropic-just-dropped-a-masterclass-on-building-agent-harnesses-for-large-codebases`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*