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

# MCP-Server installieren

> Verbinde den Formpaste-MCP-Server mit Claude Code, Codex, Cursor, Claude Desktop, VS Code oder einem beliebigen mcp-remote-Client.

<Info>**Kostenlos** - der MCP-Server ist nicht plan-gebunden. Du brauchst ein API-Token (`fpat_…`) - erstelle eins unter **Settings → API & MCP** im Dashboard.</Info>

Formpaste ist ein **entfernter** MCP-Server, daher verbinden sich Clients über HTTP via
[`mcp-remote`](https://www.npmjs.com/package/mcp-remote), statt einen lokalen Prozess zu
starten. Wähle unten deinen Client. Ersetze in jedem Fall `fpat_YOUR_TOKEN` durch dein echtes Token.

<Tabs>
  <Tab title="Claude Code">
    Claude Code installiert MCP-Server über die CLI:

    ```bash theme={null}
    claude mcp add formpaste --transport http https://api.formpaste.com/mcp \
      --header "Authorization: Bearer fpat_YOUR_TOKEN"
    ```

    Überprüfen: führe `claude mcp list` aus - `formpaste` sollte als verbunden erscheinen.
  </Tab>

  <Tab title="Codex">
    Füge zu `~/.codex/config.toml` hinzu:

    ```toml theme={null}
    [mcp_servers.formpaste]
    command = "npx"
    args = ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"]
    ```

    Starte Codex nach dem Speichern neu.
  </Tab>

  <Tab title="Cursor">
    Füge zu `.cursor/mcp.json` hinzu:

    ```json theme={null}
    {
      "mcpServers": {
        "formpaste": {
          "command": "npx",
          "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"]
        }
      }
    }
    ```

    Starte Cursor nach dem Speichern neu.
  </Tab>

  <Tab title="Claude Desktop">
    Füge zu `claude_desktop_config.json` hinzu:

    ```json theme={null}
    {
      "mcpServers": {
        "formpaste": {
          "command": "npx",
          "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"]
        }
      }
    }
    ```

    Starte Claude Desktop nach dem Speichern neu.
  </Tab>

  <Tab title="VS Code">
    Füge zu `.vscode/mcp.json` hinzu:

    ```json theme={null}
    {
      "servers": {
        "formpaste": {
          "command": "npx",
          "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"]
        }
      }
    }
    ```

    Lade VS Code nach dem Speichern neu.
  </Tab>

  <Tab title="Any mcp-remote client">
    Jeder Client, der `mcp-remote` unterstützt (Windsurf, Zed, Cline und andere), nutzt dieselbe
    Form. Zeige ihn auf `https://api.formpaste.com/mcp` mit einem
    `Authorization: Bearer fpat_YOUR_TOKEN`-Header:

    ```json theme={null}
    {
      "command": "npx",
      "args": ["mcp-remote", "https://api.formpaste.com/mcp", "--header", "Authorization: Bearer fpat_YOUR_TOKEN"]
    }
    ```

    Sieh in der Doku deines Clients nach, wo dessen MCP-Konfigurationsdatei liegt.
  </Tab>
</Tabs>

## Überprüfen, ob die Verbindung steht

Nach der Installation und dem Neustart sollte dein Client `formpaste` als verbundenen Server
mit **sechs** Tools anzeigen: `create_form`, `get_snippet`, `list_forms`, `get_form`,
`send_test_submission` und `list_submissions`. Falls nicht, siehe
[Troubleshooting](/docs/agents/troubleshooting).

<CardGroup cols={2}>
  <Card title="MCP-Server" icon="server" href="/docs/agents/mcp-server">
    Der Endpunkt, die Authentifizierung und die vollständige Tool-Liste.
  </Card>

  <Card title="Kochbuch-Prompts" icon="book" href="/docs/agents/cookbook-prompts">
    Prompts, die Erstellen, Verbinden und Verifizieren durchgängig steuern.
  </Card>
</CardGroup>
