gateway.search_registry
Search the public MCP Registry for external servers and packages when a requested capability is not available locally, returning metadata needed to register and provision a discovered server.
Instructions
Search the public MCP Registry for external servers not in the local manifest. Use this when gateway.request_capability returns not_available. Returns package names and metadata; call gateway.register_discovered_server then gateway.provision to install. Provisioning a discovered package needs an operator to approve its exact version first (pmcp trust approve-package) unless package policy allows it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "gateway.search_registry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | Yes | Natural language description of the capability needed |