> ## 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.

# Set up your AI agent

> Connect your AI coding agent to Formpaste's MCP server and let it create, wire, and verify forms for you.

Formpaste is the form backend your AI coding agent can set up on its own. Point your agent
at the Formpaste MCP server with a token, and it can create a form, wire the snippet into
your site, and prove the form is live - without you leaving your editor.

## 1. Mint a token

In the dashboard, go to **Settings → API & MCP** and generate a token. Copy it now - it is
shown exactly once. For an agent that only needs to set forms up (not read submissions),
choose the **setup** scope; it is the safer default.

## 2. Connect your agent

Add the Formpaste MCP server to your coding agent. Pick your client on the
[Install](/docs/agents/install) page - there are one-line setups for Claude Code, Codex, Cursor,
Claude Desktop, VS Code, and any other `mcp-remote` client.

## 3. Give it a prompt

Now just ask. For example:

```text theme={null}
Using the Formpaste MCP server, create a contact form, wire it into my site, then send a
test submission and confirm it is live.
```

The agent creates the form, pastes in the snippet, and sends a test submission to prove it
works. More ready-to-use prompts are in the [Cookbook](/docs/agents/cookbook-prompts).

## What your agent can do

The MCP server exposes six tools: create a form, fetch a framework snippet, list your forms,
read one form's config, send a test submission, and read submissions. See the
[MCP server](/docs/agents/mcp-server) reference for the full list.

<CardGroup cols={2}>
  <Card title="Install" icon="download" href="/docs/agents/install">
    Per-client setup commands.
  </Card>

  <Card title="Cookbook prompts" icon="book" href="/docs/agents/cookbook-prompts">
    Prompts that drive the whole loop.
  </Card>
</CardGroup>
