Register an MCP server
Registering a server makes a private MCP server known to the gateway so it can be approved, policy‑governed, and routed to. Registration does not expose anything on its own — an approved policy still decides who may discover or call its tools.
- Validate the manifest to catch schema and policy‑reference errors before submitting.
- Submit it to the registry, which creates an immutable submission for review.
- Approve it (a reviewer with the right permission) — covered under Approvals.
1 · Validate the manifest
Section titled “1 · Validate the manifest”Validate an MCP server manifest
- Open Govern → MCP servers → Register.
- Paste or upload your manifest and click Validate — errors are listed inline with the offending field.
curl -X POST "$GATEWAY/v1/registry/validate-manifest" \
-H "authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
--data @manifest.jsonvalidateRegistryManifest in the API reference →gatewayctl validate-manifest manifest.yamlEvery gatewayctl verb accepts --format text|json.
2 · Submit it to the registry
Section titled “2 · Submit it to the registry”Submit the server for approval
- After a clean validation, click Register.
- The server appears in Govern → MCP servers with status submitted, awaiting review.
curl -X POST "$GATEWAY/v1/mcp-servers" \
-H "authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
--data @manifest.jsonregisterMcpServer in the API reference →gatewayctl register-server manifest.yaml --format jsonEvery gatewayctl verb accepts --format text|json.
Once submitted, a reviewer approves it (Approvals), after which it is projected to the data plane and becomes callable per policy. Verify the loop with your first governed tool call.
Type set in Geist, Source Serif 4, and Departure Mono.