Gemlead

適用於 X (Twitter) 的 AI SDR。搜尋並評分 Gemlead 在 X 上找到的潛在客戶,執行暖身和 DM 行銷活動,並透過 Sam AI 回覆閱讀及回覆 DM 對話。81 個工具。

託管 MCP 伺服器

npx add-mcp 'https://gemlead.ai/mcp'

可安裝到 Claude Code、Codex、Cursor 等客戶端

文件

What it is

The Model Context Protocol is the open standard AI assistants use to call outside tools. Connect Gemlead once and your assistant can search your hot leads, read and answer your conversations, check how a campaign does or start an export, right in the chat. It only sees the X account you connect, and the rules of the API apply, Business and Enterprise plans with the same scopes.

The server speaks Streamable HTTP. Claude and ChatGPT sign in with OAuth, Cursor and Claude Code can send an API key as a bearer token.

Gemlead's MCP server is listed in the official MCP Registry as ai.gemlead/gemlead, and on Glama.

https://gemlead.ai/mcp

Setup

  1. In Claude, open Customize, then Connectors.
  2. Click Add, then Add custom connector.
  3. Name it Gemlead and paste https://gemlead.ai/mcp as the server URL.
  4. Keep Use Claude's published identity as the OAuth client, then click Add.
  5. Click Connect, sign in to Gemlead and pick the X account.

In a chat, turn Gemlead on from the + menu, under Connectors. Claude Desktop and the mobile apps use the same connectors as your Claude account, nothing more to set up.

On Team and Enterprise, an owner adds Gemlead in Organization settings, Connectors, then each member clicks Connect. The Free plan of Claude allows one custom connector.

Other clients

Any client that speaks Streamable HTTP connects the same way, with the URL and an Authorization header. Try the server with the MCP Inspector.

npx @modelcontextprotocol/inspector --cli https://gemlead.ai/mcp \
  --transport http \
  --header "Authorization: Bearer $GEMLEAD_API_KEY" \
  --method tools/list

Several X accounts

A connection is for one X account. To work on several at once, add Gemlead once for each account, each with its own server URL, https://gemlead.ai/mcp/ and a name you choose, like https://gemlead.ai/mcp/acme and https://gemlead.ai/mcp/julien. The name is only a label, made of letters, digits, - and _.

Connect each one and pick its X account on Gemlead's consent page. A name that is the account's X username picks it for you. If the accounts are on different Gemlead logins, sign in to the right one before you connect.

Each connection reads and acts on its own account only, and tells the assistant which @handle it is, so a DM always goes out from the account you asked for. Name each connector after its account, like Gemlead Acme, to tell them apart in the chat.

Tools

The server has 81 tools, one for each thing the API does. Read tools only read. Write tools change data or act on X from your account, so they need the write scope, and the assistant asks you before it sends, starts or deletes anything.

Click an endpoint's MCP tag in the API reference to land on its tool.

No tool sets or removes the X Chat passcode, by design, so a passcode never goes through an AI chat. Set it in the app or with Set the X Chat passcode.

Leads

  • search_leads read scope Leads with the filters of List leads, like hot leads of one persona found this week. Optional q persona_id status score_min score_max hot scored_after scored_before found_after found_before order limit cursor
  • get_lead read scope One lead with its profile, score and reason. Required lead_id
  • update_lead write scope Sets metadata on a lead, or closes it when you are done with it. Required lead_id Optional metadata status
  • get_lead_origin read scope How Gemlead found a lead, the post that surfaced it and its campaigns. Required lead_id
  • lead_action write scope Rescores a lead for up to 2 credits a lead: 1 for the first pass, 1 more for the deep score when it passes, reads its X profile again, or follows or unfollows it from your X account. Required lead_id action
  • convert_lead_to_source write scope Makes a lead a source of its persona, to read who it follows, its followers or who comments on its posts. Required lead_id Optional method
  • delete_lead write scope Deletes a lead and stops it in every campaign. The assistant asks you first. Required lead_id

Personas

  • list_personas read scope Your personas with their counts and today's numbers. Optional limit cursor
  • get_persona read scope One persona and its stats. Required persona_id
  • create_persona write scope Creates a persona with its description, keywords, competitors and starting sources. Scoring uses up to 2 credits a lead: 1 for the first pass, 1 more for the deep score when it passes. Required name description Optional website market keywords competitors avoid min_followers include_closed_inboxes auto_expand auto_expand_direction daily_scoring_limit sources
  • get_persona_settings read scope Every setting of a persona, with its keyword searches and competitor accounts. Required persona_id
  • update_persona write scope Changes a persona's settings, or activates or pauses it. Required persona_id Optional name website description market keywords competitors avoid min_followers include_closed_inboxes auto_expand auto_expand_direction daily_scoring_limit status
  • delete_persona write scope Deletes a persona with its sources and the leads no campaign worked on. The assistant asks you first. Required persona_id
  • reorder_personas write scope Sets the order of your personas. Required persona_ids
  • suggest_persona write scope Asks the AI to write a persona from a name and what you sell. Required persona_name Optional website brief current_description instruction
  • get_persona_suggestion read scope The last persona suggestion, pending, ready with its text, or error. No arguments
  • get_persona_sharing read scope Which X accounts of the owner share a persona, and the others it can be shared with. Required persona_id
  • update_persona_sharing write scope Sets which other X accounts of the owner share a persona. Owner only. Required persona_id account_ids

Sources

  • list_sources read scope A persona's sources with their stats, or one of them. Required persona_id Optional source_id limit cursor paused
  • add_source write scope Adds an X account as a source of a persona. Required persona_id username Optional read_following read_followers score_self
  • update_source write scope Changes what Gemlead reads on a source, or pauses, resumes, skips, refreshes or scores it. Required persona_id source_id Optional read_following read_followers score_self action
  • delete_source write scope Removes a source and its leads no campaign worked on. The assistant asks you first. Required persona_id source_id
  • list_source_leads read scope The leads a source found, best score first. Required persona_id source_id Optional order limit cursor
  • list_persona_items read scope A persona's keyword searches or competitor accounts, each with whether it is paused and its leads found, scored and hot. Required persona_id kind
  • edit_persona_items write scope Adds, removes, pauses or resumes keyword searches or competitor accounts on a persona. Required persona_id kind Optional add remove pause resume
  • list_item_leads read scope The leads one keyword search or one competitor account found, best score first. Required persona_id Optional search_query competitor_account order limit cursor
  • suggest_sources read scope X accounts the AI suggests as sources for a persona. Required persona_id

Campaigns

  • list_campaigns read scope Your campaigns with their totals. Optional status persona_id limit cursor
  • create_campaign write scope Creates a draft campaign from a template or your own flow. Nothing goes out until it starts. Required persona_id name Optional method min_score daily_limit lead_order template flow
  • get_campaign_settings read scope A campaign's settings and its flow, every step with its ID. Required campaign_id
  • update_campaign write scope Changes a campaign's settings or replaces its flow. Required campaign_id Optional name method min_score daily_limit lead_order flow
  • set_campaign_status write scope Starts, pauses or archives a campaign. Starting it sends likes, comments, follows and DMs from your X account, so the assistant asks you first. Required campaign_id status
  • duplicate_campaign write scope Copies a campaign's settings and flow into a new draft. Required campaign_id
  • delete_campaign write scope Deletes a campaign. Its leads and conversations stay, and the assistant asks you first. Required campaign_id
  • list_campaign_leads read scope A campaign's leads by stage, with what it posted for each. Required campaign_id Optional stage step_id branch skipped q limit cursor
  • get_campaign_trends read scope A campaign's leads started, DMs, replies and follows by day or by hour. Required campaign_id Optional metrics range timezone
  • list_campaign_templates read scope The campaign templates with their whole flows. Optional method market

Conversations

  • list_conversations read scope Your conversations, the most recent message first, or only the unread ones if you ask. With include_messages each one comes with all its messages. Optional q unread persona_id column_id include_messages limit cursor
  • get_conversation read scope One conversation with all its messages. Required conversation_id
  • list_messages read scope A conversation's whole history from X, page by page. Required conversation_id Optional limit cursor
  • view_media read scope Lets the assistant see an image or a GIF of a message, from the url in its media. Required url
  • send_message write scope Sends a DM from your X account to the lead, with text, an image, a GIF, a video or a voice note. The assistant shows you the text first. Required conversation_id Optional text media reply_to_message_id
  • react_to_message write scope Adds or removes your emoji reaction on a recent message. Required conversation_id message_id emoji Optional remove
  • delete_message write scope Deletes a recent message, for you or for both sides. The assistant asks you first. Required conversation_id message_id Optional for_everyone
  • edit_message write scope Edits one of your recent messages in an X Chat conversation. The lead sees the new text, marked edited. The assistant shows you the text first. Required conversation_id message_id text
  • pin_message write scope Pins a recent message for both sides, or unpins one, in an X Chat conversation. Required conversation_id message_id action
  • list_pins read scope The conversations pinned at the top of your X inbox, or with conversation_id, the messages pinned in that conversation. Optional conversation_id
  • update_conversation write scope Marks a conversation read or unread, moves it to a board column, or pins or unpins it. Required conversation_id Optional read column_id pinned
  • delete_conversation write scope Deletes a conversation in Gemlead and in your X inbox. The assistant asks you first. Required conversation_id
  • update_conversation_translation write scope Turns a conversation's translation on or off, or reads its settings. Required conversation_id Optional enabled shown language
  • translate_messages write scope Translates a conversation's recent messages into a language. Required conversation_id Optional message_ids language
  • list_pipeline_columns read scope The columns of your Conversations board, in order. No arguments
  • edit_pipeline_columns write scope Creates, renames, folds, deletes or reorders the columns of your Conversations board. Required action Optional column_id name collapsed position column_ids

Sam AI

  • get_sam_settings read scope Sam AI's mode, instructions and files on the X account, a persona or a conversation. On a conversation, also the mode that runs, what Sam AI is doing and the reply it has ready. Optional conversation_id persona_id
  • update_sam_settings write scope Changes Sam AI's mode or instructions on a persona or a conversation, adds one instruction at any level, or turns it on or off and sets your business info on the X account. auto sends replies from your X account, so the assistant asks you first. Optional conversation_id persona_id mode instructions add_instruction enabled
  • edit_sam_files write scope Adds files from a URL or removes files Sam AI reads, on the X account, a persona or a conversation. The assistant asks you before it removes one. Optional conversation_id persona_id add remove
  • sam_reply write scope Acts on the reply Sam AI has ready in a conversation. Sends it from your X account now or after a natural delay, holds, edits, reverts, rewrites or cancels it, or asks Sam AI for one. The assistant asks you before it sends. Required conversation_id action Optional messages natural_delay instruction keep

Account and more

  • get_account read scope The X account the connection belongs to, and its plan. No arguments
  • get_account_settings read scope The X connection, the inbox sync, the daily DM limit, the DM pause, X Chat and the owner's time zone and language. No arguments
  • update_account_settings write scope Changes the inbox sync, the daily DM limit or the owner's time zone, language, name or profile photo, reads the X profile again, or connects or resets X Chat. To connect, it returns the X authorization link you open. Optional sync_all_conversations dm_daily_cap timezone language first_name last_name profile_photo inbox_sync refresh_x_profile x_chat
  • disconnect_x_account write scope Disconnects the X account. Gemlead forgets its X session and pauses everything on it, and its data stays. confirm must be DISCONNECT. Owner only, and only when you ask for exactly that. Required confirm
  • delete_x_account write scope Deletes the X account from Gemlead with its leads and conversations. Every API key and AI app connection of the account stops within a minute, this one too. It cannot be undone. confirm must be DELETE. Owner only, and only when you ask for exactly that. Required confirm
  • get_exclusion_list read scope The X accounts and domains Gemlead never contacts, on the account or on one persona. Optional persona
  • edit_exclusion_list write scope Adds or removes X accounts and domains on the exclusion list of the account or of one persona. Optional add remove persona
  • get_analytics read scope A chart of your Dashboard for the account or a persona, or the latest replies, DMs and hot leads. Required metric Optional persona scale start end timezone
  • create_export read scope Starts one file of your leads, CSV or JSON Lines, or of every DM conversation with its whole thread, JSON Lines or Markdown. Optional type format filters
  • get_export read scope An export's status, progress and download link. Required export_id
  • list_exports read scope Your exports, newest first, with their status and link. Optional limit cursor

Team

  • get_team read scope The owner of the X account, its members and invites, with their roles and zones. No arguments
  • edit_team write scope Invites someone by email, changes a member's role or zones, removes a member or cancels an invite, or leaves the team. Required action Optional email role zones member_id

Plan and affiliate

  • get_plan read scope The owner's plan, its status and renewal, the credits and auto-recharge, the free trial, and the prices of the plans and credit packs. Owner only. No arguments
  • manage_plan write scope Gets the Stripe link to subscribe or change the plan, to open the billing page or to buy credits, sets auto-recharge or applies a trial code. Nothing is paid here. The assistant asks you first, above all before auto-recharge, which charges your saved card later on its own. Required action Optional plan billing_period pack code
  • get_affiliate read scope Your affiliate program with its link, rate, referrals, balance and payouts, its statistics over a period, or whether a code is free. Owner only. Optional view code time start end scale comparison timezone charts series
  • manage_affiliate write scope Changes your affiliate code, gets Stripe's link for your bank account, cashes the balance out, or drafts and submits the review post for 20 percent off. A cash out sends money to your bank, so the assistant asks you first with the amount. Required action Optional code text notes post_url

API keys and webhooks

  • list_api_keys read scope Your API keys with their name, prefix, access and last use. A secret is never shown again. No arguments
  • manage_api_keys write scope Creates, rolls or revokes an API key. A new secret shows once, to a call made with an API key only, never to Gemlead's in-app chat. The assistant asks you before it rolls or revokes a key. Required action Optional key_id name scopes
  • list_webhooks read scope Your webhook endpoints without their signing secrets, one endpoint, its latest deliveries, or one delivery with the request Gemlead sent. Optional action endpoint_id delivery_id limit cursor
  • manage_webhooks write scope Creates, updates, deletes or tests a webhook endpoint, or rolls its signing secret. A signing secret shows once, and never to Gemlead's in-app chat. The assistant asks you before it deletes an endpoint or rolls its secret. Required action Optional endpoint_id url events description status filters

Julien AI

  • ask_julien_ai write scope Asks Julien AI, the Gemlead assistant, about Gemlead and your account's data. chat_id goes on in a chat. A reply still running after 25 seconds comes back with its ID, to call again with reply_id only. Optional text chat_id reply_id

Arguments and results

  • A tool takes the parameters of its endpoint, with IDs named after their object, like lead_id, persona_id, campaign_id, conversation_id or export_id. Lists page with limit and cursor, as in Pagination.
  • A tool that does several things takes an action, a kind or a status, like lead_action with action set to rescore, refresh, follow or unfollow.
  • list_campaigns takes status as an array of draft, active, paused and archived. get_campaign_stats counts from from up to to, both ISO 8601 times, to by default now and from 30 days before it.
  • create_export takes the filters of search_leads in filters, without limit and cursor. With type set to conversations, it exports every DM conversation with its whole thread, and filters takes persona_id and unread. It runs on a read key, as Create an export does.
  • ask_julien_ai sends text to Julien AI, with chat_id to go on in a chat. An answer that takes more than 25 seconds comes back running with its id. Call the tool again with only reply_id set to it, and it waits up to 25 seconds more.
  • get_conversation and list_messages list each message's media with a url. view_media takes the url of an image or a GIF and shows the image itself to the assistant, so it can read a screenshot a lead sent. send_message sends one with media, a public https url or base64 data with its mime_type.
  • A wrong argument comes back as a tool error that names it. An API error comes back as a tool error with its code and the argument it is about.

Each tool answers with the JSON of its endpoint, as structured content and as text. The tools publish no output schema, the API reference describes every object.

On the Free and Starter plans the server installs and lists its tools, and each call answers with a plan_required error the assistant can explain. Tool calls count toward the key's 120 requests a minute, shared with the REST API.

Example prompts

  • Show me today's hot leads for my Tipsters persona, with the reason each one scored high.
  • Which campaign had the best reply rate over the last 30 days, and how many DMs did it send?
  • List my unread conversations and summarize what each lead is asking for.
  • Export every hot lead found this week to CSV and give me the link.
  • Export all my DM conversations, then tell me which openers get the most replies and how leads answer the price.
  • Mark the lead @jane_builds as closed and save her HubSpot ID hs_48213 in its metadata.
  • Put Sam AI on Semi-auto for my Tipsters persona and add our pricing PDF to what it reads.

Security

  • The assistant only sees the X account you connected.
  • Revoke a connection or a key in the app, under API, at any time.
  • Give a read key to an assistant that only needs to read.
  • Assistants can be tricked by text they read. Check what a write tool is about to do before you allow it.