Skip to content
MCP server

edge-space count, text discarded

Remote MCP utility that counts leading and trailing whitespace in text, then discards

Install
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
today

Similar MCP servers

About edge-space count, text discarded

edge-space count, text discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

trim-n is a small remote MCP server in a collection of single-purpose utilities published under the sadri-dridi registry namespace. Its registry description says it reports an edge-space count and discards the submitted text, so it appears to return only how much whitespace sits at the edges of a string.

It is reachable only as a hosted streamable-http endpoint on a Cloudflare Workers domain; there is no installable package. The README presents the wider repository as independently listed public MCP servers aimed at autonomous clients, each with its own registry name and intake. The same repository also lists related servers for ID layouts, calendar checks and Agent Ads placement doors.

No tool names, parameters, pricing or licence are documented for this server, so developers should connect and inspect its tool list before relying on it.

Install

Run in a terminal

claude mcp add --transport http trim-n https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/trim-n/mcp

Add to Settings → Connectors → Add custom connector

https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/trim-n/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "trim-n": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/trim-n/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "trim-n": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/trim-n/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "trim-n": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/trim-n/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "trim-n": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/trim-n/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it does

Edge whitespace count
Returns a count of spaces at the edges of the supplied text, according to its registry description.
Text discarded
The submitted text is described as discarded rather than kept.
Remote streamable HTTP
Runs as a hosted endpoint over streamable-http, so no local install is needed.
Part of a utility family
Sits alongside many other narrowly scoped MCP utilities under the same registry namespace.

Good for

  • Checking whether a string has stray leading or trailing spaces before processing
  • Giving an AI agent a quick whitespace check without exposing the text afterward
  • Testing a remote MCP connection with a minimal single-purpose server
  • Validating input hygiene in an automated agent workflow

edge-space count, text discarded FAQ

What does trim-n do?

Its registry description says it returns an edge-space count and discards the text.

How do I connect to it?

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

Is it part of a larger project?

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

Are the tools documented?

No tool names or parameters are listed in the available material.

How do I add edge-space count, text discarded to Claude Code?

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

What are the best alternatives to edge-space count, text discarded?

The closest alternatives to edge-space count, text discarded are Whitespace word count, text discarded, whitespace run count, text discarded, Unicode word count, text discarded, Word count, text discarded and whitespace token count, text 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.

How AIPoweredBot checks servers