X-MCP
by mhqamx
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging (set to 'true' to enable). | |
| X_COOKIE | No | Authentication cookie from X (auth_token and ct0). Required unless using cookies.txt file. | |
| HTTP_PROXY | No | HTTP proxy URL (e.g., http://127.0.0.1:7897). | |
| HTTPS_PROXY | No | HTTPS proxy URL (e.g., http://127.0.0.1:7897). | |
| DOWNLOAD_DIR | No | Download directory for media (default: ./downloads). | |
| HTTP_TIMEOUT | No | Request timeout in milliseconds (default: 30000). | |
| REQUEST_DELAY | No | Delay between requests when fetching timeline (default: 2000). | |
| X_BEARER_TOKEN | No | Optional bearer token (default uses X Web interface). | |
| NODE_USE_ENV_PROXY | No | Set to '1' to use proxy environment variables for Node fetch. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/mhqamx/X-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server