Skip to content
OpenPostDocs
OpenPostDocs

Connect OpenCode

Add OpenPost to OpenCode using remote MCP and OAuth.

Add OpenPost as a remote server in OpenCode. OpenCode can open the browser sign-in when it first reaches a server that requires OAuth.

Configure the server

Merge this entry into your OpenCode configuration, such as opencode.json:

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

The server name belongs directly under mcp. OpenCode's current MCP configuration guide uses this shape for remote servers.

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