Back to Browse

Ask Llm MCP Server

Developer ToolsLow Risk9.9MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

9.9
Low Risk9.9Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. Trust signals: 4 highly-trusted packages. 1 finding(s) downgraded by scanner intelligence.

14 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

xAI API key used only for requests to https://api.x.aiRequired

Environment variable: XAI_API_KEY

Explicit harness: xai-api (default) or grok-cli; no automatic failoverOptional

Environment variable: ASK_GROK_HARNESS

Exact selected-harness model override (API default grok-4.6; CLI default grok-build; no fallback)Optional

Environment variable: ASK_GROK_MODEL

Reasoning effort: low, medium, high, or xhigh (default: high)Optional

Environment variable: ASK_GROK_REASONING_EFFORT

xAI API output-token ceiling to bound accidental spend (default: 16384)Optional

Environment variable: ASK_GROK_MAX_OUTPUT_TOKENS

Timeout for xAI API requests in milliseconds (default: 600000)Optional

Environment variable: ASK_GROK_TIMEOUT_MS

Log verbosity: debug, info, warn, error (default: warn)Optional

Environment variable: GMCPT_LOG_LEVEL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-lykhoyda-ask-grok": {
      "env": {
        "XAI_API_KEY": "your-xai-api-key-here",
        "ASK_GROK_MODEL": "your-ask-grok-model-here",
        "GMCPT_LOG_LEVEL": "your-gmcpt-log-level-here",
        "ASK_GROK_HARNESS": "your-ask-grok-harness-here",
        "ASK_GROK_TIMEOUT_MS": "your-ask-grok-timeout-ms-here",
        "ASK_GROK_REASONING_EFFORT": "your-ask-grok-reasoning-effort-here",
        "ASK_GROK_MAX_OUTPUT_TOKENS": "your-ask-grok-max-output-tokens-here"
      },
      "args": [
        "-y",
        "@ask-llm/grok-mcp"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!