mcp-git-readonly
Provides read-only tools for interacting with a single Git repository, including viewing commit logs, diffs, and blame information, with argument-injection-safe refs and paths and capped output.
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.
mcp-git-readonly
Read-only MCP server for one git repository with log, diff and blame tools, argument-injection-safe refs and paths, no external diff drivers and capped output
Problem
Describe in two or three sentences the concrete problem this utility solves, who hits it, and why existing packages do not solve it well. Keep it factual; link to an issue or decision record when there is one.
Related MCP server: Cross Repo Ops MCP
Install
npm install @trysac/mcp-git-readonlyRequires Node.js 20 or newer. The package ships ES modules with TypeScript declarations.
Usage
import { greet } from "@trysac/mcp-git-readonly";
// Build a greeting; surrounding whitespace is ignored.
const message = greet(" Ada ");
console.log(message); // "Hello, Ada!"
try {
greet(" ");
} catch (error) {
console.error((error as Error).message); // "name must not be empty"
}API
Export | Signature | Description |
|
| Placeholder API; replace it with the real one. |
Development
npm install
npm run check # lint, format, types, tests with coverage, docs, secretsSee AGENTS.md for the full command list and CONTRIBUTING.md for the workflow.
License
MIT © 2026 Miguel Gomez
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-only scan of a public GitHub repo for leaked secrets, with a 0-100 grade.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Provides read access to your GKE and Kubernetes resources.
Read-only access to your CodeMouse accounts, repositories, and AI pull-request reviews.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables read-only inspection of Git repository status and diff summaries, along with validation of OpenTofu and Ansible configurations, through a strictly limited, non-mutating toolset.MIT
- FlicenseBqualityCmaintenanceEnables 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 MCP clients to inspect local Git repositories through five focused, read-only tools for repository trees, literal text search, numbered file reads, bounded git diffs, and project summaries while confining paths, skipping secret-like and binary files, and enforcing output limits.MIT
- AlicenseNot gradedqualityBmaintenanceProvides bounded, read-oriented access to authorized local workspaces through filesystem and git tools, multimodal file inspection, and explicitly allowlisted named tasks, without exposing write, delete, or arbitrary-shell capabilities.76 npmMIT