Opencode is a terminal-based AI assistant for developers. It provides intelligent coding assistance, including code completion, debugging, and documentation lookup. It connects to GitHub for repository access and integrates with popular version control systems. Developers use it to streamline coding tasks, improve productivity, and maintain code quality.
Opencode is a terminal-based AI assistant for developers. It provides intelligent coding assistance, including code completion, debugging, and documentation lookup. It connects to GitHub for repository access and integrates with popular version control systems. Developers use it to streamline coding tasks, improve productivity, and maintain code quality.
Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"opencode-ai-opencode-github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-opencode-ai-opencode-github"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from opencode?"
API Key Required
This server requires an API key from opencode. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| OPENCODE_API_KEY | Yes | Your opencode API key |
"What resources are available in opencode?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in opencode"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in opencode with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.