bluex-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BLUEX_AB | No | Master switch for the internal A/B experiment sampler (off in production) | false |
| GROK_BIN | No | Path to the grok CLI binary | grok |
| BLUEX_HOME | No | HOME for the isolated profile | ~/.bluex-mcp |
| BLUEX_EFFORT | No | Reasoning effort — low / medium / high / xhigh / max | |
| BLUEX_ISOLATED | No | Run grok under a dedicated clean profile | false |
| BLUEX_LOG_FILE | No | Path to JSONL log file | |
| BLUEX_LOG_QUERY | No | How the query field is stored in logs — none (drop), hash (SHA-256), raw | hash |
| BLUEX_MAX_TURNS | No | Max agentic turns the child grok may take | 6 |
| BLUEX_AB_EFFORTS | No | Comma-separated effort levels the A/B sampler picks from | none,low,high,max |
| BLUEX_TIMEOUT_MS | No | Per-call timeout (ms) | 180000 |
| BLUEX_MAX_RETRIES | No | Retries on empty/failed runs (exponential backoff) | 2 |
| BLUEX_LOG_DISPATCH | No | Also record per-tool dispatch counts in each log line | false |
| BLUEX_AB_STRATEGY_RATE | No | Probability of injecting the X search strategy prompt when A/B is on | 0.5 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bluex_x_searchB | Search live X/Twitter posts and discussion using your logged-in Grok account. Returns a summary, source items (title, URL, handle, timestamp, snippet), and citations. Set mode="deep" for timeline, verbatim quotes, multiple perspectives, sentiment, and verification. |
| bluex_web_searchA | Search the live web using your logged-in Grok account. Returns a summary, source items, and citations. Set mode="deep" for timeline, quotes, perspectives, sentiment, and verification. |
| bluex_health_checkA | Verify the grok CLI is installed, which model is used, the isolated HOME, and whether you are logged in. Run this first if searches fail. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Derek-Wong213/bluex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server