# XID 20-char shape, value discarded

> XID 20-char shape, value discarded is an MCP server for developer tools. Remote MCP endpoint that checks whether a string matches the 20-character XID shape. 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/xid-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose MCP endpoints published under the sadri-dridi registry namespace. Its registry description says it checks the shape of an XID, a 20-character identifier, and discards the value afterward.

It runs as a hosted streamable-http remote on a Cloudflare Workers address and has no installable package. Autonomous clients connect to the URL directly, so nothing needs to be run locally.

The repository README describes the collection as independently listed public MCP servers for autonomous clients, each with its own intake. Tool names, input schemas and the exact validation rules are not documented, so check the endpoint itself before relying on it.

## Features

- **XID shape check:** Validates whether an input has the 20-character XID format.
- **Value discarded:** The registry description says the checked value is not kept after the check.
- **Hosted remote endpoint:** Reached over streamable-http at a hosted URL with no local installation.
- **Single-purpose design:** Each server in the parent repository covers one narrow check under its own registry name.

## Good for

- Validate that an identifier looks like an XID before an agent uses it
- Add a lightweight ID-format check to an autonomous agent workflow
- Test connecting an MCP client to a remote streamable-http server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### What does this server do?

According to its registry entry, it checks the 20-character XID shape and discards the value.

### How do I connect to it?

Use the streamable-http remote URL listed in the registry entry; there is no package to install.

### Is the source code available?

The repository is on GitHub under sadri-dridi/named-mcp-utilities, which lists this and many similar servers.

### Which tools does it expose?

The available content does not list specific tool names.

### How do I add XID 20-char shape, value discarded to Claude Code?

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

### What are the best alternatives to XID 20-char shape, value discarded?

The closest alternatives to XID 20-char shape, value discarded are XID shape check, XID 24-hex shape, value discarded, XID Base32 charset, value discarded, XID timestamp prefix, value discarded and XML declaration shape, markup 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

- [XID shape check](https://ai-powered.com/mcp/xid-shape-check): XID shape check is an MCP server for developer tools.
- [XID 24-hex shape, value discarded](https://ai-powered.com/mcp/xid-24-hex-shape-value-discarded): XID 24-hex shape, value discarded is an MCP server for developer tools.
- [XID Base32 charset, value discarded](https://ai-powered.com/mcp/xid-base32-charset-value-discarded): XID Base32 charset, value discarded is an MCP server for developer tools.
- [XID timestamp prefix, value discarded](https://ai-powered.com/mcp/xid-timestamp-prefix-value-discarded): XID timestamp prefix, value discarded is an MCP server for developer tools.
- [XML declaration shape, markup discarded](https://ai-powered.com/mcp/xml-declaration-shape-markup-discarded): XML declaration shape, markup discarded is an MCP server for developer tools.
- [Xxencode charset, input discarded](https://ai-powered.com/mcp/xxencode-charset-input-discarded): Xxencode charset, input discarded is an MCP server for developer tools.
- [XXH32 hex length, input discarded](https://ai-powered.com/mcp/xxh32-hex-length-input-discarded): XXH32 hex length, input discarded is an MCP server for developer tools.
- [XXH64 hex length, input discarded](https://ai-powered.com/mcp/xxh64-hex-length-input-discarded): XXH64 hex length, input discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/xid-20-char-shape-value-discarded
