codebase-mcp
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., "@codebase-mcpwhat tech stack does this project use?"
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.
codebase-mcp
Servidor MCP (Model Context Protocol) Zero-Config para conectar código local con asistentes de IA.
Zero-config CLI that turns any local repository into a Model Context Protocol (MCP) server for Claude, Cursor, and AI agents.
Español
codebase-mcp proporciona a Claude Code, Claude Desktop, Cursor, Windsurf, VS Code y agentes autónomos de IA una visibilidad profunda e instantánea sobre repositorios de código local, sin necesidad de indexadores pesados, bases de datos vectoriales ni configuraciones complejas.
Características
Configuración Cero (Zero-Config): Ejecuta simplemente
npx 714-mcp-toolen cualquier carpeta o especifica--path /ruta/al/proyecto.E/S Asíncrona de Alto Rendimiento: Operaciones sobre el sistema de archivos no bloqueantes diseñadas para repositorios grandes.
Árbol de Proyecto Inteligente (
get_project_tree): Genera mapas limpios en texto plano ASCII respetando.gitignorey evitando bucles por enlaces simbólicos.Búsqueda Instantánea por Texto y Regex (
search_codebase): Búsqueda rápida estilo grep con números de línea, snippets y expresiones regulares opcionales (use_regex).Lectura Segura de Archivos (
read_project_file): Lee archivos completos o rangos de líneas (start_line,end_line) con límites de tamaño y protección contra Path Traversal.Seguridad Integrada: Bloquea y protege automáticamente archivos sensibles de credenciales (
.env,.pem,id_rsa,credentials.json,secrets.json, etc.).Diagnóstico de Stack Tecnológico (
inspect_tech_stack): Identifica proyectos Node.js, Python, Go, Rust, Java, PHP, Ruby y entornos Docker.
Related MCP server: Repo Interrogator
Cómo funciona internamente
No necesitas clonar este repositorio manualmente para usarlo. Tu asistente de IA ejecuta codebase-mcp en segundo plano como un proceso local cuando lo necesita.
[ Usuario ] -- "¿Dónde está la función de filtrado de archivos sensibles?"
│
▼
[ Asistente IA (Claude / Cursor / Windsurf) ] -- (Detecta las herramientas de codebase-mcp)
│
├─► Envía solicitud JSON-RPC vía STDIO: search_codebase(query: "isSensitiveFile")
│
▼
[ codebase-mcp (Proceso local en segundo plano) ]
│
├─► Escanea el repositorio local aplicando .gitignore y filtros de seguridad
└─► Retorna: "src/utils/fileSystem.ts:81 -> export function isSensitiveFile..."
│
▼
[ Asistente IA ] -- "La función se encuentra en la línea 81 de src/utils/fileSystem.ts..."Cero Subidas a la Nube: Todo el análisis ocurre 100% en tu computadora local.
Consumo bajo demanda: La herramienta solo consume recursos cuando la IA la invoca.
Inicio Rápido
No requiere instalación previa. Ejecuta directamente usando npx:
npx 714-mcp-toolO especifica la ruta del proyecto explícitamente:
npx 714-mcp-tool --path /ruta/a/tu/proyectoTutoriales de Integración
1. Claude Code (CLI de Anthropic)
Para integrar codebase-mcp en la herramienta CLI de Claude Code, ejecuta el siguiente comando en tu terminal:
claude mcp add codebase-mcp -- npx -y codebase-mcpO si prefieres vincular una carpeta de proyecto específica:
claude mcp add codebase-mcp -- npx -y codebase-mcp --path /ruta/a/tu/proyectoPara verificar que el servidor está conectado correctamente en Claude Code:
claude mcp list2. Cursor IDE
Abre Cursor.
Ve a Settings (Configuración) -> Cursor Settings -> MCP.
Haz clic en el botón + Add New MCP Server.
Completa el formulario con los siguientes datos:
Name:
codebase-mcpType:
commandCommand:
npx -y codebase-mcp
Haz clic en Save. En el panel lateral del chat de Cursor aparecerá un indicador verde confirmando que las herramientas están activas.
3. Claude Desktop
Abre o crea el archivo de configuración claude_desktop_config.json en la ruta correspondiente a tu sistema operativo:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Agrega el servidor dentro del bloque "mcpServers":
{
"mcpServers": {
"714-mcp-tool": {
"command": "npx",
"args": ["-y", "714-mcp-tool"]
}
}
}Reinicia Claude Desktop y verás el ícono de herramientas disponible en el área de chat.
4. Windsurf IDE
Abre Windsurf.
Dirígete a la vista de Cascade Chat.
Haz clic en el ícono de MCP Hammers (Configuración de MCP) o abre el archivo
~/.codeium/windsurf/mcp_config.json.Agrega la siguiente configuración:
{
"mcpServers": {
"714-mcp-tool": {
"command": "npx",
"args": ["-y", "714-mcp-tool"]
}
}
}Guarda el archivo y reinicia el chat de Cascade.
5. VS Code (Extensiones Roo Code, Cline o Continue)
Para Roo Code / Cline:
Abre la extensión Roo Code o Cline en el panel lateral de VS Code.
Haz clic en la pestaña MCP Servers y luego en Edit MCP Settings.
Pega la siguiente configuración en el archivo
cline_mcp_settings.json:
{
"mcpServers": {
"714-mcp-tool": {
"command": "npx",
"args": ["-y", "714-mcp-tool"]
}
}
}Para Continue:
Abre
.continue/config.jsonen tu carpeta personal.Agrega dentro de la lista
"experimental"o"mcpServers":
{
"mcpServers": [
{
"name": "714-mcp-tool",
"command": "npx",
"args": ["-y", "714-mcp-tool"]
}
]
}Herramientas MCP Expuestas
Herramienta | Parámetros | Descripción |
|
| Devuelve la estructura en árbol ASCII del proyecto respetando |
|
| Busca patrones de texto o regex en el proyecto y devuelve snippets numerados. |
|
| Lee el contenido de un archivo de forma segura con números de línea. |
| ninguno | Analiza manifiestos del proyecto ( |
English
codebase-mcp gives Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, and autonomous AI agents instant, deep visibility into your local codebases without indexers, vector databases, or complex setup.
Features
Zero Configuration: Simply run
npx 714-mcp-toolin any project folder or specify--path /path/to/project.High-Performance Async I/O: Fully non-blocking asynchronous filesystem operations built for large codebases.
Smart Tree Inspection (
get_project_tree): Generates clean ASCII directory maps respecting.gitignoreand circular symlinks.Instant Text & Regex Search (
search_codebase): Fast grep-style search with line numbers, code snippets, and optional regex (use_regex).Safe File Reading (
read_project_file): Read specific files or line ranges safely with path traversal protection and max file size guards.Security-First: Automatically redacts and blocks access to sensitive credential files (
.env,.pem,id_rsa,credentials.json,secrets.json, etc.).Multi-Language Tech Stack Diagnostics (
inspect_tech_stack): Automatically identifies Node.js, Python, Go, Rust, Java, PHP, Ruby, and Docker setups.
How It Works
You do not need to manually clone this repository. Once configured, your AI assistant launches codebase-mcp automatically in the background as a local process.
[ User ] -- "Where is the sensitive file filter function defined?"
│
▼
[ AI Assistant (Claude / Cursor / Windsurf) ] -- (Detects local codebase-mcp tool availability)
│
├─► Sends STDIO JSON-RPC: search_codebase(query: "isSensitiveFile")
│
▼
[ codebase-mcp (Local Background Process) ]
│
├─► Scans local repository safely, applying .gitignore & security filters
└─► Returns: "src/utils/fileSystem.ts:81 -> export function isSensitiveFile..."
│
▼
[ AI Assistant ] -- "The sensitive file filter is defined at line 81 of src/utils/fileSystem.ts..."Integration Tutorials
1. Claude Code (Anthropic CLI)
Run in your terminal:
claude mcp add codebase-mcp -- npx -y codebase-mcpVerify connection:
claude mcp list2. Cursor IDE
Open Cursor Settings -> MCP.
Click + Add New MCP Server.
Set Name:
codebase-mcp, Type:command, Command:npx -y codebase-mcp.
3. Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"714-mcp-tool": {
"command": "npx",
"args": ["-y", "714-mcp-tool"]
}
}
}4. Windsurf IDE
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"714-mcp-tool": {
"command": "npx",
"args": ["-y", "714-mcp-tool"]
}
}
}Security & Privacy
Operates 100% locally over STDIO. No code or data is ever sent to external cloud servers.
Path traversal attempts (
../../) are strictly blocked.Sensitive files (
.env,credentials.json,id_rsa,secrets.json) are protected from AI reads.
License
Distributed under the MIT License. See LICENSE for more information.
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
- AlicenseBqualityDmaintenanceA local-first MCP server that provides AI agents with safe codebase access through file discovery, hybrid lexical-semantic search, and project introspection. It features durable local memory and semantic indexing while keeping all data and processing entirely on your local machine.Last updated74615MIT
- AlicenseAqualityAmaintenanceA local-first MCP server that enables AI tools to safely inspect and search code repositories, providing indexing, deterministic BM25 search, code outlining, and context bundles without code modification.Last updated91MIT
- Alicense-qualityDmaintenanceA self-hosted MCP server that indexes your codebase and provides AI assistants with deep context including file tree, full-text search, git history, dependencies, and stack detection, all without sending your code to third parties.Last updated11MIT
- Alicense-qualityBmaintenanceA self-hosted MCP server that gives ChatGPT a secure connection to your local machine, enabling it to read, edit, search, and run code in your projects.Last updated1,523MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Local-first RAG engine with MCP server for AI agent integration.
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/Misa714/codebase-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server