import { Steps, Callout, Tabs } from "nextra/components"; import { SignupLink } from "@/app/_components/analytics"; # Use Arcade in Cursor Connect Cursor to an Arcade MCP Gateway. 1. Create an Arcade account 2. Get an [Arcade API key](/get-started/setup/api-keys) 3. Create an [Arcade MCP Gateway](/guides/create-tools/mcp-gateways) and select the tools you want to use Cursor currently does not refresh the MCP OAuth tokens automatically. To set a persistent connection between Cursor and your MCP Gateway, you should set the `Authorization` field to "Arcade Headers" in the dashboard. ### Set up Cursor 1. Open the Command Palette (`Cmd + Shift + P` on macOS, `Ctrl + Shift + P` on Windows/Linux) and select **Open MCP Settings** 1. Click on the "New MCP Server" button Cursor will open the MCP settings file, and you can add a new entry to the `mcpServers` object: ```json { "mcpServers": { "mcp-arcade": { "url": "https://api.arcade.dev/mcp/" } } } ``` ```json { "mcpServers": { "mcp-arcade": { "url": "https://api.arcade.dev/mcp/", "headers": { "Authorization": "Bearer {arcade_api_key}", "Arcade-User-ID": "{arcade_user_id}" } } } } ``` ### Try it out 1. Open the chat pane (typically command-l) 1. Make sure you are in **Agent** mode 1. Ask the agent to use a tool!