Back to Home
merterbak icon

Grok-MCP

Verified Safe

by merterbak

Overview

Provides an MCP server interface to xAI's Grok API, enabling access to agentic tool calling, image generation, vision, and reasoning models.

Installation

Run Command
docker compose up --build

Environment Variables

  • XAI_API_KEY

Security Notes

API key (XAI_API_KEY) is loaded from environment variables. Code execution for agentic tools is handled on xAI's side, not locally, which is a good security practice. Input validations are present for search parameters (e.g., max domain/handle limits). Local file access for images and file uploads (`image_paths`, `file_path`) relies on the surrounding MCP environment (e.g., Filesystem MCP) to ensure path safety and trusted access; without proper mediation, direct exposure of these tools to untrusted inputs could pose path traversal risks.

Similar Servers

Stats

Interest Score36
Security Score9
Cost ClassHigh
Avg Tokens2500
Stars6
Forks1
Last Update2026-01-13

Tags

AIGrok APIMCPAgentic ToolsVision