Skip to main content
Claude Code is Anthropic’s CLI tool for working with Claude directly in your terminal. You can connect it to TryPost’s MCP server to manage your social media scheduling with natural language.

Prerequisites

  • Claude Code installed (npm install -g @anthropic-ai/claude-code)
  • A TryPost Cloud account with an active trial or subscription (no card required to start)

Setup

1

Add the TryPost MCP server

Run the following command in your terminal:
claude mcp add --transport http trypost https://app.trypost.it/mcp/trypost
This registers the server in the project’s .mcp.json. Append --scope user to make it available across all projects.
2

Sign in through your browser

Start Claude Code and trigger the first TryPost call:
claude
List all my scheduled posts
Claude Code opens a browser window asking you to sign in to TryPost and authorize the connection. Click Allow — Claude Code stores the OAuth token and refreshes it automatically from then on.

Manual configuration

If you prefer to edit the config file directly, this is what claude mcp add writes (no Authorization header — OAuth is discovered from the URL):
{
  "mcpServers": {
    "trypost": {
      "type": "http",
      "url": "https://app.trypost.it/mcp/trypost"
    }
  }
}
Drop it in .mcp.json for project scope or ~/.claude.json for user scope.
When you can’t open a browser — CI runners, remote SSH boxes, scripts — use a Personal Access Token instead:
claude mcp add --transport http trypost https://app.trypost.it/mcp/trypost \
  --header "Authorization: Bearer YOUR_API_KEY"
Create the key from Settings > API Keys in the TryPost dashboard. Store it in your secrets manager, not in a committed file.

Example prompts

Create a new post scheduled for tomorrow at 10am
Show me all my connected social accounts
Create a signature called "SaaS Marketing" with #saas #marketing #growth #startup
List all my labels