ZAP RAG MCP Server
Provides access to ZAP's RAG search modes (PLAIN, HYBRID, HYBRID_RERANK) for retrieving code context from a local SQLite index built by the ZAP IntelliJ plugin.
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., "@ZAP RAG MCP ServerSearch for 'user authentication' using hybrid_rerank mode"
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.
ZAP RAG MCP Server
Standalone Model Context Protocol (MCP) server that exposes only ZAP’s RAG search modes for other agents (Kilo, Cursor, Claude Desktop, Continue, etc.).
Works with the SQLite index built by the ZAP IntelliJ plugin (rag.db).
Tool | Description |
| DB health, chunk/embedding counts, models, modes |
| Semantic search: PLAIN / HYBRID / HYBRID_RERANK |
Read-only. No write tools, no agent loop — retrieval only.
Modes
Mode | Behavior | Needs |
PLAIN | Cosine over code-chunk embeddings | Index + embeddings |
HYBRID | Weighted class summaries + code | Class summaries at index time |
HYBRID_RERANK | Hybrid pool → LLM rerank | Chat API key |
Related MCP server: NetApp AIDE MCP Server
Install
cd zap-rag-mcp
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txtEnvironment
Variable | Required | Description |
| Yes | Absolute path to ZAP |
| Yes* | OpenAI-compatible embeddings base URL |
| Yes* | API key ( |
| Yes* | Must match model used when indexing |
| Rerank | Chat completions base |
| Rerank | Chat API key |
| Rerank | Chat model name |
| No | Default mode ( |
| No | Default top_k (10) |
| No | Scope to this project path |
| No |
|
* Falls back to OPENAI_BASE_URL / OPENAI_API_KEY if set.
Find the DB path in IntelliJ: Settings → ZAP → Database path.
Run
$env:ZAP_DB_PATH = "C:\path\to\rag.db"
$env:ZAP_EMBEDDING_BASE_URL = "http://127.0.0.1:11434/v1"
$env:ZAP_EMBEDDING_API_KEY = "ollama"
$env:ZAP_EMBEDDING_MODEL = "nomic-embed-text"
python server.pyMCP over stdio (no HTTP port).
MCP host config (Kilo / Cursor / Claude Desktop)
See mcp.example.json. Example:
{
"mcpServers": {
"zap-rag": {
"command": "C:\\path\\to\\zap-rag-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\zap-rag-mcp\\server.py"],
"env": {
"ZAP_DB_PATH": "C:\\path\\to\\rag.db",
"ZAP_EMBEDDING_BASE_URL": "http://127.0.0.1:11434/v1",
"ZAP_EMBEDDING_API_KEY": "ollama",
"ZAP_EMBEDDING_MODEL": "nomic-embed-text"
}
}
}
}Agent skill
See .grok/skills/searching-zap-rag/SKILL.md (Anthropic Agent Skills: third-person description, progressive references/) for how coding agents should call the tools.
Related
IntelliJ plugin (indexing + chat UI): intellij-code-rag-plugin
License
Apache-2.0
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.
Related MCP Servers
- Flicense-qualityDmaintenanceLocal MCP server that provides semantic search (RAG) over code repositories, enabling AI clients like Claude and Gemini to access project context without manual re-upload.Last updated

NetApp AIDE MCP Serverofficial
Alicense-qualityCmaintenanceMCP server that exposes NetApp AI Data Engine's RAG search for semantic document retrieval.Last updatedBSD 3-Clause- Alicense-qualityBmaintenanceAgent-safe code retrieval MCP server that indexes repositories and provides semantic search, file navigation, call graph analysis, and bounded file reading tools for coding agents.Last updated4,036,6183MIT
- AlicenseAqualityAmaintenanceMCP server for semantic code search with AST-aware chunking, hybrid vectors, and query syntax.Last updated111Apache 2.0
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Local-first RAG engine with MCP server for AI agent integration.
Read-only MCP server for the WebAssembly spec: instructions, types, sections, search, proposals.
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/RaviTeja-438/zap-rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server