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

# AdStellar MCP Server

> Connect Claude, ChatGPT, Cursor, or your own agents to AdStellar over the Model Context Protocol — generate copy, query performance, browse models and avatars, and manage campaigns programmatically.

The AdStellar MCP server exposes the platform's creative-generation and ads-management surface as MCP tools, so any MCP-compatible client can drive AdStellar on your behalf.

**Endpoint** (streamable HTTP, stateless — no SSE required):

```
https://app.adstellar.ai/api/mcp
```

## What you can do

* **Generate ad copy** grounded in your brand kit (`generate_ad_copy`)
* **Query performance** across campaigns, ad sets, and ads (`query_performance`)
* **Discover models** — image, video, TTS, and lipsync registries with cost and capability metadata (`list_models`)
* **Browse avatars and voices** for talking-actor videos (`list_avatars`, `list_voices`)
* **Manage org data** — team info, credit balance, brand kit, products, projects, ad accounts
* **Search your asset library** and inspect campaigns and launches

## Multi-model by design

AdStellar is multi-model. The MCP does not expose one tool per model — instead:

1. Call `list_models` with a `capability` filter (`image`, `video`, `tts`, `lipsync`) to enumerate available models, their providers, costs, and limits.
2. Pass the chosen model's `id` as the `model` parameter of a generation tool. Omit it to use the default router (best quality-per-credit for the job).

## Credits & billing

<Note>
  Image and video generation over the MCP server **and** the REST API draw AI credits from your team's balance, exactly like generating inside the app. Ad copy and all read-only requests (analytics, model/avatar listings, status checks, org data) are free. Check your balance anytime with the `get_credit_balance` tool, and see per-model costs via `list_models`.
</Note>

## Authentication

The MCP uses team-scoped API keys (`ast_live_...`). See [Authentication](/api-mcp/authentication). OAuth 2.1 is on the roadmap.

## Next steps

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/api-mcp/authentication">
    Create and scope your API key.
  </Card>

  <Card title="Quickstart" icon="rocket" href="/api-mcp/quickstart">
    Connect Claude Desktop in two minutes.
  </Card>

  <Card title="Tool reference" icon="wrench" href="/api-mcp/tools">
    Every tool, its scopes, and its parameters.
  </Card>
</CardGroup>
