// snippets
Usage Examples
Copy-paste ready snippets + runnable mock checks.
mcporter --config ~/.../mcporter.json call xbridge.grok-chat \
model=grok-3-mini message="hello"
resp = client.call("grok-session-create", {"name": "demo"})
print(resp)
await mcp.call("grok-chain-research", { topic: "MCP trends" });
// console
BYOK Test Console
Run in Mock mode (zero token cost) or Live BYOK mode (uses your xAI key).
| Test | Status | Latency | Mode | Timestamp |
|---|
[ready] awaiting test execution...
[note] live mode expects backend endpoint: POST /api/demo/run
// demo
Short Demo
Screencast: Claude Code calling xBridge MCP tools.