{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-06-18","capabilities":{"logging":{},"tools":{"listChanged":true},"completions":{}},"serverInfo":{"name":"ocmcp","version":"0.1.0"},"instructions":"This server exposes an OpenCode instance to another agent.\n\nUse the specialist tools for common work:\n- opencode_session_list / opencode_session_read to find and inspect sessions.\n- opencode_session_create to start a session in a project directory.\n- opencode_session_prompt to send a prompt, then opencode_session_wait and\n  opencode_session_read to get the reply.\n- opencode_agent_list / opencode_model_list to discover available agents and models.\n\nUse opencode_request for any other OpenCode HTTP API endpoint. It returns the\nHTTP status and decoded JSON body."}}
