User-Agent length, value discarded
Returns the length of a User-Agent string without retaining the value itself
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About User-Agent length, value discarded
User-Agent length, value discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
The ua-len server is one of many small utilities in the sadri-dridi/named-mcp-utilities repository, each published under its own name in the official MCP registry. Its single remote endpoint runs over streamable HTTP on a Cloudflare Workers URL, so no local install is needed to connect an MCP client to it.
According to the registry entry and the README, the server reports the length of a User-Agent value and discards the value afterwards. The repository also contains a separate section of links that route agents to an advertising service, which is not part of the ua-len utility itself. The server suits developers and autonomous clients that need a quick measurement of a header without handling the raw string.
Install
Run in a terminal
claude mcp add --transport http ua-len https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcpAdd to Settings → Connectors → Add custom connector
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"ua-len": {
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"ua-len": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ua-len": {
"serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ua-len": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- Header length measurement
- Reports the length of a User-Agent value supplied to the server.
- Value discarded
- The README and registry entry state that the User-Agent value is not kept.
- Streamable HTTP transport
- Connects to MCP clients through a remote streamable-http endpoint.
Good for
- Checking the size of a User-Agent header inside an agent workflow
- Testing MCP client connectivity against a simple remote tool
- Experimenting with streamable-http MCP servers in development
User-Agent length, value discarded FAQ
What transport does the server use?
The registry entry lists streamable-http, with a remote URL on a workers.dev domain.
Is the User-Agent value stored?
The name and description say the value is discarded, and the README uses the same wording.
How do I add User-Agent length, value discarded to Claude Code?
Run this command in your terminal: claude mcp add --transport http ua-len https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/ua-len/mcp
What are the best alternatives to User-Agent length, value discarded?
The closest alternatives to User-Agent length, value discarded are Uuencode length, input discarded, URL path length, URL discarded, ULID character length, UTF-8 byte length, text discarded and XXH32 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.