# GitHub commit URL shape, path discarded

> GitHub commit URL shape, path discarded is an MCP server for developer tools. Remote MCP endpoint reporting the shape of a GitHub commit URL, discarding the path. 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-sha-url
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is one of many small single-purpose endpoints in the "Named MCP utilities" collection, each registered under its own official registry name. The gh-sha-url entry is described only as returning the shape of a GitHub commit URL while the path itself is discarded.

It runs as a hosted remote server over streamable HTTP on a Cloudflare Workers address, with no installable package. The repository README lists it alongside sibling endpoints for identifier layouts and calendar checks, and a group of Agent Ads entries that route autonomous agents to an advertising service.

The registry entry gives no tool names, input schema or usage examples, so behavior beyond the one-line description is undocumented. It is aimed at autonomous clients that want a quick format check without sending the underlying value on.

## Features

- **URL shape check:** Reports the structural shape of a GitHub commit URL rather than returning its content.
- **Path discarded:** The description states the URL path is not kept after the check.
- **Remote streamable HTTP:** Connects over a hosted streamable-HTTP endpoint with nothing to install.
- **Own registry name:** Registered as io.github.sadri-dridi/gh-sha-url, separate from sibling utilities.

## Good for

- Let an agent validate that a string looks like a GitHub commit URL
- Test a minimal remote MCP connection over streamable HTTP
- Check URL format without passing the path along to another service

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Point an MCP client at the streamable-HTTP remote URL listed in the registry entry; no package is provided.

### Does it keep the URL path?

The description says the path is discarded.

### Which tools does it expose?

No tool names are listed in the registry entry or README.

### Is it part of a larger collection?

Yes, it belongs to the Named MCP utilities repository, which lists many similar single-purpose endpoints.

### 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-sha-url https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/gh-sha-url/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, gitoid:sha256 shape, value discarded, Hostname shape, value discarded and Git SHA hex length, 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.
- [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-2): Hostname shape, value discarded is an MCP server for developer tools.
- [Git SHA hex length, value discarded](https://ai-powered.com/mcp/git-sha-hex-length-value-discarded): Git SHA hex length, value discarded is an MCP server for developer tools.
- [MAC address shape, value discarded](https://ai-powered.com/mcp/mac-address-shape-value-discarded): MAC address shape, value discarded is an MCP server for developer tools.
- [Origin scheme+host shape, URL discarded](https://ai-powered.com/mcp/origin-scheme-host-shape-url-discarded): Origin scheme+host shape, URL discarded is an MCP server for developer tools.
- [Email shape, address discarded](https://ai-powered.com/mcp/email-shape-address-discarded): Email shape, address discarded is an MCP server for communication.

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