Back to Home
madking2099 icon

grok_mcp_setup

Verified Safe

by madking2099

Overview

Integrate Grok (via CodeGPT) with local Git repositories, self-hosted web search, and a local document library through Dockerized Model Context Protocol (MCP) servers.

Installation

Run Command
docker compose up -d

Environment Variables

  • PROJECTS_PATH
  • LIBRARY_PATH
  • GIT_PORT
  • WEB_PORT
  • LIB_PORT
  • SEARXNG_BASE_URL
  • UWSGI_WORKERS
  • BRAVE_API_KEY
  • ALLOWED_PATHS

Security Notes

The setup employs good security practices like read-only volumes (`:ro`) for mounted directories (`/projects`, `/ebooks`) and whitelisting of allowed paths (`--allowed-paths`). It avoids direct `eval` or `os.system` with shell=True in the provided scripts. However, the `mcp-lib` service's PDF extraction relies on a user-provided `pdf_server.py` script; its security is dependent on the user's implementation, which could introduce vulnerabilities if not carefully written. The `BRAVE_API_KEY` is a placeholder, indicating a sensitive variable that needs secure management if enabled for the bundled version.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens15000
Stars0
Forks0
Last Update2025-11-30

Tags

GrokMCPDockerAI AgentLocal Dev