# Quickstart

Connect an agent to Kitepod over MCP and make a first paid call.

## The one-sentence setup

Sign up at [kitepod.com/login](https://kitepod.com/login), then paste this line into your agent:

```text
set up kitepod — https://kitepod.com/llms.txt
```

The agent reads [llms.txt](https://kitepod.com/llms.txt), adds Kitepod as an MCP server for its environment and learns the search, read, call loop. A verified signup starts with $1 of credit, enough for a first call. The steps below do the same by hand.

## Sign in or use an API key

The MCP endpoint is `https://kitepod.com/mcp` (Streamable HTTP). It accepts two kinds of token:

- **OAuth.** The client opens a Kitepod sign-in page, you approve it and pick the team it acts for. Nothing to paste. Hosted assistants (claude.ai, ChatGPT) work this way, and so can Claude Code and Cursor.
- **API key.** A team key that starts with `kp_live_`, sent as `Authorization: Bearer kp_live_…`. An owner or admin creates one on the Getting started page or under Team → API keys ([https://kitepod.com/team](https://kitepod.com/team)). The full key is shown once. The REST API takes API keys only.

## Claude Code

Add the server, then run `/mcp` inside Claude Code and pick Kitepod to sign in:

```sh
claude mcp add --transport http kitepod https://kitepod.com/mcp
```

Or with an API key, no browser step:

```sh
claude mcp add --transport http kitepod https://kitepod.com/mcp \
  --header "Authorization: Bearer kp_live_…"
```

Add `--scope user` to make it available in every project.

## claude.ai and Claude Desktop

1. Open Settings → Connectors and choose **Add custom connector**.
2. Name it Kitepod and enter `https://kitepod.com/mcp` as the URL.
3. Choose **Connect**, sign in to Kitepod and approve the access. If you belong to several teams, pick the one whose balance it should use.

## ChatGPT

1. Turn on developer mode in ChatGPT's settings (Apps → Advanced settings).
2. Create a connector with `https://kitepod.com/mcp` as the MCP server URL and OAuth as the authentication.
3. Sign in to Kitepod when ChatGPT asks and approve the access.

## Cursor

Add Kitepod to `~/.cursor/mcp.json` (every project) or `.cursor/mcp.json` (one project). Cursor offers to sign in when it first connects:

```json
{
  "mcpServers": {
    "kitepod": {
      "url": "https://kitepod.com/mcp"
    }
  }
}
```

Or with an API key:

```json
{
  "mcpServers": {
    "kitepod": {
      "url": "https://kitepod.com/mcp",
      "headers": {
        "Authorization": "Bearer kp_live_…"
      }
    }
  }
}
```

## Codex

Add Kitepod to `~/.codex/config.toml`, with the API key in an environment variable so it stays out of the file:

~/.codex/config.toml:

```toml
[mcp_servers.kitepod]
url = "https://kitepod.com/mcp"
bearer_token_env_var = "KITEPOD_API_KEY"
```

```sh
export KITEPOD_API_KEY=kp_live_…
```

## Any other MCP client

Point it at `https://kitepod.com/mcp` over Streamable HTTP. Clients that support MCP authorization discover the OAuth server from the `401` answer and [auth.md](https://kitepod.com/auth.md) describes the flow; others send `Authorization: Bearer kp_live_…` (or `X-Kitepod-Token: kp_live_…` if they reserve the Authorization header).

## First call

Ask your agent for something the catalog can do, for example:

```text
Use Kitepod to scrape a web page by url: https://example.com. Tell me what it cost.
```

It searches the catalog, reads [firecrawl.web.scrape](https://kitepod.com/tools/firecrawl/web-scrape) and calls it. That endpoint costs $0.00099 / page. The answer carries the cost (`cost_usd: "0.00099"` for one page) and the call shows in Activity in the dashboard.

The same call over REST, with an API key:

```sh
curl -X POST "https://kitepod.com/v1/call/firecrawl.web.scrape" \
  -H "Authorization: Bearer $KITEPOD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","formats":["markdown"]}'
```

The response body is Firecrawl's, unchanged. Kitepod's facts travel in headers: `X-Kitepod-Call-Id` and `X-Kitepod-Cost-Micro` (micro-USD, so `990` is $0.00099). See the [REST reference](https://kitepod.com/docs/rest.md).

> Over MCP the same call is `call {"id":"firecrawl.web.scrape","input":{"url":"https://example.com","formats":["markdown"]}}`. The [MCP reference](https://kitepod.com/docs/mcp.md) lists every tool.

---

Docs: [Overview](https://kitepod.com/docs.md) · [Quickstart](https://kitepod.com/docs/quickstart.md) · [How it works](https://kitepod.com/docs/how-it-works.md) · [MCP reference](https://kitepod.com/docs/mcp.md) · [REST reference](https://kitepod.com/docs/rest.md) · [Billing](https://kitepod.com/docs/billing.md) · [Your own keys](https://kitepod.com/docs/your-keys.md) · [Your own tools](https://kitepod.com/docs/own-tools.md) · [Teams](https://kitepod.com/docs/teams.md) · [Catalog format](https://kitepod.com/docs/catalog-format.md)

[Tools](https://kitepod.com/tools) · [Pricing](https://kitepod.com/pricing) · [Sign up](https://kitepod.com/login) · [llms.txt](https://kitepod.com/llms.txt)
