OpenCode MCP Server

opencode-mcp connects Claude, Cursor, VS Code, and other MCP clients to OpenCode's headless API. Ask questions, implement features, monitor background work, respond to questions and permissions, and…

Local serverstdioMIT

What is the OpenCode MCP Server?

OpenCode is an MCP project maintained in the alaeddinemessadi/opencode-mcp repository. The maintainer describes its purpose as “opencode-mcp connects Claude, Cursor, VS Code, and other MCP clients to OpenCode's headless API. Ask questions, implement features, monitor background work, respond to questions and…”. Read the project documentation for the complete scope.

Installation

The documented npm package is opencode-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the OpenCode MCP Server

{
  "mcpServers": {
    "opencode": {
      "command": "npx",
      "args": [
        "-y",
        "opencode-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.