Skip to main content
Glama
TAO-MINGYU

Codex to OpenCode MCP Server

by TAO-MINGYU

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENCODE_MCP_ARGSNoJSON array inserted after the executable (useful for wrappers/tests).[]
OPENCODE_MCP_COMMANDNoExecutable name or absolute path to the OpenCode CLI.opencode
OPENCODE_MCP_LOG_LEVELNoServer log level written to stderr.INFO
OPENCODE_MCP_AUTO_APPROVENoAdd OpenCode's --auto permission flag.true
OPENCODE_MCP_MAX_OUTPUT_BYTESNoTail bytes retained independently for stdout/stderr.2097152

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
opencode_executeA

Delegate one repository coding task to OpenCode.

OpenCode runs non-interactively in the supplied directory, may read and modify files, execute terminal commands, run tests, and use Git. The result contains OpenCode's final text, observed tool calls, diagnostics, and the final Git working-tree diff. The Git diff is a post-run snapshot and can include changes that existed before this call.

opencode_checkA

Resolve the configured OpenCode executable and report its version.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/TAO-MINGYU/codex_to_opencode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server