grok-oauth-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XAI_BASE_URL | No | xAI API base URL. Defaults to https://api.x.ai/v1. | |
| GROK_OAUTH_MCP_CONFIG_DIR | No | Configurable token directory. Defaults to ~/.config/grok-oauth-mcp. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auth_loginA | Start xAI web OAuth PKCE login using the Hermes Agent client. Use wait=true to capture the localhost callback and store tokens. |
| auth_statusA | Show local xAI OAuth token status without revealing token values. |
| auth_logoutB | Delete the local OAuth token store. |
| grok_chatC | Send a Grok chat or responses request to /responses with store=false. Defaults to model grok-build-0.1. |
| x_searchD | Ask Grok with the x_search tool enabled through /responses and optional x_search filters. |
| grok_ttsD | Generate speech through /tts. |
| grok_imageC | Generate or edit images through /images/generations or /images/edits. Defaults to grok-imagine-image and grok-imagine-image-quality. |
| grok_videoB | Generate text-to-video or image-to-video through /videos/generations, optionally polling /videos/{request_id}. |
| grok_transcribeC | Transcribe a local audio file through /audio/transcriptions using multipart form upload. |
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
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/BowTiedSwan/grok-oauth-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server