# GitHub commit URL shape, path discarded

> GitHub commit URL shape, path discarded is an MCP server for developer tools. Validates the shape of GitHub commit URLs for autonomous clients. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/gh-commit-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Given a GitHub commit reference, this server checks whether its URL structure matches the expected commit format. The path portion of the URL is discarded rather than returned, so the check focuses on shape rather than on the repository contents behind it.

The server is published in the official MCP registry under its own name and is offered as a remote streamable HTTP endpoint, so it can be reached without installing a package. It is a small single-purpose utility, aimed at developers and agent pipelines that need to screen commit links before acting on them.

## Features

- **Commit URL shape check:** Tests whether a GitHub commit URL follows the expected structure.
- **Path not retained:** The URL path is discarded instead of being passed back or kept.
- **Remote streamable HTTP endpoint:** Reachable over the streamable-http MCP transport without a local install.
- **Registry-listed server:** Published under an official MCP registry name for client discovery.

## Good for

- Screening GitHub commit links before an agent follows them
- Validating commit URL format inside an automated pipeline
- Testing MCP client integration against a small utility server

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http gh-commit-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gh-commit-ok": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gh-commit-ok": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gh-commit-ok": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gh-commit-ok": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp"
    }
  }
}
```

## FAQ

### What transport does it use?

The registry entry lists streamable-http as its transport, with a remote endpoint and no packages.

### Does it need to be installed locally?

No package is listed in the registry entry, so it is offered only as a remote endpoint.

### How do I add GitHub commit URL shape, path discarded to Claude Code?

Run this command in your terminal: claude mcp add --transport http gh-commit-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-commit-ok/mcp

### What are the best alternatives to GitHub commit URL shape, path discarded?

The closest alternatives to GitHub commit URL shape, path discarded are GitHub issue URL shape, path discarded, GitHub commit SHA hex, value discarded, tag: URI shape, value discarded, gitoid:sha256 shape, value discarded and Hostname shape, value discarded.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [GitHub issue URL shape, path discarded](https://ai-powered.com/mcp/github-issue-url-shape-path-discarded): GitHub issue URL shape, path discarded is an MCP server for developer tools.
- [GitHub commit SHA hex, value discarded](https://ai-powered.com/mcp/github-commit-sha-hex-value-discarded): GitHub commit SHA hex, value discarded is an open-source MCP server for developer tools.
- [tag: URI shape, value discarded](https://ai-powered.com/mcp/tag-uri-shape-value-discarded): tag: URI shape, value discarded is an open-source MCP server for developer tools.
- [gitoid:sha256 shape, value discarded](https://ai-powered.com/mcp/gitoid-sha256-shape-value-discarded): gitoid:sha256 shape, value discarded is an MCP server for developer tools.
- [Hostname shape, value discarded](https://ai-powered.com/mcp/hostname-shape-value-discarded): Hostname shape, value discarded is an MCP server for developer tools.
- [Hostname shape, value discarded](https://ai-powered.com/mcp/hostname-shape-value-discarded-2): Hostname shape, value discarded is an MCP server for developer tools.
- [UUID shape check](https://ai-powered.com/mcp/uuid-shape-check): UUID shape check is an MCP server for developer tools.
- [Git branch name safety, name discarded](https://ai-powered.com/mcp/git-branch-name-safety-name-discarded): Git branch name safety, name discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/github-commit-url-shape-path-discarded
