Reference/MCP configuration

MCP doctor

Check local MCP configuration and host context.

op_sys_command_mcp_doctor
Local stdio serverRead as Markdown ↗
On this page

Use this capability

CLI invocation · Shell
op-sys --output json tools call op_sys_command_mcp_doctor \  --arguments '{}'

Request template: replace placeholder identities and supply complete contract-specific objects before use. Required arguments are shown; optional arguments are listed below. MCP requests assume an initialized connection.

Named CLI command: op-sys mcp doctor. Use --help for command-specific flag syntax; the CLI/SDK/MCP examples share arguments; HTTP uses the documented route and body.

Parameters

Arguments are a JSON object. The published schema does not permit unknown top-level fields. Some retained CLI JSON flags are strings containing JSON; follow the declared type.

actorstringOptional

Actor recorded on writes and audit entries.

Schema default: "operator"

checkbooleanOptional

Call configured cloud endpoints to verify live access.

Schema default: false

usagebooleanOptional

Call the usage tool even when --check is not set.

Schema default: false

Complete input JSON Schema
Complete input schema · JSON
{  "additionalProperties": false,  "properties": {    "actor": {      "default": "operator",      "description": "Actor recorded on writes and audit entries.",      "type": "string"    },    "check": {      "default": false,      "description": "Call configured cloud endpoints to verify live access.",      "type": "boolean"    },    "usage": {      "default": false,      "description": "Call the usage tool even when --check is not set.",      "type": "boolean"    }  },  "required": [],  "type": "object"}

Behavior & authority

MCP uses the runtime host’s state and configured credentials. It is not a separately authenticated remote multi-user service.

Rules shared by mcp configuration operations
  • Use tools/list for current input schemas and tools/call for execution. Protocol version is 2025-11-25.
  • Paths and environment-variable references refer to the server host. MCP configuration does not enroll a ledger or start an agent.
  • Application failures set isError; inspect structured error reason/code. Resources, prompts, cancellation and progress are not implemented.

Response

Returns the command’s structured payload. The runtime output manual documents the payload families; no standalone response JSON Schema is published for this operation.

CLI tools/call result: payload.tool.result. Response envelopes across CLI, SDK and MCP ↗

The runtime does not publish a standalone response JSON Schema for this operation. Use the response description and linked output manual; the downloadable input schema is not a response contract.

Errors & retries

This operation uses the shared runtime error contract; no exhaustive operation-specific reason list is published.

For an uncertain write, preserve the original request and retry identity. On conflict, inspect current state before deciding what to change.