MCP Gateway · AI clients
Speakeasy for OpenCode
Connect OpenCode to every approved MCP server through one governed path, for developers using the open source OpenCode agent.
Terminal45 catalog servers
Connect
Connect OpenCode to Speakeasy
Add the server to OpenCode's own mcp config block as a remote server.
- Copy the server's URL from its hosted install page in Speakeasy.
- Add it to the
mcpblock of your OpenCode config withtypeset toremote. - Restart OpenCode and sign in when prompted.
{
"mcp": {
"<server slug>": {
"type": "remote",
"url": "<URL from the hosted install page>"
}
}
}OpenCode doesn't receive MCP servers from plugins. The observability package is installed separately, from a ZIP or with speakeasy-hooks install --provider=opencode, and the device agent can maintain it.
Control
What Speakeasy can see and stop in OpenCode
Prompt and tool-call blocking
The OpenCode plugin sends each prompt and tool call to Speakeasy, which allows or denies it before it runs.
Usage telemetry
Token and cost totals flow through the plugin, reported per turn.
Device agent
The device agent installs and maintains the observability package.
Catalog
MCP servers for OpenCode
AI & search
Project management