repoport
Provides tools for operating on a local Git repository without shell access, including checking status, viewing staged/unstaged/target diffs, staging files, resetting the index, committing staged changes, reading logs with timestamp filters, showing revisions, and creating, switching, listing, and filtering branches.
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.
repoport
repoport gives an agent hands on a local git repository without giving it a shell. It covers the everyday loop — check status, read diffs, stage files, commit, read the log, inspect a revision, and move between branches — and it does so by calling the git CLI directly, with every argument passed as data rather than stitched into a shell string.
The repository path is checked before anything runs: it must exist and must be inside a git work tree. Revision-like values that begin with a dash are refused, so a branch name or revision cannot smuggle an extra git flag into a call.
Install
npx @reneturcios/repoport status .Or run the container image:
docker run -i ghcr.io/cloudcorprecords/repoportThe container defaults to the MCP server (see below). Pass CLI
arguments to use it as a CLI instead. The image and the npm package
both expect a git binary and access to the repository you point at;
mount or run against a local checkout accordingly.
Related MCP server: Cross Repo Ops MCP
CLI
# Working tree status for a repository
repoport status ~/src/my-project
# Recent commits (default 10, pass a count to change it)
repoport log ~/src/my-project
repoport log ~/src/my-project 25
repoport --versionExit codes: 0 on success, 1 when git or the repository check fails
(the error carries git's own message), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/repoport mcpMCP client configuration:
{
"mcpServers": {
"repoport": {
"command": "npx",
"args": ["-y", "@reneturcios/repoport", "mcp"]
}
}
}Tools
Tool | Input | What it returns |
|
| The long-form |
|
| A unified diff of unstaged working-tree changes. |
|
| A unified diff of changes staged for the next commit. |
|
| A unified diff against the given target revision. |
|
| Stages the named files; paths are passed after |
|
| Unstages everything ( |
|
| Commits whatever is currently staged with the given message. |
|
| Recent commits newest first; timestamp bounds are applied against each commit's author date. |
|
| The |
|
| Creates a branch without switching to it. |
|
| Switches the work tree to the named branch. |
|
| Branch listing, optionally filtered to branches that contain or do not contain a commit. |
Every tool returns git's stdout as its text result. Failures — a missing path, a path that is not a repository, a git error, or a rejected dash-prefixed value — come back as tool errors carrying the underlying message.
Safety notes
No shell is involved anywhere: arguments travel as an
execFileargument array.branch_name,target,revision,containsandnot_containsvalues starting with-are rejected before git ever sees them.git_commitonly commits what is already staged; it never stages on your behalf.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network
npm run dev # run the CLI from source via tsxTests build a throwaway repository in a temp directory (initialising
git and setting a local test identity there) and exercise the full
loop against it, so they need a git binary on PATH but no network
and no pre-existing checkout.
License
MIT — see 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
A MCP server built for developers enabling Git based project management with project and personal…
Verified component catalog over remote MCP: agents pick component ids and get a stamped project repo that builds. Connect at https://www.botkelp.com/mcp. Auth: MCP OAuth 2.1, or a Bearer bk_live_ API key; initialize and tools/list are open.
Start and manage Reason cloud coding agents, projects and sessions from any MCP client.
Remote MCP utilities for agents: structured data, commerce checks, and x402 paid API discovery.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides comprehensive git tooling via MCP, including status, diffs, commits, branches, stashes, and multi-root inventory, enabling AI agents to manage repositories.9 npmMIT
- FlicenseBqualityDmaintenanceEnables secure, policy-controlled operations on local git repositories through MCP, including bounded reads, context-checked patches, allowlisted tasks, and guarded git operations.10-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search commits, retrieve diffs, and inspect file change history in a Git repository using MCP.50 npmMIT
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with Git repositories via MCP, supporting status checks, diffs, staging, commits, branch management, and log queries.12MIT