Locum

•
15
•

Enables Grok Bot to delegate coding tasks to local Claude Code and Codex CLIs, preserving Grok Bot usage.

Locum serves as a custom Model Context Protocol (MCP) connector, allowing xAI's Grok Bot to offload computationally intensive coding tasks to your locally authenticated Claude Code and Codex command-line interfaces. By establishing a secure tunnel between Grok's cloud environment and your local machine, Locum enables efficient delegation of complex development work. This approach leverages your existing AI subscriptions, preventing unnecessary consumption of Grok Bot's own processing capacity and making AI-assisted development more cost-effective and powerful. It includes a minimal OAuth 2.1 authorization server to manage secure access without requiring third-party OAuth applications.

Key Features

01Functions as a custom MCP connector, securely bridging Grok's cloud with your local machine.
02Integrates a minimal OAuth 2.1 authorization server with PKCE for robust security.
03Supports persistent Cloudflare tunnels and server daemonization for continuous operation across reboots.
04Delegates Grok Bot coding tasks to locally run Claude Code and Codex CLIs.
050 GitHub stars
06Provides a suite of tools for managing coding jobs: start, resume, check status, list, and cancel.

Use Cases

01Offloading multi-file edits, refactoring, and debugging tasks from Grok Bot to powerful local CLIs.
02Reducing Grok Bot usage by delegating computationally intensive coding work.
03Leveraging existing Claude Code or Codex CLI subscriptions for advanced AI-assisted development.