Ask-grok MCP Server

Consult Grok through xAI's metered API with exact model selection and no fallback

Local serverstdio

What is the Ask-grok MCP Server?

Ask-grok is an MCP integration. Consult Grok through xAI's metered API with exact model selection and no fallback.

Packages and local setup

The published npm package is @ask-llm/grok-mcp, version 0.3.0. Its declared MCP transport is stdio.

The package declares XAI_API_KEY (required): xAI API key used only for requests to https://api.x.ai; ASK_GROK_HARNESS: Explicit harness: xai-api (default) or grok-cli; no automatic failover; ASK_GROK_MODEL: Exact selected-harness model override (API default grok-4.7; CLI default grok-4.7; no fallback); ASK_GROK_REASONING_EFFORT: Reasoning effort: low, medium, high, or xhigh (default: high); ASK_GROK_MAX_OUTPUT_TOKENS: xAI API output-token ceiling to bound accidental spend (default: 16384); ASK_GROK_TIMEOUT_MS: Timeout for xAI API requests in milliseconds (default: 600000); GMCPT_LOG_LEVEL: Log verbosity: debug, info, warn, error (default: warn).

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.3.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
XAI_API_KEYxAI API key used only for requests to https://api.x.aiYes
ASK_GROK_HARNESSExplicit harness: xai-api (default) or grok-cli; no automatic failoverOptional
ASK_GROK_MODELExact selected-harness model override (API default grok-4.7; CLI default grok-4.7; no fallback)Optional
ASK_GROK_REASONING_EFFORTReasoning effort: low, medium, high, or xhigh (default: high)Optional
ASK_GROK_MAX_OUTPUT_TOKENSxAI API output-token ceiling to bound accidental spend (default: 16384)Optional
ASK_GROK_TIMEOUT_MSTimeout for xAI API requests in milliseconds (default: 600000)Optional
GMCPT_LOG_LEVELLog verbosity: debug, info, warn, error (default: warn)Optional