# NDJSON shape check, body discarded

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

## About

This server is one of many single-purpose endpoints in a collection of named MCP utilities. Its job is narrow: it checks that a submitted payload has newline-delimited JSON shape, then throws the body away rather than keeping it.

It runs as a hosted streamable-http remote on a Cloudflare Workers subdomain, so there is nothing to install. An MCP client connects to the remote URL listed in the registry entry. No package is published.

The repository README describes the collection as independently listed public MCP servers for autonomous clients, each folder mapped to one official registry name. The same repository also lists related endpoints for ID layouts and calendar checks, plus a set of Agent Ads promotional entries. It is aimed at agent developers who want a tiny validation-style tool to call.

## Features

- **NDJSON shape check:** Verifies whether input has the newline-delimited JSON structure.
- **Body discarded:** The submitted payload is not retained after the check.
- **Remote streamable HTTP:** Connects over a hosted streamable-http endpoint with no local install.
- **Own registry name:** Listed in the official MCP registry as io.github.sadri-dridi/ndjson-ok.

## Good for

- Letting an agent confirm a payload is NDJSON before sending it onward
- Testing MCP client connections against a minimal remote server
- Validating log or stream export format without storing the data

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Point an MCP client at the streamable-http remote URL given in the registry entry; no package install is listed.

### Does it keep the data I send?

Its description says the body is discarded after the shape check.

### Where is the source?

The collection lives in the sadri-dridi/named-mcp-utilities repository on GitHub.

### How do I add NDJSON shape check, body discarded to Claude Code?

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

### What are the best alternatives to NDJSON shape check, body discarded?

The closest alternatives to NDJSON shape check, body discarded are NDJSON line count, bodies discarded, NEL JSON key count, body discarded, nupkg nuspec id shape, body discarded, vCard shape, body 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

- [NDJSON line count, bodies discarded](https://ai-powered.com/mcp/ndjson-line-count-bodies-discarded): NDJSON line count, bodies discarded is an MCP server for developer tools.
- [NEL JSON key count, body discarded](https://ai-powered.com/mcp/nel-json-key-count-body-discarded): NEL JSON key count, body discarded is an MCP server for developer tools.
- [nupkg nuspec id shape, body discarded](https://ai-powered.com/mcp/nupkg-nuspec-id-shape-body-discarded): nupkg nuspec id shape, body discarded is an MCP server for developer tools.
- [vCard shape, body discarded](https://ai-powered.com/mcp/vcard-shape-body-discarded): vCard shape, body 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.
- [UUID shape check](https://ai-powered.com/mcp/uuid-shape-check): UUID shape check is an MCP server for developer tools.
- [Nano ID shape check](https://ai-powered.com/mcp/nano-id-shape-check): Nano ID shape check is an MCP server for developer tools.
- [RSS feed shape, body discarded](https://ai-powered.com/mcp/rss-feed-shape-body-discarded): RSS feed shape, body discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ndjson-shape-check-body-discarded
