czlabs-code-mcp
v1.1.1
Published
Servidor MCP (Model Context Protocol) local que actúa como puente hacia un backend RAG en Heroku. Permite a editores/LLMs compatibles con MCP (ej. Cursor) usar un sistema RAG sobre repos públicos (Jito/Agave) sin exponer claves privadas.
Maintainers
Readme
czlabs-code-mcp
Local MCP (Model Context Protocol) server that acts as a bridge to a RAG backend on Heroku.
Allows MCP-compatible editors/LLMs (e.g. Cursor) to use a RAG system over public repos (Jito/Agave) without exposing private keys.
🚀 Installation
npm i -g czlabs-code-mcp⚙️ Cursor Configuration
Add to your configuration:
{
"mcpServers": {
"solana-code-mcp": {
"command": "code-mcp",
"args": [],
"env": {
"RAG_API_URL": "https://your-rag-app.herokuapp.com",
"RAG_MCP_AUTH_TOKEN": "your-secret-token"
}
}
}
}RAG_API_URL: URL de tu app Heroku (ej:https://your-rag-app.herokuapp.com)RAG_MCP_AUTH_TOKEN: your-secret-token
▶️ Usage
- Restart Cursor.
- Verify that the
pingtool appears. - Execute
ping→ should respondpong. - Execute
code_searchorcode_analysis→ should call your Heroku API.
🔐 Security
- Your private keys (Qdrant, OpenAI) live only on Heroku.
- The local MCP never requires private keys.
- Use rotatable tokens to control access.
❓ FAQ
Do I need Heroku?
Yes, to expose your RAG API and keep private keys secure. The MCP is just the local bridge.
Does it work outside Cursor?
Yes, with any MCP client via stdio (other editors or apps that support MCP).
Why is there a ping tool?
To confirm that the MCP is working before using the RAG tools.
🛠️ Troubleshooting
- "No tools or prompts": check that there are no stdout logs and that the token is not validated in
ListTools/CallTool. - 401 errors on Heroku: check that
RAG_MCP_AUTH_TOKENis in your Cursor config.
🔗 Links
Developed by CzLabs 🚀
