Skip to content

OpenCode configuration validation error - Invalid input mcp.piston #1

@Ev3lynx727

Description

@Ev3lynx727

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

  1. Does piston-mcp support the OpenCode MCP schema?
  2. Is there a workaround to use piston-mcp with OpenCode?
  3. Would you consider adding OpenCode support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions