caelum0x a9bcafc0ad feat(toolgate): call pipeline, HTTP API, MCP endpoint and OAuth 2.1 server
- switchyard-mcp: MCP JSON-RPC layer (initialize, tools, resources,
  ping, batches) for streamable HTTP; tool failures come back as
  isError results the agent can act on.
- switchyard-server: one pipeline for every call: validate (422 with
  JSON Pointers, nothing spent), idempotent replay at zero cost (409 on a
  changed body), cache and single-flight dedupe, per-project/key/tool
  and daily-send caps (429 names the cap), Mint hold sized for the chain,
  free-first routing with accepts filtering, token buckets and circuit
  breakers, disclosed fallback (424 when every provider fails, nothing
  billed), exact capture or release, and an atomic audit row plus outbox
  (Rago tool_call events, Mint capture/release retries).
- Routes: search/describe/call/batch, BYO passthrough, keys minted in
  Relay's key store, write-only credentials, SKILL.md bundles, project
  caps and pinned MCP tools, usage with hash-chain proofs, balance and
  Dodo top-up via Mint, /mcp with meta-tools and annotated pinned tools,
  OAuth 2.1 (metadata, DCR, CIMD, PKCE, consent, device flow, per-tool
  send/spend consent), /admin console, llms.txt and openapi.json.
- 28 end-to-end tests over fakes, plus a Postgres-backed run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:29:53 +03:00

16 lines
413 B
TOML

[package]
name = "switchyard-mcp"
description = "Switchyard MCP protocol layer (JSON-RPC 2.0, streamable HTTP message handling): initialize, tools, resources, ping."
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
switchyard-core.workspace = true
async-trait.workspace = true
serde.workspace = true
serde_json.workspace = true
[dev-dependencies]
tokio.workspace = true