opencode-mcp MCP Server
AlaeddineMessadi/opencode-mcp
[](https://agentrank-ai.com/tool/AlaeddineMessadi--opencode-mcp/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) MCP server for OpenCode AI — 70 tools, 10 resources, 5 prompts. Use npx opencode-mcp with Claude Desktop, Claude Code, Cursor, Windsurf, or any MCP client.
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
AlaeddineMessadi/opencode-mcp is a TypeScript MCP server licensed under MIT. MCP server for OpenCode AI — 70 tools, 10 resources, 5 prompts. Use npx opencode-mcp with Claude Desktop, Claude Code, Cursor, Windsurf, or any MCP client. Topics: ai, ai-coding, ai-tools, claude, claude-desktop, coding-assistant, cursor, developer-tools, headless-api, llm, mcp, mcp-server, mcp-tools, model-context-protocol, nodejs, npx, opencode, opencode-ai, typescript, windsurf.
Ranked #2100 out of 24846 indexed tools.
In the top 9% of all indexed tools.
Ecosystem
Score Breakdown
148 stars → growing community
Last commit 1mo ago → moderate activity
10/12 issues closed → responsive maintainer
6 contributors → small team
No dependents → no downstream usage
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
How to Improve
Matched Queries
From the README
# opencode-mcp
**Delegate coding work to OpenCode from your MCP client.**
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 review changes across projects.
> Version 3.0.0 requires **Node.js 22 or newer**. Upgrading from 2.x? See the [migration notes](CHANGELOG.md#300---2026-09-16).
## Quick Start
Install [OpenCode](https://opencode.ai/docs/) and start its server from your project:
```bash
opencode serve --hostname 127.0.0.1 --port 4096
```
If you use the TUI, start it with `opencode --port 4096` and share that server. Set `OPENCODE_BASE_URL` for another endpoint.
For Claude Code:
```bash
claude mcp add opencode -- npx -y opencode-mcp
```
For clients using an `mcpServers` configuration:
```json
{
"mcpServers": {
"opencode": {
"command": "npx",
"args": ["-y", "opencode-mcp"]
}
}
}
```
Restart the client a Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.