From f3edf6b539f4aa359951fbe5f6726158e51e798b Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Sun, 21 Jun 2026 23:31:16 +0300 Subject: [PATCH] docs: add MCP Server to getting started page and homepage --- docs/getting-started.md | 10 ++++++++++ docs/index.md | 21 ++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 00d81db..5a28c10 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -38,4 +38,14 @@ Select the method that best fits your development workflow: [Get started with CLI →](https://commit-check.github.io/commit-check/){ .md-button .md-button--primary } +- :material-robot: **MCP Server** + + --- + + MCP server exposing commit-check validations as structured tools for AI coding agents + + **Perfect for:** Claude Code, Cursor, Copilot & any MCP-compatible AI agent + + [Get started with MCP →](https://github.com/commit-check/commit-check-mcp){ .md-button .md-button--primary } + diff --git a/docs/index.md b/docs/index.md index a17f70e..73e6b90 100644 --- a/docs/index.md +++ b/docs/index.md @@ -30,7 +30,7 @@ title: Commit Check --- - GitHub Actions, pre-commit hooks, or the command line — integrate Commit Check anywhere your code lives. + GitHub Actions, pre-commit hooks, command line, or MCP server — integrate Commit Check anywhere your code lives. @@ -154,6 +154,25 @@ title: Commit Check # And more... ``` +=== "MCP Server" + + Add to your AI coding agent's MCP config: + + ```json + { + "mcpServers": { + "commit-check": { + "command": "uvx", + "args": ["commit-check-mcp"] + } + } + } + ``` + + Then your agent can validate commit messages, branch names, author info, and more with structured results. + + [Learn more about MCP →](https://github.com/commit-check/commit-check-mcp) + ---