Skip to content

Asset discovery

Last updated: 2026-11-14T10:40:00-03:00 (UTC-3)

An agent or developer with a gateway key often needs to know what it can use: which model aliases, which MCP servers and API sources, which tools, which skills. Asset discovery answers that in one private listing, for the calling key only.

Flag Default What it turns on
asset_discovery false GET /v1/assets; a public resource right under plan entitlements

Discovery grants nothing. Each result names the route where the asset is used (ref), and that route checks the key again. Discovery is separate from the anonymous registry research and from the aliases published on the hub: nothing here is public and nothing is listed for a key that may not use it.

Each kind is read from its own registry, with that registry’s own rules, before anything is searched, counted or paged. A kind whose flag is off, whose route scope the key lacks, or whose plan right the team lacks contributes nothing.

Kind Listed when Rules applied (same as the asset’s own route)
model the key has route:models declared aliases the key may use with an active capability and plan visibility, as GET /v1/models (without discovering provider models)
mcp_server mcp_registry, key scope mcp:read, plan right mcp_registry registry entries whose scopes admit the key; console servers an approval grants to the key’s team, as GET /v1/mcp/servers
api as mcp_server, plus mcp_openapi_tools approved OpenAPI sources granted to the key’s team
tool mcp_execution, scopes mcp:read and mcp:execute, plan rights mcp_registry and mcp_execution the tools the key may call, exactly as tool search builds them (grants, approvals, drift quarantine, access-group toolsets)
skill skill_registry and skill_marketplace, scope skills:install, a team, plan rights skill_registry and skill_marketplace current publications granted to the key’s team, exactly as the skills feed delivers them (plugin-name, scan and signature rules included)

Plan rights follow each route: with feature plans, the rights its scope requires; with legacy plan entitlements, only mcp_execution for tools (servers and skills follow their own registry rules). Agents (A2A) are not part of this listing yet.

GET /v1/assets?q=forecast&kind=tool,skill&limit=20
Authorization: Bearer <key>
Parameter Default Bounds
q none at most 256 characters; lexical search over name, ID and description. Without it, results are ordered by kind, then ID
kind all kinds comma-separated subset of model, mcp_server, api, tool, skill, no repeats
limit 20 1-100
cursor none the next_cursor of the previous page; a consistency check refuses it (400 invalid_cursor) with another key, q or kind. It only selects an offset in the caller’s own authorized results

Each parameter may appear once; any other parameter, or a malformed query string, is refused. A listing takes one of the four shared slots that also bound MCP calls and tool search, waiting up to three seconds (503 mcp_busy).

{
"data": [
{"kind": "tool", "id": "weather/forecast", "name": "forecast", "description": "Weather forecast for a city", "owner": "operator", "source": "boot", "lifecycle": "granted", "ref": "/v1/mcp/servers/weather/tools/call"},
{"kind": "skill", "id": "forecast-skill", "name": "Forecast skill", "description": "Explains a forecast", "owner": "team:platform", "source": "registry", "version": "revision 3", "lifecycle": "published", "ref": "/v1/skill-marketplace/marketplace.json"}
],
"total": 2,
"counts": {"tool": 1, "skill": 1},
"next_cursor": "eyJvIjoyMCwiYiI6Ii4uLiJ9"
}

total and counts cover only what the key may use and what matches q. source says where the asset comes from (yaml, console, openapi, boot, managed, registry); version is the approved snapshot or the skill revision when there is one. A skill’s ref is the skills feed.

Status Meaning
400 invalid_request (parameter, kind, limit or q) or invalid_cursor
401 Missing or invalid key
403 Cross-origin browser request, or a plan without asset_discovery
404 The flag is off
503 A registry or plan lookup is unavailable; nothing partial is returned

MCP registry → Discover assets sends the search with an inference key kept only in the page’s memory and shows each asset with its kind, lifecycle, source, owner, version and route.

Each listing writes one asset_discovery log line with the request ID, key, team, kinds, total and returned count; the search text is not logged. The listing reads registries on every request and holds no copy of its own.

m7gtwcontact@m7gtw.com