# 16 random hex chars

> 16 random hex chars is an MCP server for developer tools. MCP server that returns 16 random hexadecimal characters for autonomous agent 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/random-hex16
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes this as one entry in a set of small, independently listed MCP servers, each published under its own registry name. This one exposes a single streamable-HTTP endpoint that hands back a string of 16 random hex characters on request, so a calling agent can get a short hex token without generating one itself.

The server runs as a hosted Cloudflare Worker at a fixed URL listed in the registry entry, so there is nothing to install on the client side; an MCP-capable client only needs the endpoint. The repository that holds the code is a collection of similar utilities, and this particular one is a narrow helper rather than a general-purpose tool.

It suits developers wiring agents or test harnesses that need quick random hex identifiers and want to offload that step to an MCP tool call.

## Features

- **Random hex output:** Returns a string of 16 random hexadecimal characters per call.
- **Streamable HTTP transport:** Connects to MCP clients over a single streamable-HTTP endpoint with no local install.
- **Registry listed:** Published under the official MCP registry name io.github.sadri-dridi/random-hex16.

## Good for

- Generating short random hex tokens inside an agent workflow
- Adding a random hex helper to a test harness through MCP
- Giving an autonomous client a simple identifier generator without custom code

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/random-hex16/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### Does it need to be installed locally?

No. The registry entry lists a remote streamable-HTTP endpoint, so clients connect to the hosted URL directly.

### How do I add 16 random hex chars to Claude Code?

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

### What are the best alternatives to 16 random hex chars?

The closest alternatives to 16 random hex chars are 8 random hex chars, 32 random hex chars, Random UUID v4, shortuuid hex charset, value discarded and Tiger-160 hex length, input 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

- [8 random hex chars](https://ai-powered.com/mcp/8-random-hex-chars): 8 random hex chars is an MCP server for developer tools.
- [32 random hex chars](https://ai-powered.com/mcp/32-random-hex-chars): 32 random hex chars is an MCP server for developer tools.
- [Random UUID v4](https://ai-powered.com/mcp/random-uuid-v4): Random UUID v4 is an MCP server for developer tools.
- [shortuuid hex charset, value discarded](https://ai-powered.com/mcp/shortuuid-hex-charset-value-discarded): shortuuid hex charset, value discarded is an MCP server for developer tools.
- [Tiger-160 hex length, input discarded](https://ai-powered.com/mcp/tiger-160-hex-length-input-discarded): Tiger-160 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.
- [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.
- [SHA-256, input discarded](https://ai-powered.com/mcp/sha-256-input-discarded): SHA-256, input discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/16-random-hex-chars
