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.
Governance starts with knowing which servers exist, what they expose and who approved them. This lesson defines the inventory data model from the sources the spec offers.
| Source | What it provides | Trust |
|---|---|---|
server.json (Registry or private registry) |
Reverse-DNS name, package or remote URL, arguments, environment variables, version. | Provenance (verified namespace); not security. |
| Server Card | Identity, endpoints, headers, supported versions. | Public; verify against discover. |
server/discover (or legacy initialize) |
Actual versions, capabilities, extensions, serverInfo, instructions. |
Observed live; serverInfo self-declared. |
tools/list, resources/list, prompts/list, resources/templates/list |
Catalogue with schemas, annotations, icons, ttlMs. |
Observed; content untrusted. |
skills/list |
Manifests with digests. | Observed; verify. |
| Detected era | Legacy / modern. | Observed. |
| Client configurations on endpoints | Which local servers users are using. | Fleet inventory. |
serverInfo; instructions (hash + text); approval status; owner; applicable policy; associated AS (issuer, PRM); dates.ttlMs expires, on receiving list_changed and periodically; compare hashes; classify the change (new tool, changed schema, changed description, changed annotation); require re-approval according to severity; alert.If the gateway launches them: literal approved command, minimal environment per server, container with no mounts beyond what is necessary, no network beyond an allow-list, consent recorded with the exact command (SEP-1024). If the users' hosts launch them: inventory of configurations via endpoint management and a distributed approved list.
Implement the MCP Registry OpenAPI so that hosts consume your approved list as just another registry; import from the official Registry or from aggregators as candidates.
1. What must happen to a server's approval when the hash of its tools catalogue changes?
It is the defence against rug pull that the local server guide recommends.
2. What does an entry in the official Registry prove?
Provenance, not security.