Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
X_CLIENT_IDYesYour OAuth 2.0 Client ID from X Developer Portal
X_TOKENS_PATHNoPath to store OAuth tokens (default: .tokens.json in project directory)
X_REDIRECT_URIYesRedirect URI for OAuth callback (e.g., http://localhost:3000/callback)http://localhost:3000/callback
X_CLIENT_SECRETYesYour OAuth 2.0 Client Secret from X Developer Portal

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
x_get_user_profileA

Fetch an X user profile by username. Returns bio, follower/following counts, post count, and account creation date.

x_get_my_profileA

Get the authenticated user's X profile including bio, metrics, and account info.

x_get_followersA

Get a list of users who follow a specified account. Returns usernames, bios, and follower counts.

x_get_followingA

Get a list of users that a specified account follows. Returns usernames, bios, and follower counts.

x_get_user_postsA

Fetch recent posts from a user's timeline by username. Excludes retweets and replies.

x_get_my_timelineA

Get the authenticated user's home timeline (reverse chronological). Includes posts from accounts you follow.

x_search_postsA

Search for recent posts (last 7 days) matching a query. Supports keywords, hashtags, and X search operators.

x_get_my_bookmarksA

Fetch posts bookmarked by the authenticated user. Returns post text, engagement metrics, and timestamps.

x_add_bookmarkA

Add a post to the authenticated user's bookmarks by its ID.

x_remove_bookmarkA

Remove a post from the authenticated user's bookmarks by its ID.

x_get_my_likesA

Fetch posts liked by the authenticated user. Returns post text, engagement metrics, and timestamps.

x_like_postA

Like a post by its ID on behalf of the authenticated user.

x_unlike_postA

Remove a like from a post by its ID on behalf of the authenticated user.

x_get_my_listsA

Get lists owned by the authenticated user. Returns list name, description, member/follower counts, and privacy.

x_get_listA

Get details of a specific list by its ID. Returns name, description, member/follower counts, and privacy.

x_get_list_postsA

Get recent posts from a specific list by its ID.

x_get_list_membersB

Get members of a specific list by its ID.

x_create_listA

Create a new X list with a name, optional description, and privacy setting.

x_update_listA

Update an existing list's name, description, or privacy. Provide at least one field to change.

x_delete_listA

Permanently delete a list by its ID. This cannot be undone.

x_add_list_memberB

Add a user to a list by their username and the list ID.

x_remove_list_memberA

Remove a user from a list by their username and the list ID.

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/namank42/x-mcp'

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