kud

MCP Opencode โ€” AI skill for Claude Code

AI community

๐Ÿ”ฎ Query any model configured in opencode from Claude โ€” zero API keys, auto-starts the server.

How to install MCP Opencode

This entry records only its repository, not the path inside it, so there is no exact command to give. Open kud/mcp-opencode and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What MCP Opencode does

๐Ÿ”ฎ Query any model configured in opencode from Claude โ€” zero API keys, auto-starts the server.

Alternatives in AI

  • MCP Server Excel โ€” Automate real Microsoft Excel with AI via MCP Server or CLI โ€” Power Query, DAX, VBA, PivotTables, and charts 961 โ˜…
  • OpenKeylet โ€” OpenKeylet โ€” Local password and credential manager for AI agents via MCP 136 โ˜…
  • Ask All โ€” Ask GPT, Gemini, Grok, and any configured OpenRouter models in parallel for independent second opinions, then 135 โ˜…

README

![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=flat-square&logo=typescript&logoColor=white) ![Node.js](https://img.shields.io/badge/Node.js-339933?style=flat-square&logo=node.js&logoColor=white) ![npm](https://img.shields.io/npm/v/@kud/mcp-opencode?style=flat-square&color=CB3837) ![MIT](https://img.shields.io/badge/licence-MIT-22C55E?style=flat-square)

**MCP server for opencode โ€” query github-copilot models via a persistent opencode server.**

Website ยท Documentation

Features

  • Zero API key โ€” routes prompts through a locally running opencode server, so no provider credentials are needed in your AI client.
  • Multi-model support โ€” any model configured in opencode is available; query GPT-4.1, Claude, Gemini, or any other supported provider.
  • Model filtering โ€” restrict or block models via MCP_OPENCODE_MODEL_ALLOW and MCP_OPENCODE_MODEL_BLOCK environment variables using glob-style patterns.
  • Talk to a live session โ€” list_sessions, send and read let your assistant hold a conversation with a running opencode session, such as the one open in your TUI, and the exchange shows up there live.
  • Headless jobs โ€” start_instance, task, wait, list_instances and stop_instance run work on a private opencode server per job, with guard rails (no git push, no credentials, no permission prompts) and a ready-made opencode --server command to watch it live.
  • Auto-start โ€” if opencode's background service is not running, query and list_models start it the same way the TUI does.
  • Session isolation โ€” each query call creates and destroys its own opencode session, so one-off questions leave nothing behind.
  • Works everywhere โ€” compatible with Claude Desktop, Claude Code, Cursor, Windsurf, VSCode, and any MCP-capable client.

Install

npm install -g @kud/mcp-opencod