opencode-mcp

data-ai MCP Server

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.

VerifiedInstall ReadyReviewed
data-aidata-ai
7 views62 stars13 forksv1.10.1MIT

Why This Matters

Discovered via github-seeds:mcp-hot and last synced 3mo ago.

VerifiedInstall ReadyReviewed
Source
github-seeds:mcp-hot
Stars
62
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx opencode-mcp

2. Add to claude_desktop_config.json

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

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

37
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (37)

opencode-code-review

Review diffs from a session

OPENCODE_SERVER_PASSWORD

*(none)*

opencode_run

Send a task and wait for completion (session + async send + polling)

opencode_status

Health + providers + sessions + VCS dashboard

3

Get/update configuration

opencode-best-practices

Setup, tool selection, monitoring, and pitfalls

opencode_fire

Fire-and-forget: dispatch a task, return immediately

Category

Count

2

List and inspect projects

opencode-session-summary

Summarize what happened in a session

opencode_ask

Create session + send prompt + get answer. One call.

opencode_wait

Poll an async session until it finishes

9

Remote-control the OpenCode terminal UI

opencode-project-setup

Get oriented in a new project

opencode_check

Compact progress report for a running session (status, todos, files changed)

13

Health, VCS, LSP, MCP servers, agents, logging

1

Poll real-time SSE events

Variable

Default

Tool

What it does

opencode_context

Project + VCS + config + agents in one call

opencode_reply

Follow-up message in an existing session

opencode_provider_test

Quick-test whether a provider is working

opencode-implement

Have OpenCode build a feature

OPENCODE_DEFAULT_MODEL

*(none)*

opencode_conversation

Get formatted conversation history

20

Create, list, fork, share, abort, revert, permissions

URI

Description

OPENCODE_BASE_URL

`http://127.0.0.1:4096`

opencode_sessions_overview

Quick overview of all sessions

opencode_setup

Check server health, providers, and project status. Use first.

opencode_review_changes

Formatted diff summary for a session

opencode-debug

Step-by-step debugging workflow

OPENCODE_AUTO_SERVE

`true`

OPENCODE_DEFAULT_PROVIDER

*(none)*

6

List providers/models, set API keys, OAuth

Prompt

Description

OPENCODE_SERVER_USERNAME

`opencode`