grok_mcp_setup
Verified Safeby 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
docker compose up -dEnvironment 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
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
git-mcp-server
A Model Context Protocol (MCP) server that provides Git-specific tools and resources for AI/LLM agents to interact with version control systems.
gh-mcp
A GitHub CLI extension to seamlessly run the github-mcp-server in a Docker container using existing `gh` authentication.