About x-use
x-use is an MCP server published by ihuzaifashoukat in the Social category: mCP server for X (Twitter). Research profiles, read inboxes, and review posts, replies and outreach with AI clients. Python, multi-account, no X API key required. Conduid read 82 tools from its source: add_account, add_campaign_leads, add_proxy, approve_draft, bookmark_tweet, cancel_queued_action and 76 more. It is published to PyPI as x-use-mcp and runs with uvx.
The repository has 187 stars and 34 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v3.3.0 (16 Nov 2026): x-use 3.3.0 adds quote posts and fixes cookie import for full Cookie-Editor exports. It follows v3.2.0 (13 Oct 2026), and the 5 most recent releases go back to v2.4.1 (25 Jul 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include social.
Install
uvx x-use-mcppip install x-use-mcpgit clone https://github.com/ihuzaifashoukat/x-useTools (82)
add_accountAdd an account to config/accounts.json (validated, backed up,| Parameter | Type | Description |
|---|---|---|
| account_id * | string | |
| cookie_file | string | |
| is_active | boolean | |
| persona | string | |
| proxy | string | |
| target_keywords | array |
add_campaign_leadsAdd 1-100 local leads from this account to a campaign. Repeated ids| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| campaign_id * | string | |
| lead_ids * | array |
add_proxyAdd a proxy URL to a named pool (created if new) in settings.json.| Parameter | Type | Description |
|---|---|---|
| pool * | string | |
| proxy_url * | string |
approve_draftExecute a pending draft created by a write tool. Runs the exact| Parameter | Type | Description |
|---|---|---|
| draft_id * | string |
bookmark_tweetPrepare a bookmark draft for one exact post. Always requires approve_draft.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| tweet_url * | string |
cancel_queued_actionCancel a pending or failed queued action. Done, processing, and| Parameter | Type | Description |
|---|---|---|
| queue_id * | string |
cancel_threadCancel remaining thread segments locally. Retains confirmed URLs and| Parameter | Type | Description |
|---|---|---|
| run_id * | string |
close_sessionClose one account's browser context; retain the operator's cookie file.| Parameter | Type | Description |
|---|---|---|
| account * | string |
continue_threadResume an approved run only at a known unsubmitted segment after| Parameter | Type | Description |
|---|---|---|
| run_id * | string |
create_campaignCreate a local draft campaign. Personalize using {handle}, {name},| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| message_template * | string | |
| name * | string |
delete_tweetPrepare permanent deletion of your own exact post. Supply its current text (empty for media-only). Always requires approve_draft; cannot be undone.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| expected_text * | string | |
| tweet_url * | string |
draft_post_variationsGenerate `count` distinct takes on a topic with the server-side LLM| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| count | integer | |
| topic * | string |
edit_tweetPrepare a text edit of your own post. Supply its current exact text and replacement; configure self_handles. X must expose Edit post; eligibility/time limits apply. Always requires approval. Media replacement is unsupported.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| expected_text * | string | |
| text * | string | |
| tweet_url * | string |
engageEngage with tweets found via keyword search. `actions` is a subset| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| actions | array | |
| keywords * | array | |
| max_actions | integer |
follow_profilePrepare a follow draft for one X profile; approve_draft performs the action.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| profile * | string |
generate_and_postGenerate a post about `topic` with the configured LLM and post it.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| topic * | string |
get_accountShow one account's masked config (no cookies, no password, proxy| Parameter | Type | Description |
|---|---|---|
| account * | string |
get_account_analyticsRead the signed-in owner's X analytics availability. Requires X Premium when the observed paywall says so; unsupported layouts return no metrics. Distinct from local action metrics and public post counts.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer |
get_account_healthRead-only health snapshot for one account: config presence,| Parameter | Type | Description |
|---|---|---|
| account * | string |
get_account_safetyRead local limits, pause reason, and writes needing outcome reconciliation.| Parameter | Type | Description |
|---|---|---|
| account * | string |
get_bookmarksRead bounded posts in the default bookmarks feed. Partial results; bookmark folders are not traversed.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer |
get_campaignRead this account's campaign and a membership page. limit 1-100;| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| campaign_id * | string | |
| limit | integer | |
| offset | integer |
get_campaign_summaryRead local membership/delivery counts and opt-out suppression count.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| campaign_id * | string |
get_conversationRead bounded visible conversation context and observed request/reply state. Cursor stays within the visible window; opening may clear X unread state. Does not accept requests.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| before_message_id | string | |
| conversation_id * | string | |
| limit | integer |
get_conversation_controlsInspect visible request and conversation-menu controls. Opening may mark read; unsupported layouts return an error, never guessed capabilities.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| conversation_id * | string |
get_draftShow one draft by id. Read-only.| Parameter | Type | Description |
|---|---|---|
| draft_id * | string |
get_home_feedRead posts currently visible in the home feed; no engagement actions.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer |
get_inboxRead visible inbox/requests/other summaries with all/unread/read filtering. Native Unread selection is verified when available; never opens or accepts a conversation.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| folder | string | |
| inbox_filter | string | |
| limit | integer | |
| unread_first | boolean |
get_leadRead one local lead belonging to this account, including its notes.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| lead_id * | string |
get_metricsRead recorded metrics for an account (counters + recent events).| Parameter | Type | Description |
|---|---|---|
| account * | string |
get_notificationsRead bounded visible X notifications from a verified All or Mentions tab.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer | |
| view | string |
get_profileRead public profile details using visible X page elements.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| profile * | string |
get_profile_connectionsRead visible public followers/following. This is not a private address book or complete contact export.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer | |
| profile * | string | |
| relationship | string |
get_profile_contextPreferred outreach read: exact profile details and bounded authored posts together. No draft or send.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| post_limit | integer | |
| profile * | string |
get_profile_postsRead one author's posts, posts-and-replies, or media tab. feed: posts|replies|media. Results are bounded and partial.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| feed | string | |
| limit | integer | |
| profile * | string |
get_run_statusPoll run_cycle handles. With `run_id` omitted, lists every run| Parameter | Type | Description |
|---|---|---|
| run_id | string |
get_runtime_infoInspect server/package versions, tool count and configured executionget_session_statusInspect local session lifecycle (cold/starting/ready/busy/closing/| Parameter | Type | Description |
|---|---|---|
| account | string |
get_threadRead bounded visible conversation context around one exact X post.| Parameter | Type | Description |
|---|---|---|
| account | string | |
| include_images | boolean | |
| limit | integer | |
| tweet_url * | string |
get_thread_runRead durable local segment states, exact published URLs and next index.| Parameter | Type | Description |
|---|---|---|
| run_id * | string |
get_tweetRead-only fetch of one tweet: text, author, public counts, typed| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| include_images | boolean | |
| tweet_url * | string |
list_accountsList configured accounts with secrets stripped (no cookies, nolist_campaignsList this account's local campaigns (without membership details).| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer | |
| offset | integer | |
| status | string |
list_draftsList drafts, newest first. `status` filters to one of| Parameter | Type | Description |
|---|---|---|
| account | string | |
| limit | integer | |
| status | string |
list_leadsList this account's local leads, optionally filtering by status or| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| limit | integer | |
| offset | integer | |
| status | string | |
| tag | string |
list_proxiesList proxy pools (size, masked members, rotation cursor), the globallist_queueList queued actions with their full payloads (exactly what will| Parameter | Type | Description |
|---|---|---|
| account | string | |
| limit | integer | |
| offset | integer | |
| status | string |
manage_conversationDraft one inbox action: accept a request, mute/unmute notifications, or delete a conversation from your inbox. Delete cannot be undone locally and does not promise deletion for recipients. Always requires approval; only verified visible controls are supported.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| conversation_id * | string | |
| operation * | string |
opt_out_leadPermanently suppress outreach to this account's lead handle. This| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| lead_id * | string |
pause_account_actionsPause browser actions durably until the operator explicitly resumes them.| Parameter | Type | Description |
|---|---|---|
| account * | string |
post_tweetPost a tweet from an account. `media` = local file paths; `community`| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| community | string | |
| media | array | |
| quote_tweet_url | string | |
| text * | string |
prepare_campaign_messagesPrepare at most 20 personalized private-message drafts for eligible| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| campaign_id * | string | |
| max_messages | integer |
prepare_outreachFetch profile details and up to 10 authored posts, then prepare ONE| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| message_text * | string | |
| post_limit | integer | |
| profile * | string |
prepare_replyRead-only reply context: the tweet's text AND media (photos attach| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| include_images | boolean | |
| tweet_url * | string |
prepare_threadStage 1-20 exact text/media posts for review; always creates a draft.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| posts * | array | |
| reply_to | string |
preview_campaign_messagePreview one campaign member's exact personalized message and local| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| campaign_id * | string | |
| lead_id * | string |
process_queueDrain queued actions with jittered pacing and daily caps. THIS| Parameter | Type | Description |
|---|---|---|
| account | string | |
| max_actions | integer |
queue_engagementQueue a like, retweet, or reply for paced execution. `action` is| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| action * | string | |
| text | string | |
| tweet_url * | string |
queue_postSchedule a post for paced execution. Pass `text` verbatim, or a| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| community | string | |
| media | array | |
| not_before | string | |
| text | string | |
| topic | string |
reject_draftReject a pending draft so it can never be approved. Local status| Parameter | Type | Description |
|---|---|---|
| draft_id * | string |
remove_accountRemove an account from config/accounts.json. Requires| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| confirm | boolean |
remove_bookmarkPrepare removal of one bookmark. Always requires approve_draft.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| tweet_url * | string |
remove_proxyRemove a proxy URL from a pool. Requires confirm=true. The response| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | |
| pool * | string | |
| proxy_url * | string |
reply_to_tweetReply to a tweet. Pass explicit `text`, or "auto" to generate the| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| media | array | |
| text | string | |
| tweet_url * | string |
research_and_stageSearch each keyword, keep relevant tweets (keyless heuristic), write| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| keywords * | array | |
| max_items | integer |
resolve_action_outcomeAfter inspecting X, record succeeded or not_sent for an uncertain action. Repairs associated draft/queue history; queued not_sent work is cancelled and never resent automatically. Incorrect not_sent can cause duplicates.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| action_id * | string | |
| observed_outcome * | string |
resume_account_actionsAfter resolving a challenge, probe the signed-in home page and clear the local pause. Does not reset budgets.| Parameter | Type | Description |
|---|---|---|
| account * | string |
run_cycleRun the legacy batch automation cycle in the background and return| Parameter | Type | Description |
|---|---|---|
| account | string | |
| pipelines | string |
search_conversationsSearch the visible inbox locally; results are partial, not full message-history search.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| folder | string | |
| inbox_filter | string | |
| limit | integer | |
| query * | string | |
| unread_first | boolean |
search_profileRead recent posts from ONE X profile. `profile` takes a handle| Parameter | Type | Description |
|---|---|---|
| account | string | |
| include_images | boolean | |
| limit | integer | |
| profile * | string |
search_tweetsSearch recent X posts for a query string. Read-only (draft mode| Parameter | Type | Description |
|---|---|---|
| account | string | |
| include_images | boolean | |
| keywords * | string | |
| limit | integer |
send_messagePrepare a reviewed DM draft for one handle or conversation. Always requires approve_draft, even when draft_mode is off.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| recipient * | string | |
| text * | string |
set_account_activeEnable or pause an account without deleting it. Pausing closes| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| active * | boolean |
set_campaign_statusSet local campaign status: draft, ready, paused, completed. Pausing| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| campaign_id * | string | |
| status * | string |
test_proxyProbe the effective proxy in an isolated, cookieless browser using| Parameter | Type | Description |
|---|---|---|
| account | string | |
| proxy_url | string |
undo_retweetPrepare removal of your repost of one exact post. Always requires approve_draft.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| tweet_url * | string |
unfollow_profilePrepare unfollowing one exact X profile. Always requires approve_draft.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| profile * | string |
unlike_tweetPrepare removal of your like from one exact post. Always requires approve_draft.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| tweet_url * | string |
unlock_inboxUnlock the owner's encrypted inbox once using a server environment variable. PIN never appears in tool arguments, drafts, logs or stored state. Inspect get_account_safety for remaining attempts and reset time; never loop on a rejected PIN or challenge.| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| pin_env_var | string |
update_accountPartially update an account. Only provided fields change (None =| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| action_config | object | |
| competitor_profiles | array | |
| cookie_file | string | |
| is_active | boolean | |
| persona | string | |
| proxy | string | |
| self_handles | array | |
| target_keywords | array |
update_lead_statusChange a lead's local status. Only new/qualified leads can receive| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| lead_id * | string | |
| status * | string |
upsert_leadAdd/update one local lead by X handle (unique per account). Omitted| Parameter | Type | Description |
|---|---|---|
| account * | string | |
| company | string | |
| display_name | string | |
| handle * | string | |
| notes | string | |
| status | string | |
| tags | array |
Security checks
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 115 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.6K words, fetched 13 days ago. The original in the repository is authoritative.
Read full README