Skip to content

hrco/xbridge-mcp

Repository files navigation

xBridge MCP

Python 3.10+ Docker

Ship Grok-powered MCP workflows in minutes.

xBridge MCP is an MCP server focused exclusively on xAI Grok API with 19 tools for chat, web search, X search, sessions, chains, image generation/edit, video generation, and documentation.

Independent project. Not affiliated with or endorsed by xAI.


Pricing

Tier Price Includes
Free €0/mo 50 calls/day, all 19 tools, no credit card
Pro €9/mo Unlimited calls, Docker image, priority support

Launch special: First 50 founders pay €3.69/mo with code FOUNDER50Get Pro

BYOK: You provide your own XAI_API_KEY. xBridge never resells xAI API usage.

$XBRDG Loyalty Program

Hold $XBRDG for enhanced access:

Balance Perk
≥ 1,000 20% off Pro (stacks with FOUNDER50)
≥ 5,000 100 calls/day on free tier
≥ 10,000 Early access to new tools

$XBRDG provides access perks for xBridge MCP users. It is not an investment and carries no financial guarantees.


Quick Start (Pro)

docker pull hrco/xbridge-mcp:latest
docker run -e XAI_API_KEY=your_key_here hrco/xbridge-mcp:latest

Or with docker-compose:

# Set XAI_API_KEY in .env file
docker compose up -d

MCP Client Configuration

{
  "mcpServers": {
    "xbridge": {
      "command": "xbridge-mcp",
      "env": {
        "XAI_API_KEY": "your_xai_key_here",
        "XBRIDGE_KEY": "your_xbridge_key_here"
      }
    }
  }
}

Available Tools (19)

Chat & Models

  • grok-chat
  • grok-models

Search

  • grok-web-search
  • grok-x-search

Session Management

  • grok-session-create
  • grok-session-list
  • grok-session-get
  • grok-session-delete
  • grok-session-chat

Tool Chaining

  • grok-chain-search-summarize
  • grok-chain-research
  • grok-chain-debug

Image & Video Generation

  • grok-image-generate
  • grok-image-edit
  • grok-image-models
  • grok-video-generate

Documentation

  • grok-docs-list
  • grok-docs-search
  • grok-docs-get

Configuration

Variable Required Description
XAI_API_KEY Yes Your xAI API key from x.ai/api
XBRIDGE_KEY No Your xBridge license key (Pro tier). Omit for free tier or self-hosted.

FAQ

Is xBridge MCP xAI-only?

Yes. xBridge MCP is purpose-built for xAI Grok API.

Is xBridge MCP affiliated with xAI?

No. It is independent and not endorsed by xAI.

Who controls API usage and billing?

You do. xBridge uses BYOK (XAI_API_KEY).

License

Commercial license. See LICENSE.

About

MCP server bridging Claude Code to xAI Grok API. 19 tools: chat, web/X search, sessions, chains, image/video gen, docs. BYOK. Free tier (50 calls/day) or Pro (€9/mo). Python 3.10+, Docker.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors