spectre-mcp

v2.0.6
spectre-mcp Checked 4 days ago Published 21 days ago

The fastest X/Twitter automation for AI agents — no browser, no API keys, no monthly fees.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_me Get Me

Identify the account this server is actually authenticated as. Call this first in any session. Returns the live handle, id, bio and counts straight from X — not from the local pool — plus whether the stored pool handle has gone stale (accounts get renamed; a stale handle makes every profile lookup on it return "not found").

list_accounts List Accounts

List the accounts in the pool with their state (active / locked / error). Use before heavy work to see how much rate-limit headroom the pool has, and when a call fails with `kind: auth` to spot the dead account.

pool_status Pool Status

Account pool health: counts plus per-account state. Faster to read than list_accounts when all you need is "do I have a working account right now".

set_active_account Set Active Account

Make one account the first choice for every call. The pool still falls back to the others on a rate limit unless auto-rotation is off. Use when a specific account must own the action (posting as a brand, DMs from a personal handle).

ParameterTypeDescription
username *string

set_auto_rotate Set Auto Rotate

Turn automatic account rotation on or off. On (default): a rate-limited or dead account is benched and the next active account retries the call. Off: the call fails instead, so you always know which account acted.

ParameterTypeDescription
enabled *boolean

remove_account Remove Account

Remove an account and its cookies from the local pool. Destructive: the cookies are gone, so re-adding requires fresh browser cookies. Does not touch the X account itself.

ParameterTypeDescription
username *string

get_rate_limits Get Rate Limits

Per-account rate-limit state: locks, last use, last X rate-limit headers. Call before a bulk job to decide how many accounts can absorb it, and after a `kind: rate_limit` error to see when the window resets.

search_users Search Users

Find accounts by name or keyword. Cheaper than search() when you only need the handle/id. Follow up with get_user() for the full profile.

ParameterTypeDescription
query *string
limitinteger

get_user Get User

Full profile for one handle (without the @). Returns the numeric id you need for follow/block/DM/like-style tools. Also the right call to check whether an account still exists before acting on it.

ParameterTypeDescription
username *string

get_user_by_id Get User By Id

Resolve a numeric user id to a profile. Use when an id arrives from a DM, list membership or a tweet's author_id and you need the handle. Cheaper and more reliable than guessing a handle.

ParameterTypeDescription
user_id *string

get_users_by_ids Get Users By Ids

Resolve many user ids at once (comma-separated). One call per id internally, so keep it to a handful; missing ids come back in `missing` rather than failing the batch.

ParameterTypeDescription
user_ids *string

get_user_tweets Get User Tweets

A user's own posts, newest first (no replies). X caps how far back this reaches (~3,200 posts). For older material use search("from:<handle> since:...").

ParameterTypeDescription
username *string
limitinteger

get_user_tweets_and_replies Get User Tweets And Replies

A user's posts including their replies. Use to see who someone talks to and how — good for tone/relationship analysis. Costs more than get_user_tweets because replies dilute the page.

ParameterTypeDescription
username *string
limitinteger

get_user_media Get User Media

Photos, videos and GIFs a user posted, with direct media URLs. Use before download_media() when you need the files, or for visual research.

ParameterTypeDescription
username *string
limitinteger

get_followers Get Followers

A user's followers, with a real limit. `limit` is honoured exactly (the old 100 cap is gone) up to 5000; long walks stop at a time budget and set `truncated: true`. `total_available` is the account's follower count so you can see how far you got.

ParameterTypeDescription
username *string
limitinteger

get_following Get Following

Accounts a user follows, with a real limit (up to 5000). Same truncation contract as get_followers: `truncated` tells you the walk stopped early, `total_available` is the profile's following count.

ParameterTypeDescription
username *string
limitinteger

get_verified_followers Get Verified Followers

Blue-verified followers of a user. A cheap proxy for "who matters in this audience" — useful for prioritising outreach without walking thousands of followers.

ParameterTypeDescription
user_id *string
limitinteger

get_followers_you_know Get Followers You Know

Mutual followers between you and another account. Best first move before cold outreach: the overlap is the warm-intro list.

ParameterTypeDescription
user_id *string
limitinteger

get_user_likes Get User Likes

Posts a user liked. Usually empty: X hides likes for most accounts.

ParameterTypeDescription
user_id *string
limitinteger

get_user_highlights Get User Highlights

Posts a user pinned to their profile Highlights section. Highlights are curated, so this is the closest thing to "what they want to be known for".

ParameterTypeDescription
user_id *string
limitinteger

create_highlight Create Highlight

Add posts to your profile's Highlights section (comma-separated ids). Highlights are public. X limits the feature to eligible accounts and answers `kind: permission` for the rest.

ParameterTypeDescription
tweet_ids *string

delete_highlight Delete Highlight

Remove a post from your profile's Highlights section.

ParameterTypeDescription
tweet_id *string

get_tweet Get Tweet

One post with full text, metrics, media URLs and author. Long-form posts are returned in full (the note_tweet body), not truncated at 280 characters. Use get_tweets() to batch several ids.

ParameterTypeDescription
tweet_id *string

get_tweets Get Tweets

Fetch several posts by id in one call (comma-separated). Cheaper than looping get_tweet. Missing ids are reported in `missing` instead of failing the whole batch.

ParameterTypeDescription
tweet_ids *string

get_tweet_replies Get Tweet Replies

Direct replies to a post. Use get_thread() instead when you need the whole conversation including the parent chain.

ParameterTypeDescription
tweet_id *string
limitinteger

get_thread Get Thread

The conversation a post belongs to, oldest first. Pass any id in the thread. Includes the focal post, its ancestors and the replies X returns for that conversation.

ParameterTypeDescription
tweet_id *string
limitinteger

get_tweet_quotes Get Tweet Quotes

Posts that quote a given post. Quotes are where the commentary lives — more useful than replies for judging reaction. Paginate with next_cursor.

ParameterTypeDescription
tweet_id *string
cursorstring
limitinteger

get_retweeters Get Retweeters

Accounts that retweeted a post.

ParameterTypeDescription
tweet_id *string
limitinteger

get_favoriters Get Favoriters

Accounts that liked a post. Can be empty on very large accounts: X limits who is listable.

ParameterTypeDescription
tweet_id *string
limitinteger

get_tweet_edit_history Get Tweet Edit History

Edit history of a post (ids of every version). Only populated for posts that were actually edited.

ParameterTypeDescription
tweet_id *string

get_similar_posts Get Similar Posts

Posts X considers related to a given post. Premium-gated upstream: on non-Premium accounts this returns an empty list with a `note`, not an error.

ParameterTypeDescription
tweet_id *string
limitinteger

get_community_notes Get Community Notes

Community Notes attached to a post.

ParameterTypeDescription
tweet_id *string

rate_community_note Rate Community Note

Rate a Community Note: helpful, somewhat_helpful, or not_helpful. Requires an account enrolled in Community Notes.

ParameterTypeDescription
note_id *string
rating *string

get_home_timeline Get Home Timeline

The authenticated account's "For You" feed, with authors resolved. Use for ambient awareness rather than targeted research. For the reverse chronological feed use search("filter:follows").

ParameterTypeDescription
limitinteger

get_notifications Get Notifications

Notifications timeline: likes, follows, replies, mentions, reposts. Use it to find what needs a response; each item carries the type plus the user/tweet involved. Paginate with next_cursor.

ParameterTypeDescription
cursorstring
limitinteger

post_tweet Post Tweet

Publish a post, reply or quote. Public the moment it runs. Confirm with the user first. Upload media before posting and pass the ids here (comma-separated). Standard accounts cap at 280 characters, Premium at 25,000; X rejects identical text as a duplicate.

ParameterTypeDescription
text *string
media_idsstring
quote_tweet
reply_to

delete_tweet Delete Tweet

Delete one of your posts. Permanent — confirm first.

ParameterTypeDescription
tweet_id *string

upload_media Upload Media

Upload an image, GIF or video and get the media id for post_tweet. Cookie auth, no API keys. Chunked (4 MiB) with processing polling for video, so large files take a while but do not time out. jpg/png/webp/gif/mp4/mov.

ParameterTypeDescription
file_path *string

download_media Download Media

Download a post's media (or a single media URL) to disk. Pass a tweet id/URL to get everything attached, or a direct pbs/video URL. Returns the saved paths so you can open or analyse them.

ParameterTypeDescription
source *string
dest_dirstring

like_tweet Like Tweet

Like a post. Reversible with unlike_tweet.

ParameterTypeDescription
tweet_id *string

unlike_tweet Unlike Tweet

Remove your like from a post.

ParameterTypeDescription
tweet_id *string

retweet Retweet

Repost someone's post to your followers. Public — confirm first.

ParameterTypeDescription
tweet_id *string

unretweet Unretweet

Undo your repost.

ParameterTypeDescription
tweet_id *string

bookmark_tweet Bookmark Tweet

Save a post to your bookmarks. Private, reversible.

ParameterTypeDescription
tweet_id *string

unbookmark_tweet Unbookmark Tweet

Remove a post from your bookmarks.

ParameterTypeDescription
tweet_id *string

pin_tweet Pin Tweet

Pin a post to your profile. Replaces any existing pin without warning.

ParameterTypeDescription
tweet_id *string

unpin_tweet Unpin Tweet

Unpin the post from your profile.

ParameterTypeDescription
tweet_id *string

pin_reply Pin Reply

Pin a reply inside its conversation (needs the conversation id). The conversation id is a tweet's `conversation_id`; get it from get_tweet.

ParameterTypeDescription
tweet_id *string
conversation_idstring

unpin_reply Unpin Reply

Unpin a reply from its conversation.

ParameterTypeDescription
tweet_id *string
conversation_idstring

follow_user Follow User

Follow an account. Takes a numeric user id — resolve handles with get_user first.

ParameterTypeDescription
user_id *string

unfollow_user Unfollow User

Unfollow an account.

ParameterTypeDescription
user_id *string

mute_user Mute User

Mute an account (you stop seeing them; they are not told).

ParameterTypeDescription
user_id *string

unmute_user Unmute User

Unmute an account.

ParameterTypeDescription
user_id *string

block_user Block User

Block an account. They lose access to you; this is visible to them.

ParameterTypeDescription
user_id *string

unblock_user Unblock User

Unblock an account.

ParameterTypeDescription
user_id *string

remove_follower Remove Follower

Remove someone from your followers (soft-block). They can follow again.

ParameterTypeDescription
user_id *string

get_muted_accounts Get Muted Accounts

Accounts you have muted.

ParameterTypeDescription
limitinteger

get_blocked_accounts Get Blocked Accounts

Accounts you have blocked.

ParameterTypeDescription
limitinteger

send_dm Send Dm

Send a direct message. No recall — confirm the recipient and text first. The recipient must accept DMs from you (mutual follow, or open message requests). Failures come back as `kind: validation` with X's reason.

ParameterTypeDescription
text *string
user_id *string

get_dm_inbox Get Dm Inbox

Recent DM conversations and their latest messages. Returns both `messages` (flat, newest first) and `conversations` (threads with participants). Use a conversation_id from here with get_dm_conversation.

ParameterTypeDescription
limitinteger

get_dm_conversation Get Dm Conversation

Every message in one DM thread, oldest first. Includes both directions and the participants' profiles. If a reply the user can see on x.com is missing here, X is not serving it to the cookie session — report that instead of assuming it does not exist.

ParameterTypeDescription
conversation_id *string
limitinteger

search_dm Search Dm

Search across all DM messages.

ParameterTypeDescription
query *string
limitinteger

search_dm_groups Search Dm Groups

Search group DM conversations.

ParameterTypeDescription
query *string
limitinteger

search_dm_people Search Dm People

Search for people you have DM history with.

ParameterTypeDescription
query *string
limitinteger

get_dm_muted Get Dm Muted

Muted DM conversations.

ParameterTypeDescription
limitinteger

dm_block_user Dm Block User

Block a user from sending you DMs (does not block them globally).

ParameterTypeDescription
user_id *string

dm_unblock_user Dm Unblock User

Allow a user to DM you again.

ParameterTypeDescription
user_id *string

get_list_info Get List Info

Name, description, member/subscriber counts and owner of a list.

ParameterTypeDescription
list_id *string

create_list Create List

Create a list. Returns the list_id you need for members and timelines.

ParameterTypeDescription
name *string
descriptionstring
privateboolean

update_list Update List

Rename or re-describe a list.

ParameterTypeDescription
list_id *string
name *string
descriptionstring
private

delete_list Delete List

Delete a list permanently. Members are not affected.

ParameterTypeDescription
list_id *string

add_list_member Add List Member

Add an account to a list.

ParameterTypeDescription
list_id *string
user_id *string

remove_list_member Remove List Member

Remove an account from a list.

ParameterTypeDescription
list_id *string
user_id *string

get_list_timeline Get List Timeline

Posts from the members of a list (the main reason to build lists).

ParameterTypeDescription
list_id *string
limitinteger

get_list_members Get List Members

Members of a list.

ParameterTypeDescription
list_id *string
limitinteger

get_list_subscribers Get List Subscribers

Accounts subscribed to a list.

ParameterTypeDescription
list_id *string
limitinteger

get_list_memberships Get List Memberships

Lists a user belongs to — a fast map of someone's information diet.

ParameterTypeDescription
user_id *string
limitinteger

get_list_ownerships Get List Ownerships

Lists a user created.

ParameterTypeDescription
user_id *string
limitinteger

subscribe_list Subscribe List

Subscribe to someone else's list so it appears in your timeline.

ParameterTypeDescription
list_id *string

unsubscribe_list Unsubscribe List

Unsubscribe from a list.

ParameterTypeDescription
list_id *string

get_community_info Get Community Info

Community name, description, member count and join policy.

ParameterTypeDescription
community_id *string

get_community_tweets Get Community Tweets

Posts inside a community.

ParameterTypeDescription
community_id *string
limitinteger

join_community Join Community

Join a community. Visible to its members.

ParameterTypeDescription
community_id *string

leave_community Leave Community

Leave a community.

ParameterTypeDescription
community_id *string

get_topic_info Get Topic Info

Details and follow state of a topic.

ParameterTypeDescription
topic_id *string

follow_topic Follow Topic

Follow a topic (X's curated interest feeds).

ParameterTypeDescription
topic_id *string

unfollow_topic Unfollow Topic

Unfollow a topic.

ParameterTypeDescription
topic_id *string

get_trend_locations Get Trend Locations

Places you can request trends for, with their woeids.

get_bookmarks Get Bookmarks

Your bookmarked posts, newest first. Paginate with next_cursor.

ParameterTypeDescription
cursorstring
limitinteger

search_bookmarks Search Bookmarks

Full-text search inside your bookmarks.

ParameterTypeDescription
query *string
cursorstring
limitinteger

clear_all_bookmarks Clear All Bookmarks

Delete every bookmark. Irreversible — confirm first.

get_bookmark_folders Get Bookmark Folders

List your bookmark folders. X gates bookmark folders behind Premium.

create_bookmark_folder Create Bookmark Folder

Create a bookmark folder (Premium-gated by X).

ParameterTypeDescription
name *string

edit_bookmark_folder Edit Bookmark Folder

Rename a bookmark folder (Premium-gated by X).

ParameterTypeDescription
folder_id *string
name *string

delete_bookmark_folder Delete Bookmark Folder

Delete a bookmark folder. The bookmarks inside are not deleted.

ParameterTypeDescription
folder_id *string

add_tweet_to_folder Add Tweet To Folder

Put a bookmarked post into a folder.

ParameterTypeDescription
folder_id *string
tweet_id *string

remove_tweet_from_folder Remove Tweet From Folder

Remove a post from a folder (keeps the bookmark itself).

ParameterTypeDescription
folder_id *string
tweet_id *string

get_bookmark_folder_timeline Get Bookmark Folder Timeline

Posts inside one bookmark folder.

ParameterTypeDescription
folder_id *string
limitinteger

schedule_tweet Schedule Tweet

Schedule a post for a future ISO-8601 time (e.g. 2026-12-01T12:00:00Z). Posting happens later without you — clear it with the user, and note the time is UTC unless the string carries an offset.

ParameterTypeDescription
execute_at *string
text *string
media_idsstring
reply_to

get_scheduled_tweets Get Scheduled Tweets

Everything currently queued, with execute_at in ISO-8601 and state.

edit_scheduled_tweet Edit Scheduled Tweet

Change the text or time of a queued post.

ParameterTypeDescription
execute_at *string
scheduled_id *string
text *string

delete_scheduled_tweet Delete Scheduled Tweet

Cancel a queued post.

ParameterTypeDescription
scheduled_id *string

create_draft Create Draft

Save a draft (never publishes by itself).

ParameterTypeDescription
text *string

get_drafts Get Drafts

Your saved drafts.

edit_draft Edit Draft

Rewrite a saved draft.

ParameterTypeDescription
draft_id *string
text *string

delete_draft Delete Draft

Delete a saved draft.

ParameterTypeDescription
draft_id *string

get_account_settings Get Account Settings

The authenticated account as X sees it, plus a stale-handle warning. X removed the REST settings endpoint, so language/timezone are no longer exposed; everything here comes from GraphQL Viewer.

update_profile Update Profile

Change your public display name, bio, location or website. Only the fields you pass are touched (empty means "leave it"). Bio cannot contain < > or & — X rejects them with code 120.

ParameterTypeDescription
biostring
locationstring
namestring
websitestring

update_profile_image Update Profile Image

Replace the avatar. Takes a local jpg/png/gif path.

ParameterTypeDescription
file_path *string

update_profile_banner Update Profile Banner

Replace the banner/header image (recommended 1500x500).

ParameterTypeDescription
file_path *string

delete_profile_banner Delete Profile Banner

Remove the banner image.