Skip to main content
Glama
BowTiedSwan

grok-oauth-mcp

by BowTiedSwan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XAI_BASE_URLNoxAI API base URL. Defaults to https://api.x.ai/v1.
GROK_OAUTH_MCP_CONFIG_DIRNoConfigurable token directory. Defaults to ~/.config/grok-oauth-mcp.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

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/BowTiedSwan/grok-oauth-mcp'

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