opencode-debug
Step-by-step debugging workflow
How to use it
opencode-debug is exposed by the Opencode MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the opencode-debug tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Opencode MCP
claude mcp add opencode -- npx -y opencode-mcpOther tools in Opencode MCP (18)
Create session + send prompt + get answer. One call.
Compact progress report for a running session (status, todos, files changed)
Project + VCS + config + agents in one call
Get formatted conversation history
Fire-and-forget: dispatch a task, return immediately
Quick-test whether a provider is working
Follow-up message in an existing session
Formatted diff summary for a session
Send a task and wait for completion (session + async send + polling)
Quick overview of all sessions
Check server health, providers, and project status. Use first.
Health + providers + sessions + VCS dashboard
Poll an async session until it finishes
Setup, tool selection, monitoring, and pitfalls
Review diffs from a session
Have OpenCode build a feature
Get oriented in a new project
Summarize what happened in a session