Skip to main content
ClaudeWave
qwertymuzaffar avatar
qwertymuzaffar

mcp-udacity-commit

Ver en GitHub

MCP server that validates & formats git commit messages per the Udacity style guide

MCP ServersRegistry oficial0 estrellas0 forksJavaScriptMITActualizado today
Install in Claude Code / Claude Desktop
Method: NPX · mcp-udacity-commit
Claude Code CLI
claude mcp add mcp-udacity-commit -- npx -y mcp-udacity-commit
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-udacity-commit": {
      "command": "npx",
      "args": ["-y", "mcp-udacity-commit"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

# mcp-udacity-commit

[![npm version](https://img.shields.io/npm/v/mcp-udacity-commit)](https://www.npmjs.com/package/mcp-udacity-commit)
[![npm downloads](https://img.shields.io/npm/dm/mcp-udacity-commit)](https://www.npmjs.com/package/mcp-udacity-commit)
[![License: MIT](https://img.shields.io/npm/l/mcp-udacity-commit)](./LICENSE)
[![MCP](https://img.shields.io/badge/MCP-server-blue)](https://modelcontextprotocol.io)

An [MCP](https://modelcontextprotocol.io) server that validates and formats git
commit messages according to the
[Udacity Git Commit Message Style Guide](https://udacity.github.io/git-styleguide/).

## Install

One line — paste it into your terminal:

```bash
claude mcp add udacity-commit -- npx -y mcp-udacity-commit
```

For Claude Desktop, add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "udacity-commit": {
      "command": "npx",
      "args": ["-y", "mcp-udacity-commit"]
    }
  }
}
```

<details>
<summary>Install from source</summary>

```bash
git clone https://github.com/qwertymuzaffar/mcp-udacity-commit
cd mcp-udacity-commit
npm install
npm run build
claude mcp add udacity-commit -- node "$(pwd)/build/index.js"
```

</details>

## What it exposes

| Primitive | Name | Purpose |
| --- | --- | --- |
| Resource | `udacity://commit-styleguide` | The style-guide rules, as markdown |
| Resource | `udacity://branch-naming` | The companion `type/kebab-case` branch-naming rules, as markdown |
| Tool | `validate_commit_message` | Checks a message against every rule (type, ≤50-char subject, capitalization, no trailing period, blank line, ≤72-char body wrap) |
| Tool | `format_commit_message` | Builds a compliant message from `type` + `subject` + optional `body`/`footer` |
| Tool | `validate_branch_name` | Checks a branch name against the companion `type/kebab-case` convention (e.g. `feat/add-dark-mode`); `release/*` is a typed branch with a version-style description (`release/1.2.0`), and base branches like `main` are exempt |

## Example

`format_commit_message` turns loose parts into a compliant commit:

```text
in:  type=fix  subject="prevent duplicate auth token refresh."
     body="The refresh timer could fire twice under load, minting two tokens…"
     footer="Resolves: #142"

out:
fix: Prevent duplicate auth token refresh

The refresh timer could fire twice under load, minting two tokens and
logging the user out. Serialize refreshes behind a single in-flight
promise so concurrent callers await the same request.

Resolves: #142
```

`validate_commit_message` flags every violation:

```text
"Fixed the login bug."  →  ❌ Not compliant.
  • Subject must follow "type: Subject".
  • Subject must not end with a period.
```

`validate_branch_name` enforces the companion `type/kebab-case` convention:

```text
"feat/add-dark-mode"     →  ✅ Compliant branch name.
"release/1.2.0"          →  ✅ Compliant branch name.
"Feature/Add_Dark_Mode"  →  ❌ Not compliant.
  • Unknown type "Feature". Use one of: feat, fix, docs, style, refactor, test, chore, release.
  • Description must be lowercase kebab-case. Got: "Add_Dark_Mode".
"main"                   →  ✅ (base branch — feature-branch rules don't apply)
```

## Develop

```bash
npm install
npm run build          # → build/index.js
npm run test:client    # spawns the server and exercises the tools
```

## License

MIT
claudecommit-messagedeveloper-toolsgitmcpmcp-servermodel-context-protocoludacity

Lo que la gente pregunta sobre mcp-udacity-commit

¿Qué es qwertymuzaffar/mcp-udacity-commit?

+

qwertymuzaffar/mcp-udacity-commit es mcp servers para el ecosistema de Claude AI. MCP server that validates & formats git commit messages per the Udacity style guide Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala mcp-udacity-commit?

+

Puedes instalar mcp-udacity-commit clonando el repositorio (https://github.com/qwertymuzaffar/mcp-udacity-commit) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar qwertymuzaffar/mcp-udacity-commit?

+

qwertymuzaffar/mcp-udacity-commit aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene qwertymuzaffar/mcp-udacity-commit?

+

qwertymuzaffar/mcp-udacity-commit es mantenido por qwertymuzaffar. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a mcp-udacity-commit?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega mcp-udacity-commit en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: qwertymuzaffar/mcp-udacity-commit
[![Featured on ClaudeWave](https://claudewave.com/api/badge/qwertymuzaffar-mcp-udacity-commit)](https://claudewave.com/repo/qwertymuzaffar-mcp-udacity-commit)
<a href="https://claudewave.com/repo/qwertymuzaffar-mcp-udacity-commit"><img src="https://claudewave.com/api/badge/qwertymuzaffar-mcp-udacity-commit" alt="Featured on ClaudeWave: qwertymuzaffar/mcp-udacity-commit" width="320" height="64" /></a>

Más MCP Servers

Alternativas a mcp-udacity-commit