Skip to main content
Glama
MCP Pre-commit Manager

MCP Pre-commit Manager

by ars-system

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 2 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness3/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues