Skip to main content
Glama
Grok2API MCP Server

Grok2API MCP Server

by wousp112

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GROK_MODELNoGrok model namegrok-3
GROK_API_KEYYesAPI key for authentication
GROK_API_URLYesYour grok2api endpoint (e.g. http://your-server:8000/v1)
GROK_MAX_RETRIESNoMax retry attempts2
GROK_BACKOFF_BASE_MSNoBase backoff delay for retries (ms)800
GROK_READ_TIMEOUT_MSNoAxios timeout (ms)Same as request timeout
GROK_REQUEST_TIMEOUT_MSNoRequest timeout (ms)60000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
grok_web_searchB

Search the web or Twitter(X) via Grok for real-time information and up-to-date events, with structured result and source URLs.

grok_statsA

Return runtime call counters for this MCP process (tool calls, retries, error code distribution).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools target entirely different concerns: live web/Twitter search versus internal runtime diagnostics. There is no plausible way an agent could confuse a search call with a stats call.

Naming Consistency5/5

Both tools follow the same predictable `grok_<noun>` snake_case pattern with a shared server prefix. Nothing deviates from the convention.

Tool Count3/5

Two tools is on the thin side for a server that advertises itself as a Grok API gateway; a diagnostics counter tool sitting alongside a single functional tool feels sparse. The count isn't wrong per se, but the surface feels under-built.

Completeness2/5

The only functional capability exposed is web/X search; there is no direct Grok chat/completion tool, no page-fetch or URL-content retrieval, and no configuration or model-selection operation. An agent hoping to use Grok for anything beyond search hits a dead end.