Skip to content

OpenCode

Add OpenQuok to OpenCode with opencode mcp add and remote HTTP MCP.

2 min read

Connect your agent today

Draft from chat, review in your calendar, and publish only what you approve.

Start your free trial

Prerequisites

  • OpenCode installed (terminal, desktop, or web). See MCP servers in the official docs.
  • An OpenQuok programmatic token (opo_) from Developers → Access.

OpenCode is not Cursor and not an OpenQuok agent host. You connect OpenQuok as a remote MCP server inside OpenCode config.

Setup

Generate your token

In the OpenQuok app, open Account → Settings → Developers → Access. Create an OAuth app if prompted, then generate an opo_… token.

Generate programmatic token

Register the OpenQuok MCP server

Run one of the following, or merge the JSON into ~/.config/opencode/opencode.jsonc. Server name is always openquok. Set oauth to false so OpenQuok uses your programmatic token instead of OAuth.

Confirm registration

List MCP servers:

opencode mcp list

You can also run /mcps inside OpenCode and confirm openquok shows as connected.

Start a new session and verify

In a fresh session, ask:

List my connected social media accounts

OpenCode should call OpenQuok tools and return your workspace channels.

Self-hosted API

Use your BACKEND_DOMAIN_URL origin instead of https://api.openquok.com. OpenCode must reach your API over public HTTPS when you run outside your LAN.

Search documentation
Find a docs page
Discord Support