Setting Up the MCP Server Integration
·Ragtoolina Team
What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI tools connect to external data sources. Ragtoolina implements an MCP server that exposes your semantic codebase index to any compatible tool.
Supported Tools
Ragtoolina's MCP server works with:
- Claude Code — Anthropic's CLI coding assistant
- Cursor — AI-powered code editor
- Any MCP-compatible client — The protocol is open and growing
Setup for Claude Code
- Open your
claude_desktop_config.jsonconfiguration - Add the Ragtoolina MCP server entry with the local endpoint
- Restart Claude Code — it will automatically discover the available tools
Once connected, Claude Code can use search_codebase, find_symbol, get_symbol_tree, and other tools to query your index directly.
Setup for Cursor
- Create or edit
.cursor/mcp.jsonin your project root - Add the Ragtoolina server configuration
- Reload Cursor — the tools appear in the MCP panel
What You Get
With the MCP integration active, your AI tool automatically uses Ragtoolina for context retrieval. Instead of scanning raw files, it queries the semantic index and gets precise, relevant results. You don't need to change how you work — the integration is transparent.
Troubleshooting
- Server not found — Make sure the Ragtoolina desktop app is running
- Stale results — Re-index your project after major changes
- Connection refused — Check that no other process is using the MCP port
For more details, see our documentation.