MCP低风险未认领

ask-grok

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

Lykhoydalykhoyda/ask-grok★ 18更新于 2026年9月27日

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.Lykhoyda/ask-grok",
  "description": "Consult Grok through xAI's metered API with exact model selection and no fallback",
  "repository": {
    "url": "https://github.com/Lykhoyda/ask-llm",
    "source": "github"
  },
  "version": "0.3.0",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@ask-llm/grok-mcp",
      "version": "0.3.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "xAI API key used only for requests to https://api.x.ai",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "XAI_API_KEY"
        },
        {
          "description": "Explicit harness: xai-api (default) or grok-cli; no automatic failover",
          "format": "string",
          "default": "xai-api",
          "name": "ASK_GROK_HARNESS"
        },
        {
          "description": "Exact selected-harness model override (API default grok-4.7; CLI default grok-4.7; no fallback)",
          "format": "string",
          "name": "ASK_GROK_MODEL"
        },
        {
          "description": "Reasoning effort: low, medium, high, or xhigh (default: high)",
          "format": "string",
          "default": "high",
          "name": "ASK_GROK_REASONING_EFFORT"
        },
        {
          "description": "xAI API output-token ceiling to bound accidental spend (default: 16384)",
          "format": "string",
          "default": "16384",
          "name": "ASK_GROK_MAX_OUTPUT_TOKENS"
        },
        {
          "description": "Timeout for xAI API requests in milliseconds (default: 600000)",
          "format": "string",
          "default": "600000",
          "name": "ASK_GROK_TIMEOUT_MS"
        },
        {
          "description": "Log verbosity: debug, info, warn, error (default: warn)",
          "format": "string",
          "default": "warn",
          "name": "GMCPT_LOG_LEVEL"
        }
      ]
    }
  ]
}

权限

声明检测
运行代码—node
安装—npm:@ask-llm/grok-mcp@0.3.0
安装时运行脚本—无
网络无无
需要的凭据XAI_API_KEYXAI_API_KEY
工作区外的路径—无
智能体工具—无

检查

低风险 · 没有发现需要提醒的地方。

未经人工审核 · 已做规则检查;模型审核尚未开启。

版本

  1. #10.3.0最新2026年10月7日