Skip to main content
Glama
mhqamx
by mhqamx

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging (set to 'true' to enable).
X_COOKIENoAuthentication cookie from X (auth_token and ct0). Required unless using cookies.txt file.
HTTP_PROXYNoHTTP proxy URL (e.g., http://127.0.0.1:7897).
HTTPS_PROXYNoHTTPS proxy URL (e.g., http://127.0.0.1:7897).
DOWNLOAD_DIRNoDownload directory for media (default: ./downloads).
HTTP_TIMEOUTNoRequest timeout in milliseconds (default: 30000).
REQUEST_DELAYNoDelay between requests when fetching timeline (default: 2000).
X_BEARER_TOKENNoOptional bearer token (default uses X Web interface).
NODE_USE_ENV_PROXYNoSet to '1' to use proxy environment variables for Node fetch.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
x_get_user_profileB

获取 X 平台用户的基本信息(头像、简介、粉丝数等)

x_get_tweetsB

获取指定用户的最新推文列表

x_search_tweetsB

按关键词搜索推文,支持 X 高级搜索语法

x_download_mediaC

下载指定推文中的图片和视频到本地

x_download_all_mediaB

批量下载某博主最新推文中的所有图片和视频

x_get_tweet_detailA

获取单条推文的详细信息,包括完整文本、媒体链接、互动数据

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/mhqamx/X-MCP'

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