Skip to main content

Get Your API Key

Generate an API key from your dashboard settings under API & Integrations → API Keys.
Keep your API key secret. Never commit it to version control or share it publicly.

Install the CLI

The MCP server is built into the CLI package:
npm install -g @autoposting.ai/cli

Connect Your Client

Add to your Claude Desktop MCP settings (claude_desktop_config.json):
{
  "mcpServers": {
    "autoposting": {
      "command": "ap",
      "args": ["mcp"],
      "env": { "AUTOPOSTING_API_KEY": "sk-social-your-key" }
    }
  }
}
Restart Claude Desktop. The 51 Autoposting tools appear automatically.

Verify the Connection

Ask your AI assistant:
List my brands using Autoposting.
You should see your brands returned. If you get an auth error, confirm your API key is valid and not expired.

Authentication

Use any API key — scopes on the key determine which tools are available.
# CLI MCP uses env var
AUTOPOSTING_API_KEY=sk-social-your-key ap mcp

# Or pass as flag
ap mcp --api-key sk-social-your-key
Keys with restricted scopes see fewer tools. Generate a full-access key for the complete 51-tool set.

Tools Reference

Input schemas and examples for all 51 tools.

MCP Overview

Architecture and tool summary.

Get an API Key

API key creation and scopes.

CLI Commands

Same operations via terminal.