Claude-Opencode-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | No | Python path to the source directory, e.g. 'src'. | |
| DEFAULT_IDE | No | Preferred execution environment: 'cli_direct', 'vs_code', or 'antigravity'. | cli_direct |
| VSCODE_PATH | No | Path to the VS Code executable (code.cmd or code.exe). Overrides PATH lookup. | |
| OPENCODE_PATH | No | Path to the OpenCode CLI executable (opencode, opencode.cmd, or opencode.exe). Overrides PATH lookup. | |
| ANTIGRAVITY_PATH | No | Path to the Antigravity IDE executable (antigravity-ide.cmd). Overrides PATH lookup. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| delegate_to_opencodeA | Delegate a real-time software engineering instruction to OpenCode CLI. Claude Desktop acts as the Planner and Architect. OpenCode CLI acts as the Coding Engineer. The dynamic prompt is forwarded unchanged to OpenCode executing in the target workspace. Args: prompt: Dynamic, real-time natural language engineering instruction generated by Claude. workspace_path: Absolute or relative local workspace directory path. ide: Optional IDE environment preference ('vs_code', 'antigravity', or 'cli_direct'). |
| continue_opencodeA | Continue an active OpenCode engineering session while preserving session context. Use this tool to send follow-up instructions, fix build/test failures, or proceed to the next engineering task in the development loop. Args: interaction_id: The OpenCode session ID of the previous interaction session to continue. prompt: Dynamic follow-up instruction generated by Claude Desktop. workspace_path: Local workspace directory path. ide: Optional IDE environment preference ('vs_code', 'antigravity', or 'cli_direct'). |
| open_workspace_in_ideB | Open an existing workspace directory in VS Code or Antigravity IDE. Args: workspace_path: Directory path of the workspace to open. ide: Target IDE ('vs_code' or 'antigravity'). Defaults to configured default IDE. |
| get_opencode_statusA | Check OpenCode CLI executable availability, version, and IDE readiness. |
| delegate_to_antigravityC | Alias for delegate_to_opencode. |
| ask_antigravityD | Alias for delegate_to_opencode. |
| continue_antigravityD | Alias for continue_opencode. |
| get_antigravity_statusB | Alias for get_opencode_status. |
| open_antigravity_workspaceC | Alias for open_workspace_in_ide with Antigravity IDE. |
| get_antigravity_workspaceB | Query currently active workspaces in local IDE. |
| inspect_antigravity_workspaceC | Inspect local workspace directory structure and manifest files. |
| read_antigravity_workspace_fileC | Safely read content of a workspace file. |
| diagnose_antigravity_workspaceC | Run project diagnostics in local workspace. |
| fix_antigravity_workspaceC | Apply targeted file write within workspace boundary. |
| launch_antigravity_workspaceC | Launch application in workspace using detected launcher. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Joshua-zlitch/Claude-Opencode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server