Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWIKIT_CT0Yesthe ct0 cookie value
TWIKIT_PROXYNoe.g. http://user:pass@host:port
TWIKIT_LANGUAGENodefault en-USen-US
TWIKIT_AUTH_TOKENYesthe auth_token cookie value
TWIKIT_MCP_RATE_LIMITNoSet to off (or 0/false) to disable throttling entirelyon
TWIKIT_MCP_RATE_LIMIT_PER_MINUTENoMax tool calls per minute30

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoamiA

Return the authenticated account's own user id (confirms the session works).

rate_limit_statusA

Report the current client-side rate-limit configuration.

Does not require auth and does not consume a rate-limit token. Configure via TWIKIT_MCP_RATE_LIMIT (on/off) and TWIKIT_MCP_RATE_LIMIT_PER_MINUTE.

get_userA

Look up a user profile by @handle (screen name), e.g. "jack".

get_user_by_idB

Look up a user profile by their numeric user id.

search_usersA

Search for user accounts matching a query. Paginated via cursor.

get_user_tweetsB

Get a user's tweets. tweet_type selects the tab. Paginated via cursor.

get_user_followersA

List accounts that follow the given user id. Paginated via cursor.

get_user_followingA

List accounts the given user id follows. Paginated via cursor.

follow_userB

Follow the account with the given user id.

unfollow_userC

Unfollow the account with the given user id.

block_userC

Block the account with the given user id.

mute_userC

Mute the account with the given user id.

get_tweetA

Fetch a single tweet by its id, including engagement counts and media.

search_tweetsA

Search tweets. product = Top | Latest | Media. Paginated via cursor.

Supports X search operators, e.g. 'from:nasa filter:media -is:retweet'.

get_home_timelineB

Get the authenticated user's home timeline ('for_you' or 'following').

get_retweetersB

List accounts that retweeted the given tweet. Paginated via cursor.

get_favoritersA

List accounts that liked the given tweet. Paginated via cursor.

post_tweetA

Post a tweet. Set reply_to to a tweet id to reply. is_note_tweet allows long-form (>280 char) posts on eligible accounts.

delete_tweetA

Delete one of your own tweets by id.

like_tweetA

Like (favorite) a tweet by id.

unlike_tweetB

Remove your like from a tweet by id.

retweetC

Retweet a tweet by id.

undo_retweetB

Undo a retweet by tweet id.

bookmark_tweetB

Bookmark a tweet by id.

get_trendsC

Get current trends for a category.

send_direct_messageB

Send a direct message to a user id. reply_to is an optional message id.

get_dm_historyA

Get direct-message history with a user id. max_id pages older messages.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bintangtimurlangit/twikit-x-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server