grok-mcp-server
Verified Safeby RazonIn4K
Overview
Provides AI assistants with access to Grok 4's capabilities including chat completions, live search, and model management via the Model Context Protocol.
Installation
npm startEnvironment Variables
- XAI_API_KEY
- GROK_MODEL
- GROK_BASE_URL
- GROK_TEMPERATURE
- GROK_MAX_TOKENS
- LOG_LEVEL
- NODE_ENV
- MCP_SERVER_NAME
- MCP_SERVER_VERSION
Security Notes
The server demonstrates strong security practices including explicit use of environment variables for API keys, robust input validation via Zod, and a basic sanitization function to mitigate XSS/prototype pollution. Communication occurs over standard I/O (stdio) as per the MCP specification, avoiding direct network exposure for tool calls. Resilience features like rate limiting and circuit breakers are implemented. The shared secret authentication mechanism is present but currently commented out in the provided code.
Similar Servers
mcp-server
A Model Context Protocol (MCP) server that provides real-time Indian options market data and volatility analytics from GetOutpost.in for integration with AI chat models like Claude.
drilling_mcp_server
Analyzes oil and gas drilling data from CSV files, providing tools for Rate of Penetration (ROP), Mechanical Specific Energy (MSE), Non-Productive Time (NPT) calculations, and data visualization via an MCP server.
mcp-server
Unable to determine a specific use case due to the absence of source code for analysis. Implies a server component for an unspecified application.
mcp-server
This repository likely hosts a server application, developed with TypeScript and Node.js, designed to handle custom protocols or serve as a backend service.