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

# Set up Formswrite in your AI app

> Three steps to connect Claude Desktop, Cursor, or ChatGPT to your Formswrite account

You'll need a Formswrite auth token and the config snippet for your AI app. Total time: about 3 minutes.

## 1. Get your auth token

1. Sign in to [Formswrite](https://formswrite.com).
2. Open **Settings**.
3. Click **Generate Auth Token** and copy it.

<Warning>
  The token gives full access to your Formswrite account. Don't share it.
</Warning>

## 2. Add Formswrite to your AI app

<Tabs>
  <Tab title="Claude Code">
    Run this one command in your terminal (replace `YOUR_TOKEN`):

    ```bash theme={null}
    claude mcp add --transport http formswrite "https://mcp.formswrite.com/mcp?token=YOUR_TOKEN"
    ```

    That's it — no config file to edit, no restart needed. Start a new Claude Code session and the `formswrite` server will be available.

    <Tip>
      Add `-s project` to share the server with your team via a committed `.mcp.json`, or `-s user` to enable it across every project on your machine.
    </Tip>
  </Tab>

  <Tab title="Claude Desktop">
    Open the Claude Desktop config file:

    * **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
    * **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

    Paste this in (replace `YOUR_TOKEN`):

    ```json theme={null}
    {
      "mcpServers": {
        "formswrite": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://mcp.formswrite.com/mcp?token=YOUR_TOKEN"
          ]
        }
      }
    }
    ```

    Quit and reopen Claude Desktop.
  </Tab>

  <Tab title="Cursor">
    Open **Settings → MCP → Add server** and enter:

    * **Name**: `formswrite`
    * **URL**: `https://mcp.formswrite.com/mcp?token=YOUR_TOKEN`

    (Replace `YOUR_TOKEN` with your auth token.)
  </Tab>

  <Tab title="ChatGPT">
    Open **Settings → Connectors → Create a connector** and enter:

    * **Name**: `Formswrite`
    * **MCP server URL**: `https://mcp.formswrite.com/mcp?token=YOUR_TOKEN`

    Enable the connector in any chat by clicking its chip.
  </Tab>
</Tabs>

## 3. Try it

In a new chat, type:

> List my five most recent quizzes.

The AI will fetch them and reply with a summary. You're connected.

## Next steps

<Card title="Example prompts" icon="message" href="/mcp/examples">
  Ready-to-use prompts: build a quiz, edit one, export to any platform.
</Card>
