Skip to main content
Glama
xdevplatform

X API FastMCP Server

Official
by xdevplatform

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoMCP server host127.0.0.1
MCP_PORTNoMCP server port8000
CLIENT_IDNoOAuth2 client ID
XAI_MODELNoxAI model namegrok-4-1-fast
XAI_API_KEYNoxAI API key for Grok test client
X_API_DEBUGNoEnable debug mode (1 or 0)1
CLIENT_SECRETNoOAuth2 client secret
X_API_TIMEOUTNoAPI timeout in seconds30
MCP_SERVER_URLNoMCP server URL for Grok clienthttp://127.0.0.1:8000/mcp
X_API_BASE_URLNoBase URL for X APIhttps://api.x.com
X_BEARER_TOKENYesBearer token (required for this setup)
X_API_TOOL_ALLOWLISTNoComma-separated list of tools to whitelist
X_OAUTH_ACCESS_TOKENNoOAuth2 access token
X_OAUTH_CONSUMER_KEYYesOAuth consumer key from X Developer Platform
X_OAUTH_PRINT_TOKENSNoSet to 1 to print OAuth tokens
X_OAUTH_CALLBACK_HOSTNoOAuth callback host127.0.0.1
X_OAUTH_CALLBACK_PATHNoOAuth callback path/oauth/callback
X_OAUTH_CALLBACK_PORTNoOAuth callback port8976
X_OAUTH_CONSUMER_SECRETYesOAuth consumer secret from X Developer Platform
X_OAUTH_CALLBACK_TIMEOUTNoOAuth callback timeout in seconds300
X_OAUTH_PRINT_AUTH_HEADERNoSet to 1 to print auth header
X_OAUTH_ACCESS_TOKEN_SECRETNoOAuth2 access token secret

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/xdevplatform/xmcp'

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