Skip to main content
OpenCode is an open-source AI coding assistant that runs in your terminal. You can connect it to TryPost’s MCP server to manage your social media scheduling with natural language.

Prerequisites

Setup

1

Open the configuration file

Edit opencode.json in your project root (or ~/.config/opencode/opencode.json for global config):
No Authorization header — OpenCode discovers OAuth from the URL.
2

Sign in via mcp login

Run the OAuth flow explicitly so OpenCode caches the token:
OpenCode opens your browser to TryPost; approve the request and return to the terminal.
3

Verify the connection

Inside OpenCode, ask:
If anything looks off, opencode mcp debug trypost prints the current token state.
OpenCode also supports opencode mcp logout trypost to revoke the cached token if you need to switch accounts.

Example prompts