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 API key

Setup

1

Add the MCP server

Run the following command in your terminal:
claude mcp add --transport http trypost https://app.trypost.it/mcp/trypost \
  --header "Authorization: Bearer tp_your_api_key_here"
Replace tp_your_api_key_here with your actual API key from the TryPost dashboard.
This adds the server to your project’s .mcp.json file. To add it globally instead, append the --scope user flag.
2

Verify the connection

Start Claude Code and ask it to interact with your TryPost account:
claude
List all my scheduled posts

Manual configuration

You can also configure the server manually by creating a .mcp.json file in your project root:
{
  "mcpServers": {
    "trypost": {
      "type": "http",
      "url": "https://app.trypost.it/mcp/trypost",
      "headers": {
        "Authorization": "Bearer tp_your_api_key_here"
      }
    }
  }
}
For global configuration, add the same to ~/.claude.json.

Example prompts

Once connected, you can use natural language to manage your TryPost account:
Create a new post scheduled for tomorrow at 10am
Show me all my connected social accounts
Create a hashtag group called "SaaS Marketing" with #saas #marketing #growth #startup
List all my labels