> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autoposting.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> 67 tools for Claude, Cursor, and any AI agent to manage your social media autonomously.

Let AI assistants create posts, schedule content, run agents, search knowledge bases, and manage your entire social media presence — through natural language.

<CardGroup cols={2}>
  <Card title="Posts & Content" icon="paper-plane">
    Create, schedule, publish, retry, AI-rewrite, and AI-score posts across connected platforms, including Facebook Pages beta.
  </Card>

  <Card title="Brands & Agents" icon="tag">
    Manage brands, check platform connections, create and run autonomous AI agents.
  </Card>

  <Card title="Knowledge Base" icon="book">
    Search documents, ingest URLs, create knowledge bases for AI-grounded content.
  </Card>

  <Card title="Clips & Carousels" icon="film">
    Import videos, render clips, generate carousels, and convert to post drafts.
  </Card>
</CardGroup>

## Two Ways to Connect

<Tabs>
  <Tab title="CLI MCP Server (Recommended)">
    Built into the `@autoposting.ai/cli` npm package. Runs locally via stdio transport.

    ```bash theme={null}
    npm install -g @autoposting.ai/cli
    ap mcp    # starts stdio MCP server with 67 tools
    ```

    **Best for:** Claude Desktop, Cursor, Claude Code, any stdio MCP client.
  </Tab>

  <Tab title="Remote MCP Server">
    Hosted at `https://app.autoposting.ai/mcp` via Streamable HTTP transport. No install required.

    Discover the currently available tools through the remote server’s `tools/list` response; its catalog differs from the local CLI server.

    **Best for:** Cloud-hosted agents, Claude.ai (OAuth 2.1 supported).
  </Tab>
</Tabs>

## Available Tools

See the [tools reference](/mcp/tools) for all 67 exact input schemas across posts, brands, agents, knowledge bases, ideas, media, clips, carousels, webhooks, billing, usage and account imports.

For exact required parameters, use the [released input schemas](/mcp/tools). All tools use domain terminology (`brandSlug`, `text`) — no translation layer needed.

<CardGroup cols={2}>
  <Card title="Setup Guide" icon="gear" href="/mcp/setup">
    Connect in under 2 minutes — Claude Desktop, Cursor, or generic.
  </Card>

  <Card title="Tools Reference" icon="wrench" href="/mcp/tools">
    Input schemas, example calls, and responses for all 67 tools.
  </Card>

  <Card title="CLI" icon="terminal" href="/cli/overview">
    Prefer the terminal? Use the CLI directly.
  </Card>

  <Card title="TypeScript SDK" icon="brackets-curly" href="/sdks/typescript">
    Build your own integrations with the SDK.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.