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
Provides a curated collection of Model Context Protocol (MCP) server configurations to enable AI agents to interact with various developer tools and services.
zoekt-mcp
Provides code search and content fetching capabilities using Zoekt, designed for integration with AI assistants and LLMs.
gh-mcp
A GitHub CLI extension that runs the Model Context Protocol (MCP) server in a Docker container using existing `gh` authentication to provide GitHub context to AI models/agents.