MCP Pre-commit Manager
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_project_setupA | Use this tool when the user asks about git or pre-commit status of a repository, or when you need to verify project setup before making changes. This tool performs a comprehensive check of: 1) Project type detection (Python/JavaScript/TypeScript based on config files), 2) Git repository status (initialized, current branch, commits, remotes), 3) Pre-commit hooks installation status (config file and hook scripts). Returns detailed information including recommendations for next steps. Call this tool whenever a user mentions 'check', 'status', 'git', 'pre-commit', or 'setup' in the context of repository configuration. |
| setup_git_and_precommitA | Use this tool to automatically set up git and pre-commit hooks for a project. This tool will: 1) Initialize a git repository if one doesn't exist (runs 'git init'), 2) Detect the project type automatically (Python/JS/TS), 3) Create a .pre-commit-config.yaml file with appropriate hooks for the project type, 4) Install the pre-commit hooks (runs 'pre-commit install'). For Python projects: Sets up pre-commit framework with Black, Flake8, isort, and common hooks. For JS/TS projects: Sets up Husky + lint-staged with ESLint and Prettier. Call this tool when the user wants to 'set up', 'initialize', 'install', or 'configure' git or pre-commit hooks. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have a clear read-vs-write split: check_project_setup inspects state, setup_git_and_precommit mutates it. The only minor overlap is that 'setup' arguably implies a subsequent check, but descriptions make the boundary explicit.
Both names are snake_case and verb-led (check_..., setup_...), matching a predictable pattern. Minor deviation: 'setup' is a noun used as a verb while 'check' is a clean verb, and one name is quite long, but overall consistent.
Two tools is borderline thin for a server framed as a 'pre-commit manager' — it covers setup and status but nothing else. Both tools earn their place, but the surface feels minimal for the stated scope.
Core lifecycle of initialize-and-verify is covered, but there are notable gaps: no way to update/extend an existing .pre-commit-config.yaml without overwriting, no tool to run hooks, and no uninstall/removal operation. Agents can partially work around these by editing files directly.