For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect AI Tools (MCP)

Connect Claude, ChatGPT, Cursor, VS Code, and any other MCP-compatible AI tool to your Gleantap account using the Gleantap MCP server.

The Gleantap MCP server lets AI assistants work directly with your Gleantap account. Once connected, you can ask an assistant like Claude or ChatGPT to look up a contact, build a segment, draft a template, check how a campaign performed, or move a lead through a pipeline. The assistant handles these tasks with Gleantap's tools, not by guessing.

MCP (Model Context Protocol) is an open standard for connecting AI tools to outside systems. Any client that supports remote MCP servers can connect to Gleantap.

Not a developer? If you just want to use Gleantap from Claude or ChatGPT, follow the simpler guide in the help center: Use Gleantap with AI Assistants.

Server details

Server URL

https://mcp.gleantap.com/mcp

Transport

Streamable HTTP

Authentication

OAuth 2.1 (recommended) or a Gleantap API key

Tools

267 tools covering the Gleantap v3 API

Choose how to sign in

There are two ways to authenticate. Pick one before you start.

OAuth (recommended)

API key

Best for

People connecting their own AI assistant

Scripts, headless agents, clients without OAuth support

How it works

You add the server URL and sign in to Gleantap in a browser window. Your client stores and refreshes the token.

You paste your API Secret into the client's configuration.

Access

Only the permissions and workrooms you approve on the consent screen

Full access to every workroom in the account

Revoking

Disconnect the connector in your AI client

Delete the secret in Settings β†’ API

Use OAuth whenever your client supports it. You approve access on a Gleantap consent screen and can limit it to specific workrooms. You never handle a secret yourself.

Getting an API key (only if you're not using OAuth)

  1. In Gleantap, go to Settings β†’ API. If the table is empty, click Generate New Key.

  2. Copy the value in the API Secret column. This is the key the MCP server uses. The "API Key" column is your account ID and isn't needed here.

  3. Store it like a password. It has full access to your account and every workroom in it.

Connect your AI tool

Works on claude.ai and in the Claude desktop app for Mac and Windows.

  1. Open Settings β†’ Connectors.

  2. Click Add custom connector.

  3. Enter:

    • Name: Gleantap

    • Remote MCP server URL: https://mcp.gleantap.com/mcp

  4. Click Add, then Connect.

  5. Sign in to Gleantap in the window that opens. Review the permissions, choose which workrooms to share, and click Allow.

To use it, start a chat and make sure Gleantap is turned on in the tools menu (the + / tools icon in the message box).

Claude Team and Enterprise: an organization Owner may need to add the connector first under Admin settings β†’ Connectors. Members then connect their own Gleantap login from Settings β†’ Connectors.

Add the server from your terminal:

Then, inside Claude Code, run:

Select gleantap β†’ Authenticate and finish signing in to Gleantap in your browser.

Add --scope user to make Gleantap available in every project, not just the current one.

Using an API key instead:

ChatGPT connects to custom MCP servers through Developer mode. It's available on paid plans; Business, Enterprise, and Edu workspaces may require an admin to enable it.

  1. Open Settings β†’ Apps & Connectors β†’ Advanced settings and turn on Developer mode.

  2. Back in Apps & Connectors, click Create.

  3. Enter:

    • Name: Gleantap

    • MCP server URL: https://mcp.gleantap.com/mcp

    • Authentication: OAuth

  4. Confirm you trust the server and click Create.

  5. Sign in to Gleantap when prompted and approve access.

To use it, start a new chat, open the + menu, choose Developer mode, and enable Gleantap.

Add Gleantap to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

Open Cursor Settings β†’ MCP. Gleantap appears in the list. Click Login (or Needs authentication) to sign in through OAuth.

Using an API key instead:

Create .vscode/mcp.json in your workspace, or run MCP: Add Server from the Command Palette:

Click Start above the server entry. VS Code opens a browser window to sign in to Gleantap. The tools then become available in Copilot Chat's Agent mode.

Add Gleantap to ~/.codeium/windsurf/mcp_config.json:

Refresh the MCP list in Cascade and sign in when prompted.

Add Gleantap to ~/.gemini/settings.json:

Start Gemini CLI and run /mcp auth gleantap to sign in.

The second command opens a browser window to sign in to Gleantap.

Any other MCP client

If your client supports remote MCP servers over Streamable HTTP, point it at:

  • Clients with OAuth support find Gleantap's sign-in automatically. The server advertises it through standard OAuth Protected Resource Metadata and supports dynamic client registration, so you don't need a client ID.

  • Clients without OAuth support send an API key on every request:

  • Clients that only support local (stdio) servers can connect through the mcp-remote bridge:

Check that it works

After connecting, ask your assistant:

List my Gleantap workrooms.

If it returns your workrooms, you're set up. If not, see Troubleshooting.

What you can do

The server exposes 267 tools across every major part of Gleantap:

Area
Examples

Contacts & events

Find, create, update, merge, and opt contacts in or out; record events; add notes

Segments

Build segments from a description, preview who matches, refresh, convert to static

Templates & campaigns

Draft and preview email/SMS templates, send tests, schedule or send campaigns, pull analytics

Flows

Create and publish automations, enroll or unenroll contacts, test-run, view flow analytics

Conversations

Read the inbox, reply, assign, tag, close and reopen conversations

Pipelines, tasks & sales automations

Move contacts between stages, create and complete tasks

Appointments & calendars

Book, reschedule, and cancel appointments; manage calendars and appointment types

Forms & pages

Build, publish, and read submissions from forms and landing pages

Keyword campaigns

Create SMS keyword campaigns and view their reports

Reporting

Contact, message, conversion, campaign, and flow reports; scorecards and custom metrics

Settings

Workrooms, phone numbers, email addresses, custom fields, tags, webhooks, imports

Example prompts

  • "How many contacts joined in the last 30 days who haven't booked a class yet?"

  • "Build a segment of members whose membership expires in the next two weeks, and show me 10 of them before saving."

  • "Draft a friendly SMS template inviting lapsed members back for a free class. Don't send it."

  • "How did last Tuesday's newsletter perform compared to the one before?"

  • "Show me every open conversation assigned to me and summarize what each person needs."

  • "Move Jane Doe to the 'Trial Booked' stage in the Leads pipeline and create a follow-up task for tomorrow."

Safety: what happens before the assistant changes something

Every tool tells your AI client whether it only reads data (117 tools) or changes it (150 tools). Most clients use this to decide when to ask for your approval. Read-only tools may run on their own; tools that change data prompt you first.

Some actions cannot be undone. Read the confirmation carefully before approving them:

Type
Tools
Why it matters

Sends

Send email / SMS / voice, send campaign now, reply to conversation

Delivered immediately β€” no recall

Going live

Publish flow / form / page / template, schedule campaign, enroll contact in flow

Keeps sending automatically afterwards

Deletes

Any delete or remove action

No trash, no undo

One-way changes

Merge contacts, convert segment to static

The original state can't be restored

Secret rotation

Rotate webhook secret, rotate form submission token

Live integrations break until updated

Cancellations

Cancel campaign, cancel appointment

Someone was expecting that send or booking

Workrooms

If your account has more than one workroom (for example, one per location):

  • With OAuth, the consent screen asks which workrooms to share. The assistant can only see the ones you choose.

  • With an API key, the assistant can see every workroom in the account. Tell it which one to use: "In the Downtown workroom, ..."

The assistant can always run List workrooms to see what's available.

Disconnecting

  • OAuth: remove or disconnect the Gleantap connector in your AI client (for example, Settings β†’ Connectors β†’ Gleantap β†’ Disconnect in Claude).

  • API key: delete the secret in Gleantap under Settings β†’ API. Any client using it stops working immediately.

Troubleshooting

Problem
What to do

401 Unauthorized / "Missing Authorization"

Your client isn't sending credentials. Reconnect and finish the sign-in, or check the Authorization: Bearer ... header (it needs the word Bearer and a space).

Sign-in window never appears

Your client may not support OAuth for remote servers. Use an API key header or the mcp-remote bridge above.

Connected, but no Gleantap tools show up

Turn the connector on for the current chat (Claude: tools menu; ChatGPT: + β†’ Developer mode). In IDEs, restart the MCP server from settings.

"Not found" for a contact or workroom you know exists

Your OAuth sign-in probably didn't include that workroom. Disconnect, reconnect, and select it on the consent screen.

"Permission denied" / missing scope

You declined a permission during sign-in. Reconnect and approve the permissions the task needs.

Rate limit errors (429)

Too many requests in a short time. Wait a moment, or ask the assistant to work in smaller batches.

Can't find "Add custom connector" (Claude) or "Developer mode" (ChatGPT)

Your plan or workspace admin may not allow custom connectors. Ask your admin.

Still stuck? Email [email protected] with the name of your AI client and the exact error message.

For developers

  • The MCP server is a thin layer over the Gleantap v3 REST API. Every tool maps to one v3 endpoint, with the same permissions, errors, and limits. If you're building a traditional integration (not an AI agent), call the v3 API directly.

  • OAuth discovery: https://mcp.gleantap.com/.well-known/oauth-protected-resource β†’ authorization server https://api.gleantap.com/v3 (Authorization Code + PKCE, dynamic client registration, rotating refresh tokens).

  • Accepted credentials: gltp_at_... OAuth access tokens, or the API Secret from Settings β†’ API (optionally prefixed gltp_sk_live_), sent as Authorization: Bearer <token>.

  • Errors come back as typed MCP errors translated from the API's RFC 9457 problem details.

  • Retries: the server automatically adds an Idempotency-Key to retryable POST requests, so a retried create isn't duplicated.