Skip to main content

MCP manifest

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: mcp-manifest · 3 operations

POST /v1/mcp/{tenant_slug}/endpoints/manifest-import​

Catalog an MCP server from a static manifest

Import a static MCP server descriptor — tools, resources, resource templates and prompts with their JSON Schemas — without probing the server (FMT-1.7). The declared surface is normalized and fingerprinted by the same code a live discovery uses, so it is directly comparable with an observed one.

Never creates a duplicate. When the manifest names a server the catalog already holds — by normalized endpoint URL, or by an identical declared surface fingerprint — the declaration attaches to that endpoint. Only an unrecognised server registers a new one, stamped added_via: import.

A declaration is not a version snapshot: it never becomes current_version_id and never appears in the change feed. Where a manifest and a probe disagree, both values are kept and reported by the surface-provenance report.

Operation id: import_mcp_manifest_v1_mcp__tenant_slug__endpoints_manifest_import_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for catalog an mcp server from a static manifest.

Responses

StatusDescriptionBody
200Successful response for catalog an mcp server from a static manifest.application/json McpManifestImportResponse
422Validation Errorapplication/json HTTPValidationError

GET /v1/mcp/{tenant_slug}/endpoints/{endpoint_id}/manifests​

List an endpoint's declared manifests

Every static manifest attached to this endpoint, newest first (FMT-1.7). Superseded declarations are excluded unless include_retired is set — they stay readable so an attribution made against one remains interpretable.

Operation id: list_mcp_endpoint_manifests_v1_mcp__tenant_slug__endpoints__endpoint_id__manifests_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
endpoint_idpathstring (uuid)yesMCP endpoint identifier.
include_retiredquerybooleannoInclude superseded declarations.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list an endpoint's declared manifests.application/json McpDeclaredManifestListResponse
422Validation Errorapplication/json HTTPValidationError

GET /v1/mcp/{tenant_slug}/endpoints/{endpoint_id}/surface-provenance​

Attribute an endpoint's surface facts to declared / observed sources

For every fact on this endpoint's surface — protocol version, server identity, declared capabilities, and each tool / resource / resource template / prompt — say whether it came from a declared manifest, an observed probe, or both (FMT-1.7).

Where both carry a fact and their values differ, the fact reads conflicts and both values are returned; nothing here picks a winner. An endpoint with no manifest reads as observed_only, never as agreement.

Operation id: get_mcp_surface_provenance_v1_mcp__tenant_slug__endpoints__endpoint_id__surface_provenance_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
endpoint_idpathstring (uuid)yesMCP endpoint identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for attribute an endpoint's surface facts to declared / observed sources.application/json McpSurfaceProvenanceResponse
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

McpDeclaredManifestListResponse​

Every declaration attached to one endpoint.

PropertyTypeRequiredDescription
successbooleannoAlways true for a 2xx response.
manifestsarray of McpDeclaredManifestOutnoDeclarations, newest first.

McpManifestImportRequest​

A static MCP server manifest to catalog.

PropertyTypeRequiredDescription
manifeststringyesThe manifest document as text (JSON). The same bytes the mcp import adapter accepts.
endpoint_urlstring or nullnoWhere this server is reached, overriding the manifest's transport block. Required when the manifest declares no transport.
transportstring or nullnoTransport override: streamable_http, sse, or stdio. Defaults to the manifest's declared transport.
source_labelstring or nullnoWhere the manifest came from (filename / URL). Recorded, never fetched.

McpManifestImportResponse​

The outcome of cataloguing a server from a manifest.

PropertyTypeRequiredDescription
successbooleannoAlways true for a 2xx response.
endpointMcpEndpointOutyesThe endpoint the manifest now describes.
manifestMcpDeclaredManifestOutyesThe declaration that was attached.
endpoint_createdbooleanyesTrue when no catalogued endpoint matched and one was registered.
matchstringyesHow the endpoint was recognised: address (same normalized endpoint URL), surface (same declared surface fingerprint), or none (created).
surface_conflictbooleanyesTrue when the endpoint has been probed and its observed surface fingerprint differs from the declared one. Not an error — see the surface-provenance report.
observed_fingerprintstring or nullnoThe endpoint's current observed surface fingerprint, if any.
superseded_manifestsintegernoHow many earlier declarations this import retired.
reasonstringyesOne sentence explaining where the manifest landed and why.

McpSurfaceProvenanceResponse​

The declared-vs-observed attribution for one endpoint's surface.

PropertyTypeRequiredDescription
successbooleannoAlways true for a 2xx response.
endpoint_idstringyesThe endpoint the report describes.
surface_matchstringyesnone, declared_only, observed_only, identical (the two fingerprints agree), or divergent.
declared_fingerprintstring or nullnoThe declared surface's fingerprint, when one is attached.
observed_fingerprintstring or nullnoThe observed surface's fingerprint, when discovery has run.
fingerprints_matchbooleanyesTrue only when both surfaces exist and fingerprint identically.
origin_countsmap of integernoFact count per origin.
conflict_countintegeryesHow many facts the two sources disagree on.
factsarray of McpSurfaceFactOutnoEvery attributable fact, identity first then items.