pow-mcp-rag-new
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pow-mcp-rag-newfind the function that indexes PDFs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pow-mcp-rag-new
A local RAG (Retrieval-Augmented Generation) MCP server for project documentation and code.
Overview
This project provides a Model Context Protocol (MCP) server that indexes project documentation (specs, headers, source files, PDFs, configs) into a local vector database (ChromaDB) and exposes semantic search tools to Kiro or any MCP-compatible client.
Supports multiple tech stacks: C/C++, Python, Go, C#, Node.js/TypeScript.
Three deployment modes:
Docker (Phase 1) — zero local Python needed; server runs in a container
Local PyPI + uvx (Phase 2a) — install
rag-mcpviauvxfrom a local package index; no persistent venv, easiest to keep updated. Stepping stone toward a hosted index.pip install (Phase 2b) — install
rag-mcpdirectly into a Python environment.
Related MCP server: ragi
Quick Start
Local PyPI + uvx (recommended for pip-mode)
cd <your-checkout>/pow-mcp-rag-new
setup-pypi.batThis builds the wheel, publishes it to a local pypiserver index (packages/), installs it as a
persistent uv tool (a stable exe at ~/.local/bin/rag-mcp.exe — resolved once, not on
every launch), and wires up ~/.kiro/settings/mcp.json + .vscode/mcp.json to launch it directly.
No Docker, no persistent venv to manage. See TROUBLESHOOTING.md for why
this is preferred over plain uvx --from on Windows with this package's large dependency tree.
Full guide: doc/PIP_INSTALL_GUIDE.md (keep the local index running, rebuild/republish after code changes, migrating to S3 later).
Docker (alternative)
cd <your-checkout>/pow-mcp-rag-new
docker build -t rag-mcp-new-pip:latest .
# Index your projects (set SRC to your repos folder)
$SRC = "C:/Users/you/GIT" # PowerShell
docker run --rm -v "${SRC}:/projects:ro" -v rag-mcp-new-pip-data:/app/data rag-mcp-new-pip:latest python indexer.pyThen add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"rag-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "C:/Users/you/GIT:/projects:ro",
"-v", "rag-mcp-new-pip-data:/app/data",
"rag-mcp-new-pip:latest",
"python", "server.py", "--no-reindex"
],
"disabled": false,
"autoApprove": [
"search_docs", "search_specs", "search_code", "search_logs",
"list_projects", "list_files", "get_document", "get_project_summary",
"find_function", "find_variable", "search_hex_pattern", "compare_projects",
"add_project", "add_file", "add_folder", "add_pattern", "index_log_file"
]
}
}
}Restart Kiro — the RAG is ready. Full guide: doc/DOCKER_GUIDE.md
(project management, HTTP server, docker run CLI reference, setup-docker.bat automation).
pip install (hosted index, once available)
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install rag-mcp --extra-index-url https://<your-s3-bucket>.s3.<region>.amazonaws.com/
rag-mcp config # seeds config on first run, shows resolved paths
rag-mcp index
rag-mcp serveFull guide: doc/PIP_INSTALL_GUIDE.md
Documentation
Reading this from
pip show/ a package-index page instead of the repo? This README's links are relative paths into thepow-mcp-rag-newrepo (GitHub/clone) and won't resolve from an installed package alone. Three docs travel with the install and are available offline viarag-mcp docs <name>(see table below); the rest require the repo checkout.
Guide | Covers | Bundled in package? |
Full Docker setup, adding/removing projects, HTTP server, complete CLI reference (Docker mode) | No — repo only | |
Local PyPI + uvx setup, pip installation, config seeding, building/publishing the wheel, migrating to S3/CodeArtifact | No — repo only | |
How indexing/retrieval works, embedding model, PDF handling, file structure | No — repo only | |
Full | Yes — | |
Full MCP tool reference (21 tools) with usage examples | Yes — | |
Structured log indexing usage guide | Yes — | |
How to write pattern configs for new log formats | Yes — | |
Common issues and fixes | No — repo only |
Run rag-mcp docs with no arguments to list the bundled docs from any install (pip, uvx,
or uv tool install) without needing the repo.
What gets indexed
File types are configured in config.yaml under index_extensions. By default: C/C++, Python,
React/JS/TS, C#, Go, Kotlin, Markdown, PDF, text. Directories in excluded_dirs (build,
node_modules, .git, ...) are skipped. See doc/DOCKER_GUIDE.md
for details on configuring projects and adding new sources.
MCP Tools
Once configured, 21 MCP tools are available for searching, browsing, and managing your indexed
projects — see doc/TOOLS_GUIDE.md for the full list with examples
(also available offline: rag-mcp docs tools).
Key tools:
search_docs/search_specs/search_code— semantic search, scoped by file typesearch_hex_pattern,find_function,find_variable— exact text matching for codes/symbolssearch_logs,index_log_file— structured log search and on-demand indexingadd_project,add_pattern,remove_project— index management from Kiro chat
Log Indexing
Structured log indexing with severity filtering, time-window search, and hex error-code
matching. The pipeline is fully generic — driven by YAML pattern configs, so any log format
can be supported without code changes. See doc/DOCKER_GUIDE.md
and doc/LOG_INDEXING_GUIDE.md (also: rag-mcp docs log-indexing).
Need Help?
See doc/TROUBLESHOOTING.md for common issues, including:
MCP server hangs on startup
Stale search results after re-indexing
entrypoint.shexec errors from CRLF line endings--project <NAME>silently doing nothingConcurrent query errors
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/powmarx/pow-mcp-rag-new'
If you have feedback or need assistance with the MCP directory API, please join our Discord server