Privy API and MCP server

Privy's own API cannot create or send campaigns, build segments or pause popups. Sign in to Privy once in your own Cloud Browser, and your AI agent does the work there for you. The same tools work over MCP for agents and as a REST API for scripts.

Not affiliated with Privy.

Privy's own API leaves this out. So we run one for you.

Privy's own API, a GitHub MCP server and Cotlet compared
What you need Privy's APIGitHub MCP serverCotlet
Campaigns, segments, popups No No Yes, 13 tools
Acts as you, signed in 24/7 No No Yes, Cloud Browser
Fixed for you when Privy changes N/A No Yes, tested every 6h
Runs with your laptop off N/A No Yes, hosted

Checked Oct 23, 2026. Sources: Privy Help: Privy MCP · Privy Help: API Overview · Privy Help: Connect Privy to Zapier

Your own Cloud Browser, on 24/7. Sign in once. We keep it connected.

  1. 01Sign in to Privy in your own Cloud Browser

  2. 02Connect it for your agents

  3. 03Cotlet keeps it signed in and working

How do I connect Privy to Claude, ChatGPT or my code?

AI agents connect over MCP, scripts call the REST API. Both reach the same 13 tools with one API key.

For AI agents: MCP

Add Cotlet to your agent once. Privy and every other app you connect show up as its tools.

  • Claude
  • ChatGPT
  • OpenClaw
  • Hermes
  • GrokBot
  • Cursor
  • n8n
  • Any MCP client
  1. 1

    Add Cotlet to your agent

    Claude Code
    claude mcp add --transport http cotlet \
      https://cotlet.dev/mcp/v1 \
      --header "Authorization: Bearer $COTLET_API_KEY"
    Cursor
    {
      "mcpServers": {
        "cotlet": {
          "url": "https://cotlet.dev/mcp/v1",
          "headers": {
            "Authorization": "Bearer ${COTLET_API_KEY}"
          }
        }
      }
    }
    Codex
    # ~/.codex/config.toml
    [mcp_servers.cotlet]
    url = "https://cotlet.dev/mcp/v1"
    bearer_token_env_var = "COTLET_API_KEY"

    Paste the snippet for your client. The same server and key serve every app you connect, so you do this once.

For scripts: REST API

Every tool is an endpoint under /api/v1/privy with its own method and path, such as POST /api/v1/privy/campaigns/{campaign_id}/email-campaigns, with the same API key. Our open-source repo has ready scripts to start from.

REST API docs

What can the Privy API and MCP server do?

13 tools on your own Privy account. Agents call them as operations of the MCP tools privy_read and privy_write; scripts call each one at its own REST endpoint, with the same inputs and answers.

Privy tools in Cotlet's MCP server and REST API
Tool What it does Access
list_campaigns List email and SMS campaigns with status, subject, send date and results. read
list_displays List popups, flyouts, bars and other displays with status, views and signups. read
list_flows List automated flows with status, trigger and the steps they contain. read
list_segments List custom and smart segments with the number of mailable and textable contacts. read
list_contacts Search contacts, or list the members of a segment, with consent and tags. read
create_segment Create a custom segment from conditions such as Did not open a campaign. write
duplicate_campaign Copy a campaign into a new draft with its own name, subject and recipients. write
create_email_campaign Create an email campaign draft from a template, with subject and recipients. write
send_email_campaign Send a draft email campaign now or schedule it for a day and time. writeasks first
unschedule_campaign Move a scheduled campaign back to draft. write
pause_display Pause a live popup or other display so visitors stop seeing it. write
launch_display Turn a paused display back on so visitors see it again. writeasks first
tag_contacts Add a Privy tag to contacts, or remove it from them. writeasks first

Scroll the table for all 13 tools.

Ask in plain words. Your agent does the rest.

Is it safe to connect Privy?

You sign in yourself in your own Cloud Browser, we never save your password, and anything that reaches your readers waits for your OK. The browser profile is encrypted in the EU. Independent scanners grade cotlet.dev A+.

How much do the Privy API and MCP server cost?

One price for both: a tool call costs the same over MCP or REST. Free 7-day trial with 2,000 credits, no card needed. Then one-time credit packs, no subscription, valid 12 months. Each call uses 10 credits, and your Cloud Browser uses 50 credits a day while Privy is enabled for agents, so 20 calls a day come to 250 credits.

Cotlet credit packs: price, credits and calls at 10 credits each
Credits Price, one time Calls at 10 credits Per 1,000 credits
5,000 $29 500 $5.80
15,000 $79 1,500 $5.27
32,000 $149 3,200 $4.66
60,000 $249 6,000 $4.15

Only successful calls use credits; failed calls and timeouts cost nothing. At a balance of 0 calls pause, never a surprise charge. Authenticate with the Authorization: Bearer header.

Questions

Does Privy have an API?

Privy has a public API on paid plans and a read-only MCP server (checked 23 Oct 2026). The API reads contacts, campaigns, flows, displays, segments, coupons, orders and reports, and writes contacts, order events and custom events. Neither the API nor the MCP can create or change a campaign, flow, display or segment.

How do I get access?

Sign up free, open Privy under Integrations in the console and press Request access. Your free trial starts with your account, no card needed.

Is the MCP server different from the API?

No, only the way in. Cotlet builds each integration as a REST API and puts an MCP server on top, so both have the same 13 tools, the same inputs and answers, one API key and one price. AI agents such as Claude, ChatGPT or Cursor use MCP; scripts, cron jobs and HTTP steps in n8n, Make or Zapier use the REST API.

What is the Cloud Browser?

Your own Chrome that Cotlet runs for you in the EU, around the clock. You open it from the console, sign in to Privy yourself and press Enable for agents. Your agent's calls go through it, from its IP with its cookies, so Privy sees the browser you signed in with. Password saving is off and the profile is stored encrypted with AES-256-GCM.

Can my agent act without asking me?

Not on anything that reaches other people: send_email_campaign, launch_display, tag_contacts wait for your OK by default. You can switch that off per tool for scheduled runs.

Do I need a paid Privy plan?

Privy's own API and MCP server need one, and only paid businesses show up in the MCP business picker. Cotlet works in your dashboard instead, so you need whatever your plan allows there. SMS campaigns, for example, need a plan that includes SMS and an approved toll-free number.

Why are some people who opened my email in the Did not open segment?

Privy tracks an open with an invisible image. If the recipient's client blocks images, Privy counts no open, so the segment holds some people who read the email. A resend to them is harmless but redundant.

What can it not do in Privy?

The tools do not edit an email or popup design, build or publish flows, send SMS campaigns, import contacts from CSV or delete contacts. You change a design in the Privy editor, and the agent sends the result. Reads cover campaigns, flows, displays, segments and contacts.

Should I use a Privy MCP server from GitHub instead?

Pick one if you want the code on your own computer and do not mind the upkeep: you install it, sign it in and fix it when Privy changes. Pick Cotlet if you want it hosted and kept working for you.

Can I use it in n8n, Make or Zapier?

Yes. Add https://cotlet.dev/mcp/v1 in n8n's MCP Client node, or call the REST endpoints from an HTTP step in Make or Zapier.

Who runs Cotlet?

Cotlet is run by Take Group, a Polish software company working since 2019. Take Group runs about 3,200 websites on its own systems and has its own DevOps team for infrastructure security. We built and used integrations like this inside the company for years before opening them as Cotlet.

Is Cotlet affiliated with Privy?

No. Cotlet is independent and not affiliated with Privy.

Give your agent access to Privy.

Free 7-day trial with 2,000 credits, no card needed.