Skip to main content
Glama

grok-mcp

xAI Grok API를 래핑하는 MCP 서버입니다. Claude 및 기타 AI 에이전트가 사고, 계획 및 실시간 검색을 Grok에 위임할 수 있게 합니다.

설정

npm install -g grok-mcp

또는 npx를 직접 사용하세요:

npx grok-mcp

console.x.ai에서 xAI API 키가 필요합니다.

Claude Code에서 구성

프로젝트의 .mcp.json에 추가하세요:

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

도구: ask_grok

다양한 사용 사례에 대한 옵션을 갖춘 단일 도구입니다.

매개변수

매개변수

유형

필수

설명

prompt

string

Grok을 위한 질문 또는 작업

system_prompt

string

아니요

사용자 지정 시스템 프롬프트

model

string

아니요

사용할 모델 (기본값: grok-4.20-reasoning)

web_search

boolean

아니요

실시간 웹 검색 활성화

x_search

boolean

아니요

X/Twitter 검색 활성화

사용 가능한 모델

  • grok-4.20-reasoning — 주력 추론 모델 (기본값)

  • grok-4.20-non-reasoning — 빠르고 추론 없음

  • grok-4.20-multi-agent — 멀티 에이전트 모드, 아키텍처 및 계획에 적합

  • grok-4.1-fast-reasoning — 더 저렴한 추론

  • grok-4.1-fast-non-reasoning — 가장 저렴하고 빠름

예시

질문하기:

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

심층 아키텍처 계획 (멀티 에이전트):

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

웹 검색:

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

X/Twitter 검색:

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

라이선스

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