ask-grok
Consult Grok through xAI's metered API with exact model selection and no fallback
Documentation & Preview
{ "mcpServers": { "mcp-ask-grok": { "command": "npx", "args": [ "-y", "--package", "@ask-llm/grok-mcp@0.3.0", "ask-grok-mcp" ], "env": { "XAI_API_KEY": "${ENV_XAI_API_KEY}", "ASK_GROK_HARNESS": "${ENV_ASK_GROK_HARNESS}", "ASK_GROK_MODEL": "${ENV_ASK_GROK_MODEL}", "ASK_GROK_REASONING_EFFORT": "${ENV_ASK_GROK_REASONING_EFFORT}", "ASK_GROK_MAX_OUTPUT_TOKENS": "${ENV_ASK_GROK_MAX_OUTPUT_TOKENS}", "ASK_GROK_TIMEOUT_MS": "${ENV_ASK_GROK_TIMEOUT_MS}", "GMCPT_LOG_LEVEL": "${ENV_GMCPT_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_XAI_API_KEY", "label": "XAI_API_KEY", "description": "xAI API key used only for requests to https://api.x.ai", "required": true, "secret": true, "default": "" }, { "id": "ENV_ASK_GROK_HARNESS", "label": "ASK_GROK_HARNESS", "description": "Explicit harness: xai-api (default) or grok-cli; no automatic failover", "required": false, "secret": false, "default": "xai-api" }, { "id": "ENV_ASK_GROK_MODEL", "label": "ASK_GROK_MODEL", "description": "Exact selected-harness model override (API default grok-4.7; CLI default grok-4.7; no fallback)", "required": false, "secret": false, "default": "" }, { "id": "ENV_ASK_GROK_REASONING_EFFORT", "label": "ASK_GROK_REASONING_EFFORT", "description": "Reasoning effort: low, medium, high, or xhigh (default: high)", "required": false, "secret": false, "default": "high" }, { "id": "ENV_ASK_GROK_MAX_OUTPUT_TOKENS", "label": "ASK_GROK_MAX_OUTPUT_TOKENS", "description": "xAI API output-token ceiling to bound accidental spend (default: 16384)", "required": false, "secret": false, "default": "16384" }, { "id": "ENV_ASK_GROK_TIMEOUT_MS", "label": "ASK_GROK_TIMEOUT_MS", "description": "Timeout for xAI API requests in milliseconds (default: 600000)", "required": false, "secret": false, "default": "600000" }, { "id": "ENV_GMCPT_LOG_LEVEL", "label": "GMCPT_LOG_LEVEL", "description": "Log verbosity: debug, info, warn, error (default: warn)", "required": false, "secret": false, "default": "warn" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.Lykhoyda/ask-grok", "registryVersion": "0.3.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.Lykhoyda%2Fask-grok/versions/0.3.0", "repository": "Lykhoyda/ask-llm", "sourceCommit": "6d382ea0a0617b4aa33d55795dec671dd49f4418", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "npm", "identifier": "@ask-llm/grok-mcp", "version": "0.3.0", "integrity": "sha512-W2UHgP1mf6y0AfBxLVo8ylGf+Fsz0lCaUjVAugkEXXNJApyd5/1KdlGFGivFq+T9qcXDLkr6P+ZUWxegZYaN3w==", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:07:12.236Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }