Project Explorer
Provides read-only access to a Git repository: list and search files, read line ranges, inspect working-tree status and diffs, and view the log, diff and files of other branches when allowed by policy.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Project Explorer
Project Explorer is a read-only MCP server that lets an assistant such as ChatGPT, Gemini or Claude read the files you choose from a Git repository on your machine. It reads the working tree as it is now, uncommitted changes included, and the branches and linked worktrees you allow.
It was built for one job: asking a chat assistant to explain what a coding agent is doing in a worktree before that work is committed. It is useful whenever you want an assistant to read a private repository without uploading it and without giving the assistant a shell.
How it works
MCP client ──HTTPS──▶ tunnel ──▶ bridge ──stdio──▶ backend
(ChatGPT, Gemini) (host, loopback) (container, no network)
OAuth, fixed tools policy, read-only mountThe backend runs in a container with no network, a read-only root file system and a read-only mount of one repository. It decides what may be read.
The bridge runs on the host and listens on loopback only. It checks the OAuth token and forwards a fixed set of read-only tools to the backend over stdio.
A policy file per project lists the directories, files and extensions that are shared. Everything else stays closed, including directories added later.
Related MCP server: Git Code Review MCP
What you get
Eleven read-only tools: list and search files, read line ranges, Git status and diffs, and the log, diff and files of other branches. See docs/tools.md.
An allowlist per project, on top of global rules that always hide
.git,.env*, key files and similar names. See docs/policy.md.OAuth 2.1 resource-server checks that accept only the user IDs you list.
Uncommitted work in linked worktrees, and committed work on other branches, when the policy allows it.
Bounded output: every tool has size and time limits and says when a result was cut short.
It does not write to the repository, run commands, or read outside the repository and its worktrees. Shared file content does leave your machine: it is sent to the assistant you connect. docs/security.md describes what is protected and what is not.
Requirements
Python 3.11 or later, uv, Git and ripgrep. Serving a real project also needs Docker. Sharing over HTTPS needs a tunnel such as cloudflared or ngrok.
Try it
git clone https://github.com/Willkczy/project-explorer.git
cd project-explorer
uv sync
uv run project-explorer demo checkThis creates a temporary synthetic repository, calls every working-tree tool through the real MCP protocol and prints one PASS line per check. To run the same check in the container:
uv run project-explorer build
uv run project-explorer demo check --dockerShare a repository
cp policies/project.example.json policies/my-project.json # edit what to share
uv run project-explorer preview --root /path/to/repo --policy policies/my-project.json
uv run project-explorer prepare --root /path/to/repo --policy policies/my-project.json
uv run project-explorer check --project my-projectpreview lists exactly the files the policy shares and writes nothing. prepare records the project, and check calls the tools in the container without starting any network service.
Then connect a client:
Client | Guide |
A program on the same machine, such as Claude Code | |
ChatGPT on the web | |
Gemini on the web |
Documentation
Setup: OAuth, the HTTPS URL, serving one or several projects.
Policy: every policy field and the global rules.
Tools: parameters, results and limits.
Security: the threat model and its limits.
Architecture: how the code is organised and why.
Contributing and the changelog.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with local Git repositories for operations like status, commits, branching, and diffs, plus GitHub API integration for managing pull requests when authenticated.-
- AlicenseBqualityDmaintenanceEnables AI assistants to perform code reviews by providing access to staged files, git diffs, and repository file content. It allows users to evaluate changes and context within any local git repository before committing or pushing.34 npmISC
- AlicenseBqualityDmaintenanceEnables AI assistants to inspect local Git repositories and interact with the GitHub API for reading commits, diffs, files, issues, comments, pull requests, and project boards.10ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate annotated file trees, retrieve file statistics, list git-changed files, and read file contents from local directories or GitHub repositories.MIT