# Hostname shape, value discarded

> Hostname shape, value discarded is an MCP server for developer tools. Remote MCP endpoint that checks hostname shape and discards the value. 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/hostname-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This is one entry in a collection of small, single-purpose MCP endpoints published under the sadri-dridi namespace. Its registry description says it looks at the shape of a hostname and then discards the value, so the input is not kept.

It is served as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, so there is nothing to install locally. The repository README groups it with similar utilities such as ID-layout, calendar-year and sort-code shape checks, each registered as its own official registry name.

The README does not list the individual tools or parameters this server exposes, so exact inputs and outputs are best confirmed by connecting a client and listing its tools.

## Features

- **Hostname shape check:** Evaluates the shape of a hostname rather than resolving or storing it.
- **Value discarded:** The registry description states the submitted value is discarded after the check.
- **Remote streamable HTTP:** Connects over a hosted streamable-http endpoint with no local package to install.
- **Own registry name:** Registered separately as io.github.sadri-dridi/hostname-ok within a family of similar utilities.

## Good for

- Letting an autonomous agent sanity-check whether a string looks like a hostname
- Adding a lightweight validation step to an agent workflow without keeping the input
- Trying out a minimal remote MCP server when testing client connectivity

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to this server?

Use the streamable-http remote URL listed in the registry entry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hostname-ok/mcp.

### Does it store the hostname I submit?

The registry description says the value is discarded.

### Do I need to install anything?

No package is listed; it is offered only as a remote endpoint.

### Is it part of a larger set of servers?

Yes, the repository lists many similar single-purpose utilities, each with its own registry name.

### How do I add Hostname shape, value discarded to Claude Code?

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

### What are the best alternatives to Hostname shape, value discarded?

The closest alternatives to Hostname shape, value discarded are host:port shape, value discarded, MAC address shape, value discarded, SNI hostname shape, value discarded, UUID shape check and True-Client-IP 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

- [host:port shape, value discarded](https://ai-powered.com/mcp/host-port-shape-value-discarded): host:port shape, 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.
- [SNI hostname shape, value discarded](https://ai-powered.com/mcp/sni-hostname-shape-value-discarded): SNI hostname shape, value discarded is an open-source 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.
- [True-Client-IP shape, value discarded](https://ai-powered.com/mcp/true-client-ip-shape-value-discarded-2): True-Client-IP shape, value discarded is an MCP server for developer tools.
- [IPv4 shape, address discarded](https://ai-powered.com/mcp/ipv4-shape-address-discarded): IPv4 shape, address discarded is an MCP server for developer tools.
- [True-Client-IP shape, value discarded](https://ai-powered.com/mcp/true-client-ip-shape-value-discarded): True-Client-IP shape, value discarded is an MCP server for developer tools.
- [FQDN shape, value discarded](https://ai-powered.com/mcp/fqdn-shape-value-discarded): FQDN shape, value discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/hostname-shape-value-discarded-2
