Skip to main content
Glama

grok-mcp

MCP-Server, der die xAI Grok-API umschließt. Ermöglicht es Claude und anderen KI-Agenten, Denk-, Planungs- und Echtzeit-Suchaufgaben an Grok zu delegieren.

Einrichtung

npm install -g grok-mcp

Oder verwenden Sie es direkt mit npx:

npx grok-mcp

Sie benötigen einen xAI-API-Schlüssel von console.x.ai.

Konfiguration in Claude Code

Fügen Sie dies zur .mcp.json Ihres Projekts hinzu:

{
  "mcpServers": {
    "grok": {
      "type": "stdio",
      "command": "npx",
      "args": ["grok-mcp"],
      "env": {
        "XAI_API_KEY": "your-xai-api-key"
      }
    }
  }
}

Tool: ask_grok

Ein einzelnes Tool mit Optionen für verschiedene Anwendungsfälle.

Parameter

Parameter

Typ

Erforderlich

Beschreibung

prompt

string

ja

Die Frage oder Aufgabe für Grok

system_prompt

string

nein

Benutzerdefinierter System-Prompt

model

string

nein

Zu verwendendes Modell (Standard: grok-4.20-reasoning)

web_search

boolean

nein

Echtzeit-Websuche aktivieren

x_search

boolean

nein

X/Twitter-Suche aktivieren

Verfügbare Modelle

  • grok-4.20-reasoning — Flaggschiff-Reasoning (Standard)

  • grok-4.20-non-reasoning — schnell, ohne Reasoning

  • grok-4.20-multi-agent — Multi-Agenten-Modus, hervorragend für Architektur und Planung

  • grok-4.1-fast-reasoning — günstigeres Reasoning

  • grok-4.1-fast-non-reasoning — am günstigsten, schnell

Beispiele

Eine Frage stellen:

prompt: "What are the trade-offs between microservices and monoliths?"

Tiefe Architekturplanung (Multi-Agent):

prompt: "Design a system architecture for a real-time collaborative editor"
model: "grok-4.20-multi-agent"

Das Web durchsuchen:

prompt: "What happened in tech news today?"
web_search: true

X/Twitter durchsuchen:

prompt: "What are people saying about the new React release?"
x_search: true

Lizenz

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PKWadsy/grok-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server