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
Claude Desktop
Cursor
Claude Code
Remote (no install)
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. Open Settings → MCP and add:{
"autoposting": {
"command": "ap",
"args": ["mcp"],
"env": { "AUTOPOSTING_API_KEY": "sk-social-your-key" }
}
}
Tools are available in Composer and Agent mode. Add to .claude/settings.json:{
"mcpServers": {
"autoposting": {
"command": "ap",
"args": ["mcp"],
"env": { "AUTOPOSTING_API_KEY": "sk-social-your-key" }
}
}
}
For cloud-hosted agents or Claude.ai, use the remote endpoint:{
"mcpServers": {
"autoposting": {
"url": "https://app.autoposting.ai/mcp",
"headers": {
"Authorization": "Bearer sk-social-your-key"
}
}
}
}
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.