Gemlead
AI SDR สำหรับ X (Twitter) ค้นหาและให้คะแนนลีดที่ Gemlead พบใน X ทำแคมเปญวอร์มอัปและ DM และอ่านและตอบบทสนทนา DM ด้วยคำตอบจาก Sam AI มีเครื่องมือ 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
- In Claude, open Customize, then Connectors.
- Click Add, then Add custom connector.
- Name it Gemlead and paste
https://gemlead.ai/mcpas the server URL. - Keep Use Claude's published identity as the OAuth client, then click Add.
- 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
readscope Leads with the filters of List leads, like hot leads of one persona found this week. Optionalqpersona_idstatusscore_minscore_maxhotscored_afterscored_beforefound_afterfound_beforeorderlimitcursor - get_lead
readscope One lead with its profile, score and reason. Requiredlead_id - update_lead
writescope Sets metadata on a lead, or closes it when you are done with it. Requiredlead_idOptionalmetadatastatus - get_lead_origin
readscope How Gemlead found a lead, the post that surfaced it and its campaigns. Requiredlead_id - lead_action
writescope 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. Requiredlead_idaction - convert_lead_to_source
writescope Makes a lead a source of its persona, to read who it follows, its followers or who comments on its posts. Requiredlead_idOptionalmethod - delete_lead
writescope Deletes a lead and stops it in every campaign. The assistant asks you first. Requiredlead_id
Personas
- list_personas
readscope Your personas with their counts and today's numbers. Optionallimitcursor - get_persona
readscope One persona and its stats. Requiredpersona_id - create_persona
writescope 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. RequirednamedescriptionOptionalwebsitemarketkeywordscompetitorsavoidmin_followersinclude_closed_inboxesauto_expandauto_expand_directiondaily_scoring_limitsources - get_persona_settings
readscope Every setting of a persona, with its keyword searches and competitor accounts. Requiredpersona_id - update_persona
writescope Changes a persona's settings, or activates or pauses it. Requiredpersona_idOptionalnamewebsitedescriptionmarketkeywordscompetitorsavoidmin_followersinclude_closed_inboxesauto_expandauto_expand_directiondaily_scoring_limitstatus - delete_persona
writescope Deletes a persona with its sources and the leads no campaign worked on. The assistant asks you first. Requiredpersona_id - reorder_personas
writescope Sets the order of your personas. Requiredpersona_ids - suggest_persona
writescope Asks the AI to write a persona from a name and what you sell. Requiredpersona_nameOptionalwebsitebriefcurrent_descriptioninstruction - get_persona_suggestion
readscope The last persona suggestion,pending,readywith its text, orerror. No arguments - get_persona_sharing
readscope Which X accounts of the owner share a persona, and the others it can be shared with. Requiredpersona_id - update_persona_sharing
writescope Sets which other X accounts of the owner share a persona. Owner only. Requiredpersona_idaccount_ids
Sources
- list_sources
readscope A persona's sources with their stats, or one of them. Requiredpersona_idOptionalsource_idlimitcursorpaused - add_source
writescope Adds an X account as a source of a persona. Requiredpersona_idusernameOptionalread_followingread_followersscore_self - update_source
writescope Changes what Gemlead reads on a source, or pauses, resumes, skips, refreshes or scores it. Requiredpersona_idsource_idOptionalread_followingread_followersscore_selfaction - delete_source
writescope Removes a source and its leads no campaign worked on. The assistant asks you first. Requiredpersona_idsource_id - list_source_leads
readscope The leads a source found, best score first. Requiredpersona_idsource_idOptionalorderlimitcursor - list_persona_items
readscope A persona's keyword searches or competitor accounts, each with whether it is paused and its leads found, scored and hot. Requiredpersona_idkind - edit_persona_items
writescope Adds, removes, pauses or resumes keyword searches or competitor accounts on a persona. Requiredpersona_idkindOptionaladdremovepauseresume - list_item_leads
readscope The leads one keyword search or one competitor account found, best score first. Requiredpersona_idOptionalsearch_querycompetitor_accountorderlimitcursor - suggest_sources
readscope X accounts the AI suggests as sources for a persona. Requiredpersona_id
Campaigns
- list_campaigns
readscope Your campaigns with their totals. Optionalstatuspersona_idlimitcursor - create_campaign
writescope Creates a draft campaign from a template or your own flow. Nothing goes out until it starts. Requiredpersona_idnameOptionalmethodmin_scoredaily_limitlead_ordertemplateflow - get_campaign_settings
readscope A campaign's settings and its flow, every step with its ID. Requiredcampaign_id - update_campaign
writescope Changes a campaign's settings or replaces its flow. Requiredcampaign_idOptionalnamemethodmin_scoredaily_limitlead_orderflow - set_campaign_status
writescope Starts, pauses or archives a campaign. Starting it sends likes, comments, follows and DMs from your X account, so the assistant asks you first. Requiredcampaign_idstatus - duplicate_campaign
writescope Copies a campaign's settings and flow into a new draft. Requiredcampaign_id - delete_campaign
writescope Deletes a campaign. Its leads and conversations stay, and the assistant asks you first. Requiredcampaign_id - list_campaign_leads
readscope A campaign's leads by stage, with what it posted for each. Requiredcampaign_idOptionalstagestep_idbranchskippedqlimitcursor - get_campaign_trends
readscope A campaign's leads started, DMs, replies and follows by day or by hour. Requiredcampaign_idOptionalmetricsrangetimezone - list_campaign_templates
readscope The campaign templates with their whole flows. Optionalmethodmarket
Conversations
- list_conversations
readscope Your conversations, the most recent message first, or only the unread ones if you ask. Withinclude_messageseach one comes with all its messages. Optionalqunreadpersona_idcolumn_idinclude_messageslimitcursor - get_conversation
readscope One conversation with all its messages. Requiredconversation_id - list_messages
readscope A conversation's whole history from X, page by page. Requiredconversation_idOptionallimitcursor - view_media
readscope Lets the assistant see an image or a GIF of a message, from theurlin itsmedia. Requiredurl - send_message
writescope 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. Requiredconversation_idOptionaltextmediareply_to_message_id - react_to_message
writescope Adds or removes your emoji reaction on a recent message. Requiredconversation_idmessage_idemojiOptionalremove - delete_message
writescope Deletes a recent message, for you or for both sides. The assistant asks you first. Requiredconversation_idmessage_idOptionalfor_everyone - edit_message
writescope 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. Requiredconversation_idmessage_idtext - pin_message
writescope Pins a recent message for both sides, or unpins one, in an X Chat conversation. Requiredconversation_idmessage_idaction - list_pins
readscope The conversations pinned at the top of your X inbox, or withconversation_id, the messages pinned in that conversation. Optionalconversation_id - update_conversation
writescope Marks a conversation read or unread, moves it to a board column, or pins or unpins it. Requiredconversation_idOptionalreadcolumn_idpinned - delete_conversation
writescope Deletes a conversation in Gemlead and in your X inbox. The assistant asks you first. Requiredconversation_id - update_conversation_translation
writescope Turns a conversation's translation on or off, or reads its settings. Requiredconversation_idOptionalenabledshownlanguage - translate_messages
writescope Translates a conversation's recent messages into a language. Requiredconversation_idOptionalmessage_idslanguage - list_pipeline_columns
readscope The columns of your Conversations board, in order. No arguments - edit_pipeline_columns
writescope Creates, renames, folds, deletes or reorders the columns of your Conversations board. RequiredactionOptionalcolumn_idnamecollapsedpositioncolumn_ids
Sam AI
- get_sam_settings
readscope 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. Optionalconversation_idpersona_id - update_sam_settings
writescope 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.autosends replies from your X account, so the assistant asks you first. Optionalconversation_idpersona_idmodeinstructionsadd_instructionenabled - edit_sam_files
writescope 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. Optionalconversation_idpersona_idaddremove - sam_reply
writescope 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. Requiredconversation_idactionOptionalmessagesnatural_delayinstructionkeep
Account and more
- get_account
readscope The X account the connection belongs to, and its plan. No arguments - get_account_settings
readscope 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
writescope 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. Optionalsync_all_conversationsdm_daily_captimezonelanguagefirst_namelast_nameprofile_photoinbox_syncrefresh_x_profilex_chat - disconnect_x_account
writescope Disconnects the X account. Gemlead forgets its X session and pauses everything on it, and its data stays.confirmmust beDISCONNECT. Owner only, and only when you ask for exactly that. Requiredconfirm - delete_x_account
writescope 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.confirmmust beDELETE. Owner only, and only when you ask for exactly that. Requiredconfirm - get_exclusion_list
readscope The X accounts and domains Gemlead never contacts, on the account or on one persona. Optionalpersona - edit_exclusion_list
writescope Adds or removes X accounts and domains on the exclusion list of the account or of one persona. Optionaladdremovepersona - get_analytics
readscope A chart of your Dashboard for the account or a persona, or the latest replies, DMs and hot leads. RequiredmetricOptionalpersonascalestartendtimezone - create_export
readscope Starts one file of your leads, CSV or JSON Lines, or of every DM conversation with its whole thread, JSON Lines or Markdown. Optionaltypeformatfilters - get_export
readscope An export's status, progress and download link. Requiredexport_id - list_exports
readscope Your exports, newest first, with their status and link. Optionallimitcursor
Team
- get_team
readscope The owner of the X account, its members and invites, with their roles and zones. No arguments - edit_team
writescope Invites someone by email, changes a member's role or zones, removes a member or cancels an invite, or leaves the team. RequiredactionOptionalemailrolezonesmember_id
Plan and affiliate
- get_plan
readscope 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
writescope 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. RequiredactionOptionalplanbilling_periodpackcode - get_affiliate
readscope Your affiliate program with its link, rate, referrals, balance and payouts, its statistics over a period, or whether a code is free. Owner only. Optionalviewcodetimestartendscalecomparisontimezonechartsseries - manage_affiliate
writescope 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. RequiredactionOptionalcodetextnotespost_url
API keys and webhooks
- list_api_keys
readscope Your API keys with their name, prefix, access and last use. A secret is never shown again. No arguments - manage_api_keys
writescope 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. RequiredactionOptionalkey_idnamescopes - list_webhooks
readscope Your webhook endpoints without their signing secrets, one endpoint, its latest deliveries, or one delivery with the request Gemlead sent. Optionalactionendpoint_iddelivery_idlimitcursor - manage_webhooks
writescope 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. RequiredactionOptionalendpoint_idurleventsdescriptionstatusfilters
Julien AI
- ask_julien_ai
writescope Asks Julien AI, the Gemlead assistant, about Gemlead and your account's data.chat_idgoes on in a chat. A reply stillrunningafter 25 seconds comes back with its ID, to call again withreply_idonly. Optionaltextchat_idreply_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_idorexport_id. Lists page withlimitandcursor, as in Pagination. - A tool that does several things takes an
action, akindor astatus, likelead_actionwithactionset torescore,refresh,followorunfollow. list_campaignstakesstatusas an array ofdraft,active,pausedandarchived.get_campaign_statscounts fromfromup toto, both ISO 8601 times,toby default now andfrom30 days before it.create_exporttakes the filters ofsearch_leadsinfilters, withoutlimitandcursor. Withtypeset toconversations, it exports every DM conversation with its whole thread, andfilterstakespersona_idandunread. It runs on areadkey, as Create an export does.ask_julien_aisendstextto Julien AI, withchat_idto go on in a chat. An answer that takes more than 25 seconds comes backrunningwith itsid. Call the tool again with onlyreply_idset to it, and it waits up to 25 seconds more.get_conversationandlist_messageslist each message's media with aurl.view_mediatakes theurlof an image or a GIF and shows the image itself to the assistant, so it can read a screenshot a lead sent.send_messagesends one withmedia, a public httpsurlor base64datawith itsmime_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
readkey 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.