@erivelto_muller/local-repository-mcp
v0.1.0
Published
MCP stdio server for safe bounded local repository inspection.
Maintainers
Readme
local-repository-mcp
MCP stdio server for safe, bounded repository inspection.
This package is local-first and does not call an LLM or Ollama. It reads only configured roots, skips sensitive paths by default, truncates large files, and redacts common secret-like values from outputs.
Install
npm install -g @erivelto_muller/local-repository-mcpRun
local-repository-mcpThe legacy binary alias agent-repository is also included.
Configuration
Set LOCAL_AGENT_MCP_CONFIG to a YAML file:
security:
allowed_roots:
- /path/to/repository
limits:
max_files_per_request: 200
max_bytes_per_file: 128000
max_total_bytes_per_request: 1000000
repository:
default_root: /path/to/repositoryYou can also set LOCAL_AGENT_ALLOWED_ROOTS with platform path separators.
Tools
repository_healthrepository_inventorysearch_repositoryfind_symbol_usagesread_text_filesinspect_git_statusinspect_git_diffdetect_related_tests
