Description
piston-mcp is designed for Claude Code but doesn't work with OpenCode which uses a different MCP configuration schema.
The Problem
OpenCode requires this format:
{
mcp: {
piston: {
type: local,
command: [uv],
args: [tool, run, --from, git+https://github.com/alvii147/piston-mcp.git@main, piston_mcp],
enabled: true
}
}
}
But this fails with: Invalid input mcp.piston
Claude Code uses:
{
mcpServers: {
piston: {
command: uv,
args: [tool, run, --from, git+https://github.com/alvii147/piston-mcp.git@main, piston_mcp]
}
}
}
Questions
- Does piston-mcp support the OpenCode MCP schema?
- Is there a workaround to use piston-mcp with OpenCode?
- Would you consider adding OpenCode support?