OpenCode
On this page
Use a local MCP server in OpenCode for the project workspace. Install Node.js 22 or newer and make npx available to OpenCode.

- Open the project directory.
- Add
owlmeanstoopencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"owlmeans": {
"type": "local",
"command": ["npx", "-y", "@owlmeans/viable-mcp@^0.1.18-rc.50", "--harness", "opencode"],
"enabled": true,
"timeout": 90000
}
}
}
- Restart OpenCode and inspect the server with its MCP status commands.
- Use browser authorization when OwlMeans requests access.
For hosted-only work, a remote definition uses type: "remote" and url: "https://api.owlmeans.com/mcp". OpenCode provides mcp auth, mcp list and mcp logout for supported remote authorization. See the official MCP guide.
Set only one intended definition for owlmeans in a session. The command array keeps arguments separate and avoids shell quoting problems.
Check the connection
- Complete OwlMeans browser sign-in when requested.
- Ask the agent to call
describe_platformandsession_status. - Verify the intended project, workspace and inference mode.
- Ask it to inspect or install the project harness.
- Start a small generation or story workflow.
The examples use a local target. Add --target, cloud as separate arguments for a hosted project. Add --llm, local for delegated inference only when the connected coding agent will handle tasks. Mode selection explains the effects and costs.
Keep access tokens out of committed configuration. Restart the client after changing the server settings. If a tool is absent, inspect the connected server’s tool list and troubleshoot.
Names and marks
OpenAI, ChatGPT and related OpenAI marks belong to OpenAI; Codex is an OpenAI product. Usage policy.
Claude and Claude Code are Anthropic products; their names and marks remain with their respective owner. Usage policy.
Node.js, npx, OpenCode names and any associated marks remain with their respective owners or project maintainers. References identify products, standards or source examples. OwlMeans documentation does not imply sponsorship or endorsement by those owners.