Skip to content
OpenPostDocs
OpenPostDocs

Connect OpenCode

Add OpenPost to OpenCode using remote MCP and OAuth.

Configure OpenPost as a remote server and let OpenCode handle the browser authorization.

Configure the server

In OpenCode v2, merge this into your OpenCode configuration:

{
  "mcp": {
    "servers": {
      "openpost": {
        "type": "remote",
        "url": "https://app.openpo.st/mcp"
      }
    }
  }
}

Earlier OpenCode configurations place openpost directly under mcp, without the servers wrapper. Follow the schema for your installed version if it rejects this shape.

Authorize and test

opencode mcp auth openpost
opencode mcp list

Complete OpenPost's consent with read-only access for reviews or full access for changes. Start a session and ask, “List my OpenPost workspaces,” then request the schedule for a named workspace.

If it does not connect

Use opencode mcp debug openpost to investigate authentication. Re-run opencode mcp auth openpost if your login expired. Check that the URL ends in /mcp and is reachable from the machine running OpenCode.

See OpenCode MCP configuration for the current schema.

On this page