Skip to main content
Before configuring your AI client, generate a workspace API key in Dashboard -> Settings -> API Keys (inst_live_...).

1. Claude Desktop

Add instance to your Claude Desktop configuration file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop. You will see the Instance tools ready to use inside your chat.

2. Cursor and Windsurf

In Cursor settings under Features -> MCP Servers:
  1. Click + Add New MCP Server.
  2. Set Name to instance and Type to command.
  3. Set Command to npx -y instance-mcp.
  4. Add environment variables INSTANCE_API_KEY and INSTANCE_API_URL.

3. Claude Code CLI

Add the server directly from your terminal:
Set INSTANCE_API_KEY and INSTANCE_API_URL in your shell environment.

4. Local Self-Hosted (Docker or Dev)

If you are running Instance locally on your own machine or private server, point INSTANCE_API_URL to http://localhost:4000: