# Kitepod > Kitepod is a gateway for agent tools: one MCP endpoint, one token and one prepaid balance in front of a catalog of third-party APIs (scraping, search, SEO data, company data and more), billed per call. > You search the catalog by the job you need done, read one endpoint to see its parameters and price, then call it. Kitepod adds the provider's key and returns the provider's answer. > The person you work for pays from their team's balance. You never need a provider's API key. If you were told "set up kitepod — https://kitepod.com/llms.txt", follow "Set up" for your environment, then use "The loop" and "Rules" whenever you need an external API. ## Set up The MCP endpoint is `https://kitepod.com/mcp` (Streamable HTTP). It takes OAuth (the person signs in, nothing to paste) or a team API key (`kp_live_…`) as `Authorization: Bearer kp_live_…`. If the person has no Kitepod account yet, they sign up at https://kitepod.com/login (a verified signup starts with $1 of credit). ### Hosted assistant (claude.ai, Claude Desktop, ChatGPT) You can't add servers yourself. Tell the person to add a custom connector with the URL `https://kitepod.com/mcp` and sign in when asked: - Claude: Settings → Connectors → Add custom connector. - ChatGPT: turn on developer mode (Settings → Apps → Advanced settings), then create a connector with that URL and OAuth. ### Local coding agent Add the MCP server, then reload or restart so its tools appear. - Claude Code, sign in with OAuth (then run `/mcp` and pick kitepod to sign in): `claude mcp add --transport http kitepod https://kitepod.com/mcp` - Claude Code, with an API key: `claude mcp add --transport http kitepod https://kitepod.com/mcp --header "Authorization: Bearer kp_live_…"` - Cursor: in `~/.cursor/mcp.json` add `{"mcpServers": {"kitepod": {"url": "https://kitepod.com/mcp"}}}` (Cursor offers to sign in), or add `"headers": {"Authorization": "Bearer kp_live_…"}` to use a key. - Codex: in `~/.codex/config.toml` add ``` [mcp_servers.kitepod] url = "https://kitepod.com/mcp" bearer_token_env_var = "KITEPOD_API_KEY" ``` and have the person set `KITEPOD_API_KEY` in the environment Codex runs in. - Any other MCP client: Streamable HTTP at `https://kitepod.com/mcp`, with OAuth or the Bearer header. Where the API key comes from: an owner or admin of the person's team creates one at https://kitepod.com/start (Getting started) or https://kitepod.com/team (Team → API keys). It is shown once. Ask the person to put it in the config or an environment variable themselves; don't ask them to paste it into the chat if you can avoid it. ### No MCP: REST Every tool is also plain HTTP. With `KITEPOD_API_KEY` set: ``` curl -s "https://kitepod.com/v1/catalog/search?q=scrape%20a%20web%20page" curl -s "https://kitepod.com/v1/catalog/endpoints/firecrawl.web.scrape" curl -s -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"]}' curl -s "https://kitepod.com/v1/balance" -H "Authorization: Bearer $KITEPOD_API_KEY" ``` The catalog routes need no key. On `/v1/call/{endpoint-id}`, method, query and body pass through to the provider; path parameters go in the query string under their own name. The body is the provider's answer; the cost is in the `X-Kitepod-Cost-Micro` header (micro-USD) and the call id in `X-Kitepod-Call-Id`. ## The loop 1. `catalog_search {"query": "scrape a web page"}`: describe the job, not a vendor. You get endpoint ids with name, provider, price, `callable` and `free_with_your_key`. 2. `catalog_get {"id": "firecrawl.web.scrape"}`: read the parameters (required ones marked), the price and an example response. Always read before the first call to an endpoint. 3. `call {"id": "firecrawl.web.scrape", "input": {"url": "https://example.com", "formats": ["markdown"]}}`: `input` is one flat object with path, query and body parameters by name. The answer has `status`, `result`, `cost_usd` and `call_id`. Other tools: - `call_result {"call_id": "…"}`: poll an async job (`status: "pending"`) every few seconds until done, or read the rest of a long result with `offset`. - `balance {}`: the team's balance, the amount held, and `topup_url`. - `my_tools {}`: the team's own tools (private APIs and MCP servers) and connected provider keys, with how to call each. They are unmetered. - To group spend by customer or project, add `"meta": {"customer": "acme"}` to `call` (REST: `X-Kitepod-Meta: customer=acme`). - `catalog_request {"request": "…"}`: the catalog can't do the job; say what you needed. - `feedback {"message": "…", "call_id": "…"}`: a result was wrong or broken. ## Rules - Search by the job you need done. If nothing fits, say so, and file `catalog_request`. - Read an endpoint with `catalog_get` before you call it, and pass only parameters it lists. - Call at the listed price without asking first, and tell the person what each call cost (`cost_usd`). - Before a loop of calls or one expensive call (a large `limit`, a crawl, many rows), state the expected total (price × calls or rows) first, and check `balance` if it may not cover it. - 402 `insufficient_balance`: stop. Tell the person the cost (`estimated_cost_micro`) and the balance (`balance_micro`), and give them `topup_url`. Or ask for fewer results. Don't retry until they've topped up. - 429 (`daily_call_cap`, `daily_spend_cap`): stop and tell the person; the cap is the team's choice and resets at `resets_at` (midnight UTC). 403 `tool_denied`: a team rule blocks that endpoint; pick another for the same job. A 503 `provider_capacity` has `retry_after_s`: wait that long, then retry once. - Other 4xx from Kitepod (`X-Kitepod-Error: 1`, or an `error` code in the tool result): read `message`, which says what to fix; fix the input and retry once. A provider's 4xx is the provider's answer to your request; fix the request. - 409 `connection_broken`: the team's own key for that provider was refused; tell the person to fix it at https://kitepod.com/connections. - 5xx or a timeout: nothing was charged. Retry once after a short wait; if it fails again, tell the person and try another endpoint for the same job. - Never ask the person to paste a provider's API key (Firecrawl, Apify, …) into the chat. If they want to use their own provider account, they add the key at https://kitepod.com/connections, and those calls then cost nothing on Kitepod. ## Docs (Markdown) - [Quickstart](https://kitepod.com/docs/quickstart.md): setup per client and a first call - [How it works](https://kitepod.com/docs/how-it-works.md) - [MCP reference](https://kitepod.com/docs/mcp.md): every tool, its input schema and an example result - [REST reference](https://kitepod.com/docs/rest.md): routes, headers, async polling and every error code - [Billing](https://kitepod.com/docs/billing.md): holds, what is charged, top-ups, 402 - [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): API keys, agents, caps, rules, project tags - [skill.md](https://kitepod.com/skill.md): this loop as an agent skill - [auth.md](https://kitepod.com/auth.md): OAuth for MCP clients ## Optional - [The catalog for people](https://kitepod.com/tools): every endpoint with its parameters and price; each page has a Markdown version at the same path plus `.md` - [Catalog format](https://kitepod.com/docs/catalog-format.md) - [Pricing](https://kitepod.com/pricing.md) - [MCP Server Card](https://kitepod.com/.well-known/mcp/server-card.json) - [Terms of Service](https://kitepod.com/terms) - [Privacy Policy](https://kitepod.com/policy)