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

# MCP Server Overview

> Connect Claude Desktop, Cursor, Windsurf, and Claude Code directly to your Instance workspace using instance-mcp.

**`instance-mcp`** is the official Model Context Protocol (MCP) server for Instance. It runs locally as a standard I/O bridge so AI assistants like Claude Desktop, Cursor, Windsurf, and Claude Code can talk directly to your CRM, Sales Chat, Automations, and Content Scheduler.

All communication between your AI assistant and Instance happens over encrypted HTTPS calls authenticated with your workspace API key (`inst_live_...`).

***

## 1. What You Can Ask Your AI Assistant to Do

* Look up Instagram leads, check qualification scores, and read DM history.
* Create contacts, update deal stages, apply tags, and assign leads to teammates.
* Toggle AI on or off in Sales Chat, leave internal Whisper Notes, and close deals as Won.
* Schedule Instagram Photos, Reels, Carousels, and Stories.
* Trigger automation funnels and inspect pipeline analytics.

***

## 2. Quick Start

You do not need to install this package manually. AI clients run it on demand using `npx`:

```bash theme={null}
npx -y instance-mcp
```

***

## 3. Environment Variables

| Variable | Required | Default | Description |
| :- | :- | :- | :- |
| **`INSTANCE_API_KEY`** | **Yes** | None | Your Instance secret API key (`inst_live_...`) from **Dashboard -> Settings -> API Keys** |
| **`INSTANCE_API_URL`** | No | `https://tryinstance.vercel.app` | Base API URL. For local self-hosted or Docker setups, set to `http://localhost:4000` |

***

## Next Steps

* Connect your favorite AI client in [MCP Client Setup](/docs/mcp/clients.md).
* Browse all 54 registered tools in [MCP Tools Reference](/docs/mcp/tools.md).


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