Methods
| Method | Params | Result | Purpose |
|---|---|---|---|
mcp/list | McpListParams | McpListResponse | List installed MCP servers for a workspace. |
mcp/install | McpInstallParams | McpInstallResponse | Install or update servers from MCP JSON config. |
mcp/policy/set | McpPolicySetParams | McpPolicySetResponse | Enable/disable a server or implicit invocation. |
mcp/server/restart | McpServerRestartParams | McpServerRestartResponse | Restart one server runtime. |
mcp/uninstall | McpUninstallParams | McpUninstallResponse | Remove one server installation. |
mcp/server/details | McpServerDetailsParams | McpServerDetailsResponse | Load catalog, health, audit, and recent binding details. |
Listing Servers
snapshot_version together with mcp/changed and server status notifications to keep a client catalog fresh.
Installing Servers
mcp/install accepts the same JSON shape users commonly put in MCP client config files: an object with mcpServers. Pass that JSON as a string in config_json.
config_json is parsed by the gateway. For HTTP servers, use a URL transport entry in that config string:
scope_kind defaults to workspace. enabled and allow_implicit_invocation are also accepted top-level install params. enabled defaults to true; allow_implicit_invocation defaults to false. They are Pioneer policy values, not part of the MCP server config JSON itself.
Secret values from env, headers, tokens, and authorization fields are stored in the gateway keystore. Protocol responses use redacted transport/source data and secret refs; they do not echo raw secret values.
Install Result
status can be ok, partial, or validation_error. Individual server result status can be installed, updated, or validation_error. Clients should render per-server diagnostics, because a config file may contain several servers and only some may fail.
Policy
MCP server policy mirrors skills policy:| Field | Meaning |
|---|---|
enabled | Whether the server is available to agents. Disabled servers remain installed. |
allow_implicit_invocation | Whether the gateway may expose the server’s tools for automatic agent use. |
enabled or allow_implicit_invocation to preserve the current value.
Explicit Turn Selection
An MCP server can remain not implicit and still be used in one turn throughturn/start.capabilities:
Runtime And Restart
runtime.state reports process/service state. Known states are not_started, disabled, starting, ready, degraded, auth_required, failed, stopping, stopped, and restarting.
Restart a server when credentials, environment, or external dependencies changed:
mcp/server/status_changed for the actual runtime transition.
Server Details
Usemcp/server/details for a detail panel, debug page, or agent-tool picker.
| Field | Meaning |
|---|---|
server | The same summary object returned by mcp/list. |
catalog.tools | Tool names, titles, descriptions, input schema summaries, and MCP annotations. |
catalog.resources | Static resources exposed by the server. |
catalog.resource_templates | Parameterized resource templates. |
catalog.prompts | MCP prompts exposed by the server. |
health | Runtime state, status reason, last error, retry info, catalog version, and stderr tail. |
audit | Recent policy/tool decisions. |
recent_bindings | Recent gateway callable names bound to raw MCP tool names. |
recent_bindings and catalog data when building debug UI.
Uninstalling
Notifications
| Event | Meaning |
|---|---|
mcp/changed | Server installation or policy changed; refresh mcp/list. |
mcp/server/status_changed | A server runtime changed state or status. |
mcp/server/catalog_changed | Server tools/resources/prompts changed; refresh details or list. |