Skip to content
Cline

ask grok for Cline

io.github.lykhoyda/ask-grok

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

client:Cline transport:stdio runtime:npm

Install ask grok in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ask-grok": {
      "command": "npx",
      "args": [
        "-y",
        "@ask-llm/grok-mcp"
      ],
      "env": {
        "XAI_API_KEY": "<XAI_API_KEY>",
        "ASK_GROK_HARNESS": "<ASK_GROK_HARNESS>",
        "ASK_GROK_MODEL": "<ASK_GROK_MODEL>",
        "ASK_GROK_REASONING_EFFORT": "<ASK_GROK_REASONING_EFFORT>",
        "ASK_GROK_MAX_OUTPUT_TOKENS": "<ASK_GROK_MAX_OUTPUT_TOKENS>",
        "ASK_GROK_TIMEOUT_MS": "<ASK_GROK_TIMEOUT_MS>",
        "GMCPT_LOG_LEVEL": "<GMCPT_LOG_LEVEL>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

ask grok in other clients