part…
Building governance for MCP?
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
The gateway applies what the guide teaches: policies on discovery, invocation and authorisation.
Two working groups are standardising pieces that a governance platform needs: the interception of operations (Interceptors WG) and pre-connection discovery (Server Card WG). Knowing their status avoids building something incompatible with what is coming.
experimental-ext-interceptors)Mission: standardise how context operations in the agentic lifecycle are intercepted, validated and transformed: tool calls, resource reads, prompts, sampling, elicitation and also non-MCP operations (LLM completions, custom flows). Motivation: the ecosystem is full of sidecars, proxies and gateways that are neither reusable nor interoperable (the M × N problem).
Proposed design: interceptors as a new MCP primitive with two types: validators (inspect and return pass/fail) and mutators (transform the payload). Lifecycle hooks per operation; an execution model aware of trust boundaries; priority-ordered chains; audit mode. Discoverable and invocable with the existing JSON-RPC patterns and deployable in-process, as a sidecar or as a remote service.
Planned deliverables: SEP, multi-language SDK libraries, example interceptors (PII redaction, schema validation, auditing), a common sidecar/proxy runtime, a test CLI, reference implementations in Go and C#. Out of scope: the hook internals of specific clients, transport changes. Status (April 2026): SEP in draft, implementations in progress.
Relationship to your platform: it is the formalisation of your policy enforcement point. Design your validators and mutators with the same dichotomy and with per-operation hooks so that you can expose them as standard interceptors when the SEP matures.
experimental-ext-server-card)What it is: a static, public document that describes a remote MCP server before connecting: identity (name, version, description, title, icons, repository, websiteUrl), transport endpoints (URLs, headers, variable templates, supportedProtocolVersions) and prefixed _meta. It deliberately excludes primitives (tools, resources, prompts), capabilities and extensions: they are dynamic and depend on identity and configuration; they are obtained live.
Discovery: hostable at any non-reserved URI, with <url-streamable-http>/server-card as the recommended location; at domain level, an AI Catalog at /.well-known/ai-catalog.json can link to or embed several cards. The schema lives in schema.ts in the extension's repository. If the card and server/discover disagree, the client SHOULD prefer discover.
Relationship to server.json: the card describes remote connectivity; server.json describes registry entries, including local installations. They share field names where they overlap.
Security: public and read-only; MUST NOT include credentials, internal topology, proprietary logic or user data; open CORS is acceptable; HTTPS recommended; rate limiting and respect for cache headers. Since it excludes primitives, a static manifest cannot be used for access-control decisions.
Relationship to your platform: a source for the inventory and auto-configuration of remote servers (endpoint, versions, required headers), never for tool policy.
Referenced by the Interceptors charter as a related group for gateway deployment patterns, routing, policy and observability. It is the natural forum for your product.
server/discover.1. Which two types of interceptor does the Interceptors WG propose?
Validators (pass/fail) and mutators (transform).
2. What does a Server Card NOT include?
Primitives and capabilities are dynamic and are obtained live.
3. What is the recommended location for a Server Card?
Reserved as the recommended location; the AI Catalog goes at /.well-known/ai-catalog.json.