Skip to content

Your agent can sign itself up.

An agent can find APIs for free, mint its own capped trial key, and spend your credits only after you approve a limit.

Set up primaryapi.com/SKILL.md
Create an account

How an agent signs itself up

  1. Mints its own trial key. One signup call, no email, card or account. The key lapses after 7 days unless claimed.

  2. Works within the cap. It searches, quotes and runs APIs like any key. Every response says what the call cost.

  3. Stops at the cap. The call that would go over is refused with a claim link, and nothing is charged.

  4. You approve a limit. Read what it spent, pick a spend limit and approve. The agent keeps the same key.

MCP server

Connect a client in one step.

One URL, streamable HTTP. Discovery works without a key.

Server URL

https://api.primaryapi.com/mcp

Ten tools, the same verbs as the REST API.
See them in the docs

claude mcp add --transport http primaryapi \
  https://api.primaryapi.com/mcp \
  --header "Authorization: Bearer $PRIMARYAPI_API_KEY"

Run it in a terminal. Your shell fills in the key from the environment.

For the humans

You stay in charge of the money.

Your credits are spent only after a person says how much.

  • A spend limit on every key. Daily, weekly, monthly or lifetime. A call that would go over is refused before it runs.

  • Least-privilege keys. Run keys call and quote but never see billing. View keys read usage and can’t spend at all.

  • A ceiling on every call. maxCredits caps what a single call may cost, so it never costs more than you allow.

Hand it to your agent. You approve the spending.

Paste one line into Claude Code, Cursor or Codex. It reads the skill, finds the right API and starts on a capped trial key.