Turbovec MCP Server
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., "@Turbovec MCP Serversearch my memory for how we handle user authentication"
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.
Turbovec MCP (Long-Term Memory RAG for AI)
Turbovec MCP Server is a Model Context Protocol (MCP) implementation that acts as a persistent, long-term memory (Semantic RAG) for AI coding assistants like Zoo Code, Claude Desktop, and Cursor.
By running this local server, your AI assistant gains the ability to "read", "remember", and "semantically search" through vast amounts of code and documentation across different chat sessions, completely bypassing token limitations.
The Problem it Solves
Context Window Limits: When working on large projects, pasting hundreds of files into the AI chat will exceed token limits or cause the AI to hallucinate.
AI Amnesia (Stateless Chats): Whenever you start a new chat tab, the AI forgets everything you discussed in the previous session (e.g., project architecture, specific coding guidelines).
Literal Search vs. Semantic Search: Standard file search (CTRL+F) requires exact keyword matches. This server allows the AI to search by meaning (e.g., searching for "user authentication" will find
login_handler).
Related MCP server: Heimdall MCP Server
Key Features & Advantages
Persistent Local Memory: Data is safely saved to your local disk (
metadata.jsonandindex.bin). It never expires and survives across system restarts.Intelligent Text Chunking: Automatically breaks down large documents into overlapping semantic chunks (1000 chars) before embedding, ensuring context is never lost.
Flawless MCP Stdio Communication: Strictly intercepts and suppresses rogue C-level progress bars (like
tqdmfromsentence-transformers) that normally corrupt JSON-RPC streams, ensuring a stable connection.100% Local Privacy: Runs entirely on your machine using the
all-MiniLM-L6-v2embedding model. No data is sent to external cloud APIs for indexing.
Architecture
Protocol: FastMCP (running over
stdio).Embedding Model:
sentence-transformers(all-MiniLM-L6-v2) generating 384-dimensional vectors.Vector Database:
turbovec(TurboQuantIndex) for ultra-fast, locally persisted similarity search.Storage Layer: Local JSON mapping for metadata, allowing automated fallback and index rebuilding if the
.binfile is lost.Modular Codebase: The project is cleanly separated into
main.py(entry point),vector_db.py(database logic), andtools.py(MCP tool definitions).
How It Works: AI & MCP Interaction Flow
The Turbovec MCP Server acts as an invisible bridge between your AI client and a persistent local memory database. Here is the step-by-step logic of how they interact:
User Prompt: The user asks a question or assigns a task in their AI Client (e.g., Zoo Code, Claude Desktop, Cursor).
LLM Tool Call: The LLM evaluates the prompt and determines it needs past context or codebase knowledge, triggering an MCP tool (like
search_knowledgeoradd_knowledge).MCP Execution: The AI Client forwards this tool request to the Turbovec MCP Server running locally via the standardized JSON-RPC protocol over
stdio.Vector Database: The MCP server interacts with the
turboveclocal vector database to embed the query, search for semantic matches, or store new text chunks.Context Return & Generation: The retrieved data is returned to the AI Client and passed back to the LLM. The LLM seamlessly incorporates this retrieved memory into its final context-aware response to the user.
Installation
You can run Turbovec MCP Server locally via Python or using Docker.
Option A: Local Python Setup
Clone the repository:
git clone https://github.com/henny-bee/Turbovec-MCP-Server.git cd turbovec-mcp-serverCreate a Virtual Environment (Recommended):
python -m venv venv # Windows .\venv\Scripts\activate # Mac/Linux source venv/bin/activateInstall Dependencies:
pip install -r requirements.txtVerify it Runs:
# Windows .\venv\Scripts\python.exe main.py # Mac/Linux ./venv/bin/python main.pyYou should see a success message:
Turbovec MCP Server is successfully running
Option B: Docker Setup
Clone the repository:
git clone https://github.com/henny-bee/Turbovec-MCP-Server.git cd turbovec-mcp-serverRun with Docker Compose:
docker-compose up -d
Alternatively, you can build and run it directly using the provided Dockerfile.
Testing
The project uses pytest for testing to ensure the database and tools work correctly.
Install development dependencies:
pip install -r requirements-dev.txtRun the tests:
pytest tests/
Zoo Code / AI Editor Integration
To use this server in your AI coding assistant (like Zoo Code, Cursor, or Claude Desktop), add it to your MCP configuration settings (usually found in Settings > MCP Servers, or mcp_settings.json).
Configuration
Add the following block to your mcpServers configuration:
{
"mcpServers": {
"turbovec-mcp": {
"command": "python",
"args": ["C:/absolute/path/to/turbovec-mcp-server/main.py"],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}Troubleshooting Tip: If you encounter a
ModuleNotFoundError(e.g., missingnumpyorturbovec), it means the editor is using the system Python instead of the virtual environment. To fix this, change"command": "python"to the absolute path of your virtual environment's Python executable (e.g.,"C:/path/to/turbovec-mcp-server/venv/Scripts/python.exe"on Windows, or"/path/to/venv/bin/python"on Mac/Linux).
Custom Instructions (Recommended)
To ensure your AI assistant seamlessly and proactively uses the memory server without asking for permission, we highly recommend adding the following to your AI's Custom Instructions or System Prompt:
You are connected to a long-term memory system via the Turbovec MCP.
You must proactively use `search_knowledge` and `add_knowledge` automatically to save and retrieve important project context, architectural decisions, and code snippets.
Do not ask for permission to save or search memory; execute these operations seamlessly in the background to ensure context is preserved across our sessions.Available MCP Tools
Once connected, the AI will have access to the following tools:
add_knowledge(title, content): Embeds and saves raw text into memory.add_file_knowledge(file_path): Reads a local file, chunks it, and saves it into memory.search_knowledge(query, top_k): Performs a semantic search to retrieve context from the database.delete_knowledge(title_or_id): Removes a specific piece of knowledge from the database.optimize_memory(): Performs hard-deletion and garbage collection of the vector database to optimize memory usage.clear_memory(): Completely wipes the local database and vector index.
Sponsored by
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
Alicense-qualityCmaintenanceProvides persistent memory for AI coding assistants, storing and retrieving architectural decisions, patterns, and solutions across sessions using semantic search, while also offering git integration for commit messages and code expertise mapping.MIT- Alicense-qualityDmaintenanceProvides AI coding assistants with persistent, context-rich memory of a codebase, including documentation and git history, enabling recall across sessions.104Apache 2.0
- AlicenseAqualityAmaintenanceProvides persistent memory and a codebase knowledge graph for AI coding assistants, enabling shared context across multiple tools like Claude, Cursor, and ChatGPT, with significant token reduction.539MIT
- Alicense-qualityDmaintenanceProvides long-term memory for AI coding agents, enabling them to remember, search, and organize information across sessions and platforms like Claude Code, ChatGPT, and Cursor.207MIT
Related MCP Connectors
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Persistent memory for AI agents. Search, store, and recall across sessions.
Long-term memory for AI assistants. Hybrid retrieval, query expansion, auto-topics.
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/henny-bee/Turbovec-MCP-Tiar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server