> ## Documentation Index
> Fetch the complete documentation index at: https://elarislabs-87.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP overview

> How to connect ElarisLabs Creative Studio to Claude, Cursor, and other MCP clients so your agent can generate images, video, audio, and brand packs with a single prompt.

Connect ElarisLabs Creative Studio to Claude, Cursor, and other MCP clients.

Generate images, video, audio, brand packs, captions, and composer edits from any
agent that speaks MCP. Credits bill to the brand your API key is bound to.

## What is MCP?

The Model Context Protocol (MCP) is an open standard for connecting AI
assistants to external tools and data.

Instead of copy-pasting API docs into a chat, the client discovers callable
tools from a server. The model invokes them when your prompt needs real actions,
like generating an image, listing projects, or resizing a brand pack.

```
You (prompt) -> MCP client (Claude, Cursor) -> ElarisLabs MCP (/api/mcp) -> Creative Studio (models + credits)
```

> [card] Tools, not chat plugins
>
> The agent sees structured tools with schemas. It picks the right one and
> passes arguments. No manual API calls.

> [card] Remote HTTP
>
> ElarisLabs runs a hosted MCP endpoint. No local install required. Just paste
> a JSON config and your API key.

> [card] Brand-scoped billing
>
> Every key is bound to one brand. Generation tools deduct credits from that
> brand's balance. Discovery tools are free.

## How does the connection work?

1. Create a **brand-bound API key** with an expiry and spend cap
2. Point your MCP client at `https://studio.elarislabs.ai/api/mcp` with that key
3. Call discovery tools (free), then generation tools (credits)

| Aspect | Details |
| - | - |
| Protocol | MCP over Streamable HTTP at `/api/mcp` |
| Auth | `Authorization: Bearer elx_live_...` header on every request |
| Session | Stateless. No persistent connection to manage |
| Timeouts | Video and brand-pack jobs may take 30 to 90 seconds |
| Errors | Invalid, expired, or revoked keys return auth errors. Insufficient credits return a billing error |

## Where do I go next?

> [card] [Setup guide](https://elarislabs-87.mintlify.site/connect/setup.md)
>
> Claude Desktop, Cursor, and other client configs.

> [card] [API keys](https://elarislabs-87.mintlify.site/connect/api-keys.md)
>
> Create, rotate, and revoke brand-bound keys.

> [card] [Tool reference](https://elarislabs-87.mintlify.site/connect/tools.md)
>
> Full list of free and paid MCP tools.

> [card] [Slack](https://elarislabs-87.mintlify.site/connect/slack.md)
>
> Same tools via the Slack worker, without MCP.


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