Skip to main content
Glama
.env.example852 B
# Twitter Authentication (choose one method) # Method 1: Cookie-based authentication (recommended) AUTH_METHOD=cookies # IMPORTANT: For Grok, cookies must be in JSON array format with proper escaping TWITTER_COOKIES=["auth_token=YOUR_AUTH_TOKEN; Domain=.twitter.com", "ct0=YOUR_CT0_VALUE; Domain=.twitter.com", "twid=u%3DYOUR_USER_ID; Domain=.twitter.com"] # Method 2: Username/password authentication # AUTH_METHOD=credentials TWITTER_USERNAME=your_username TWITTER_PASSWORD=your_password TWITTER_EMAIL=your_email@example.com # TWITTER_2FA_SECRET=your_2fa_secret # Method 3: API-based authentication # AUTH_METHOD=api # TWITTER_API_KEY=your_api_key # TWITTER_API_SECRET_KEY=your_api_secret_key # TWITTER_ACCESS_TOKEN=your_access_token # TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret # MCP Server Configuration MCP_PORT=3001 HTTP_PORT=3001

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/ryanmac/agent-twitter-client-mcp'

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