- TL;DR
- Overview
- Core Capabilities
- Current Status
- Installation
- Documentation
- Naming / Migration
- Contributing
- About Expertos Tech
mcp-experto-codebaseis a local-first MCP server for giving AI coding agents safe, token-efficient, and semantically guided access to local codebases.- It helps agents understand project structure, retrieve relevant files, preserve session context, and avoid wasteful full-repository reads.
- Use
docs/README.mdandAGENTS.mdas the main entry points for humans and AI agents.
Experto Codebase MCP is a local-first codebase context MCP server for semantic search, safe file access, and session memory across AI coding agents.
It helps Codex, Gemini, Copilot, Claude, and other MCP clients understand a repository without rereading everything on every task. The server focuses on token economy, selective reading, semantic code search, and local context that stays on the developer machine.
The product is not only a server for filesystem access. Filesystem access is a central capability, but the broader goal is a codebase context layer aligned with Model Context Protocol primitives: Resources for model context and project data, Prompts for reusable workflows, and Tools for executable codebase operations.
- Stack and project structure detection.
- Project overview generation.
- Relevant entry point discovery.
- Protected file and ignored path awareness.
- Bounded file excerpts.
- Line-range reads.
- Document excerpts for supported formats.
- Guidance to avoid dumping full files into the model context.
- Local workspace indexing.
- Search by keyword, semantic intent, or hybrid ranking.
- Similar content retrieval.
- Search-oriented codebase navigation.
- Guardrails for paths under the configured workspace root.
- Protected path awareness for sensitive and noisy files.
- Planned dry-run and diff-based write operations.
- Planned compact session summaries.
- Planned architectural decision capture.
- Planned pending task tracking.
- Planned recent-file change context.
- Planned handoff workflows between Codex, Gemini, Copilot, Claude, and other MCP clients.
The project is under active development. The current runtime focuses on safe, token-efficient codebase access. Some capabilities are implemented, while deeper memory and agent handoff workflows are planned.
Implemented:
- Runtime tool introspection through
get_help. - Project overview and guided reading through
project_overview. - File excerpts through
read_file_excerpt. - Document excerpts through
read_document_excerpt. - Workspace indexing through
index_workspace. - Search-oriented navigation through
search_files. - Similar content retrieval through
find_similar_content. - Index health and error reporting through
index_statusandindex_errors. - Universal response contract with
status,message,data,error,meta, andmetrics.
In progress:
- Deeper semantic retrieval workflows.
Planned:
- Safe diff-based write operations.
- Session memory and agent handoff workflows.
- Multi-client Docker and HTTP setup where it fits the local-first security model.
The server is under active development. The steps below reflect the current local development workflow.
# 1. Clone the repository
git clone https://github.com/expertos-tech/mcp-experto-codebase.git
cd mcp-experto-codebase
# 2. Install dependencies, requires Python 3.11+
uv sync --all-extras
# 3. Run the validation suite
uv run ruff check src tests
uv run mypy src
uv run pytest --cov=src --cov-branch
# 4. Register with your MCP client
# Add the server entry to your client's mcp_servers config pointing to the stdio entrypoint.For detailed setup, see docs/installation.md.
Whether you are a human contributor or an AI agent, documentation is the source of truth:
- Docs Home: Public documentation entry point.
- Technical Documentation Index: Architecture, standards, and design guides.
- AGENTS.md: Mandatory rules, persona, and command shortcuts for AI agents working in this repository.
This project was originally developed as mcp-experto-filesystem and renamed before public launch to better reflect its broader scope: codebase context, semantic search, safe file access, and session memory.
We are in the early stages of building this solution and welcome focused contributions.
- Check the Development Standards.
- Understand the AI tool philosophy in the MCP Design Guidelines.
- Open an issue to discuss your idea or submit a pull request.
Expertos Tech is a community focused on software engineering, cloud architecture, and AI education. We build tools that help developers work with stronger context and lower operational friction.
- Website: expertostech.dev
- License: MIT. See
LICENSEfor details.