x-agent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CT0 | Yes | The ct0 cookie from that same logged-in session | |
| AUTH_TOKEN | Yes | The auth_token cookie from a logged-in x.com session |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| post_tweetA | Publish a new tweet from the authenticated account. Returns the URL of the created tweet. Use |
| quote_tweetA | Quote-tweet: publish |
| delete_tweetA | Delete a tweet owned by the authenticated account, by tweet id. |
| like_tweetC | Like a tweet by id. |
| unlike_tweetB | Remove a like from a tweet by id. |
| retweetC | Retweet a tweet by id. |
| unretweetA | Undo a retweet by tweet id. |
| bookmarkB | Save a tweet to bookmarks by id. |
| unbookmarkA | Remove a tweet from bookmarks by id. |
| follow_userA | Follow a user by numeric id (resolve a @handle with get_user first). |
| unfollow_userB | Unfollow a user by numeric id. |
| search_tweetsA | Search X for tweets. |
| get_userA | Look up a user profile by @username. Returns the raw user object (rest_id, legacy profile fields, counts). |
| get_user_tweetsA | Get recent tweets from a user. Give either a numeric user id, or use get_user first to resolve a @username to an id. |
| get_likesB | Get the tweets a user has liked, by their numeric user id. |
| get_followersA | List a user's followers (numeric user id). Returns id, username, name, counts. |
| get_followingB | List the accounts a user follows (numeric user id). |
| get_tweetB | Fetch a single tweet with its reply thread by tweet id (raw TweetDetail response). |
| get_threadA | Get a tweet's engagement and replies in a clean shape: { root: {likes, replies, retweets, views, text}, replies: [{author, text, likes}] }. Use this to check likes on a tweet or read the replies people left. |
| home_timelineC | Get the authenticated account's For You home timeline. |
| send_dmA | Send a direct message to a user by their numeric id (resolve a @handle with get_user first). Your own id is auto-resolved. |
| get_dm_inboxA | Fetch the direct-message inbox: conversations and their most recent messages. |
| get_notificationsB | Get recent notifications (likes, follows, mentions, replies) for the account. |
| get_mentionsA | Get tweets that mention the authenticated account. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/alarok/x-agent-sdk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server