Skip to main content
Glama

Kartra API integration and MCP server: connect Kartra to ChatGPT, Claude and any AI agent

Kartra API integration and MCP server by Cotlet.dev: yes, Claude, ChatGPT and other AI agents can work in your Kartra account. Kartra has no official MCP server and no ChatGPT or Claude app; its API is included with the Growth, Professional and Enterprise plans, and its Zapier connection needs API access and approval (checked 27 Nov 2026). Cotlet.dev connects your own signed-in Kartra account to any AI agent, so you ask in plain words and the AI helps you report on the week's leads, sales per product and leads per sequence, check membership access of new buyers, list affiliate commissions due and inventory the account before an export.

What you can ask

List the leads that joined Kartra in the last 7 days with email, tags and source, as a table I can paste into a sheet.

Take the leads from my Facebook lead form export and add each one to Kartra with the tag webinar-fb. Show me the list first.

Show how many leads are in each sequence and who has been in the welcome sequence longer than 14 days.

List sales per product for this month and last month, with refunds, and name the product that dropped most.

For each buyer of the course product in the last 14 days, show whether they have membership access and who has none.

Related MCP server: byob

What course creators, coaches and consultants who run courses, memberships, funnels and email from one Kartra account ask their AI to do in Kartra

From course creators, coaches and consultants who run courses, memberships, funnels and email from one Kartra account' posts on Reddit, forums, review sites and the Kartra help center (checked 27 Nov 2026).

Job

Ask your AI

Make it repeat

A table of this week's leads

"List the leads that joined Kartra in the last 7 days with email, tags and source, as a table I can paste into a sheet."

Weekly

Importing lead form leads without Zapier

"Take the leads from my Facebook lead form export and add each one to Kartra with the tag webinar-fb. Show me the list first."

When you ask

Leads per sequence

"Show how many leads are in each sequence and who has been in the welcome sequence longer than 14 days."

Weekly

Sales per product report

"List sales per product for this month and last month, with refunds, and name the product that dropped most."

Monthly

Course access of new buyers

"For each buyer of the course product in the last 14 days, show whether they have membership access and who has none."

When you ask

Affiliate commissions due

"List affiliate commissions due this month per affiliate with the payment method, and the total I owe."

Monthly

A whole customer history in one answer

"For leads that bought, list their purchases, tags and last email opened, so I can see the whole customer in one answer."

When you ask

An export checklist before leaving

"List my pages, products, sequences, memberships and lead count, and tell me which of them I can export and which I have to rebuild."

When you ask

Your AI asks you before it sends, books, replies or changes anything. Payments stay in your hands.

Kartra API

Kartra has a documented API (POST app.kartra.com/api with an API key, an API password and an app ID) that its help center says is included with the Growth, Professional and Enterprise plans (checked 27 Nov 2026). With Cotlet.dev you build your own Kartra API: show your AI agent a job once in your signed-in Kartra account, save it as an endpoint and call it from n8n, Make, Zapier or your own code. How it works: https://cotlet.dev/integrations/api/kartra

Endpoints you can build in a few minutes (none of them exists until you build it):

  • new-leads: Leads added in the last N days with tags and source

  • sequence-counts: Number of leads per sequence and how long they have been in it

  • affiliate-due: Commissions due per affiliate for a month

  • lead-tags: Add a tag to a lead after your OK

Call one with your Cotlet API key: POST https://cotlet.dev/api/v1/custom/new-leads. One call runs up to 90 seconds, writes wait for your OK, payments are blocked.

Connect in 2 minutes

Get your API key at https://cotlet.dev/app and export it as COTLET_API_KEY.

Claude Code

claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"

ChatGPT

Settings → Apps → add connector URL https://cotlet.dev/mcp/v1, then sign in with Cotlet.dev. No API key needed.

Cursor

Copy .cursor/mcp.json from this repo into your project:

{
  "mcpServers": {
    "cotlet": {
      "url": "https://cotlet.dev/mcp/v1",
      "headers": {
        "Authorization": "Bearer ${COTLET_API_KEY}"
      }
    }
  }
}

Run it locally (stdio)

This repo is a real MCP server. It speaks MCP over stdio, lists its Kartra tools without any key, and forwards every tool call to the hosted Cotlet.dev server. The hosted URL above stays the recommended way. Use this when your client only starts local servers.

{"mcpServers":{"kartra":{"command":"uvx","args":["kartra-mcp"],"env":{"COTLET_API_KEY":"your-key"}}}}

Or with Docker:

docker build -t kartra-mcp .
docker run -i --rm -e COTLET_API_KEY kartra-mcp

Tools: kartra_guide, kartra_status, kartra_open, kartra_read, kartra_click, kartra_type, kartra_close. Without COTLET_API_KEY a tool call answers: "Set COTLET_API_KEY. Get a key at https://cotlet.dev/app".

Command line

Python 3.10+, nothing else to install. From PyPI:

pip install kartra-mcp        # or run it once: uvx kartra-mcp connect
kartra-mcp connect

Or straight from this repo:

export COTLET_API_KEY="your-key"
python3 kartra_agent.py connect   # ready config for Claude Code, Cursor, ChatGPT
python3 kartra_agent.py status    # is Kartra ready in your Cotlet.dev account
python3 kartra_agent.py guide     # Kartra screens and sign-in link
python3 kartra_agent.py read      # open Kartra, read the page, close the browser
python3 kartra_agent.py tools     # list Cotlet.dev tools
python3 kartra_agent.py serve     # start the stdio MCP server (same as no argument)

Questions from Kartra users

Does Kartra have an API?

Kartra has a documented API (POST app.kartra.com/api with an API key, an API password and an app ID) that its help center says is included with the Growth, Professional and Enterprise plans (checked 27 Nov 2026). With Cotlet.dev you build your own Kartra API on your signed-in account and call it from n8n, Make or your own code: https://cotlet.dev/integrations/api/kartra

How do I connect Kartra to ChatGPT?

Add Cotlet.dev as an app in ChatGPT (Settings → Apps, connector URL https://cotlet.dev/mcp/v1), sign in to Kartra once in your Cotlet.dev Cloud Browser, and ask ChatGPT in plain words. No code and no Kartra API key.

Is there a way to use Claude with Kartra?

Yes. In Claude Code run the one-line claude mcp add command above; in the Claude app add https://cotlet.dev/mcp/v1 as a custom connector. Claude then works in your own Kartra account.

Is there a Kartra MCP server?

Kartra has no official MCP server for your account. Cotlet.dev is a hosted MCP server that works in your own Kartra account for you, with Claude, ChatGPT, Cursor, Codex, n8n, Make and Zapier.

Does Kartra have an API or MCP server I can use for my course business?

Kartra has no official MCP server (checked 27 Nov 2026). It has an API on the Growth plan and above, with a key, a password and an app ID from Settings, Integrations. Cotlet.dev works in your Kartra account in a browser, on any plan, with no key.

Can ChatGPT or Claude change my Kartra sequences or send emails?

It can read sequences, lists and tags and draft the text. Anything that sends to your leads or changes a live sequence waits for your approval.

Find it on

Also works with


More: https://cotlet.dev/integrations/mcp/kartra?utm_source=github&utm_medium=readme&utm_campaign=kartra

Start free: https://cotlet.dev/signup?app=kartra&utm_source=github&utm_medium=readme&utm_campaign=kartra

Available Tools

7 tools
kartra_clickCInspect

Click a numbered element on the current Kartra page.

Inputs: element (required).

kartra_closeAInspect

Close the Kartra browser session when the work is done, so credits stop running.

Inputs: no named parameters.

kartra_guideAInspect

How to work in Kartra (report on the week's leads, sales per product and leads per sequence, check membership access of new buyers, list affiliate commissions due and inventory the account before an export): its screens and the sign-in link. Call this first.

Inputs: task.

kartra_openBInspect

Open a Kartra page in your signed-in Cloud Browser (default https://kartra.com) to work with report on the week's leads, sales per product and leads per sequence, check membership access of new buyers, list affiliate commissions due and inventory the account before an export.

Inputs: url.

kartra_readAInspect

Read the current Kartra page: its text and numbered buttons, links and fields.

Inputs: element.

kartra_statusAInspect

Check that your Cotlet.dev account and Kartra are ready: account, credits and Kartra connection.

Inputs: no named parameters.

kartra_typeBInspect

Type text into a numbered field on the current Kartra page.

Inputs: text (required), element (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool maps to a single, clearly distinct action in the browser-automation loop: guide (instructions), status (health check), open/close (session lifecycle), read (page text), click (buttons), type (fields). There is no plausible way to confuse read with click or open with status, and the guide explicitly tells agents to call it first.

    Naming Consistency4/5

    All names share a consistent kartra_ prefix and are short, lowercase, underscore-free tokens. Six of seven are single verbs (open, read, click, type, close, guide-ish), with guide and status being nouns, a minor deviation from a strict verb_noun pattern.

    Tool Count5/5

    Seven tools is tightly scoped for a browser-automation wrapper over Kartra. Every tool earns its place: lifecycle (open/close), perception (read), action (click/type), plus onboarding (guide) and readiness (status).

    Completeness4/5

    The read/click/type loop plus open/close covers the core browsing workflow implied by the guide's lead/sales/affiliate reporting tasks. Minor gaps exist — no explicit keypress/submit, scrolling, or dropdown-select primitive — but numbered-button click largely absorbs those needs.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Lets AI coding tools drive the real, already-logged-in Chrome browser over local stdio—snapshotting and reading pages, clicking, typing, managing tabs, capturing screenshots, and inspecting network, console, storage, and cookies—without opening a remote-debugging port. It installs as a Chrome extension plus native-messaging bridge, so agents work in the user's authenticated sessions while passing bot detection.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Lets AI coding tools drive the real Chrome browser you already have open, so they can read and act on logged-in pages with real clicks, typing, navigation, screenshots, and network or storage inspection. Everything runs locally over stdio with no remote-debugging port, so nothing leaves your machine.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables ChatGPT, Claude, and other AI agents to work with course, student, sales, and report screens through a signed-in Cloud Browser, including queries, exports, and prepared enrollment or email actions. It can run remotely or locally over stdio and forwards tool calls to the hosted integration.
      Elastic 2.0