Connect Claude Code to Grok via OAuth Without API Keys

socialwithaayan · x · 2026-08-20

Created grok-plugin, an MCP server that logs in via xAI's OAuth device flow. This allows Claude Code to delegate tasks to an existing SuperGrok/X Premium account without needing a separate API key.

Core Features:

Proxy Mode: Can run Claude Code directly on Grok's backend. Warning: relies on undocumented APIs and may break.

Related event: grok-plugin lets Claude Code call Grok via OAuth without API keys(3 posts)→

Original post →

More from coding & agent

coding & agent channel →