# YAML validity, body discarded

> YAML validity, body discarded is an MCP server for developer tools. MCP server that checks whether a YAML string is valid 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/yaml-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes this as one of a set of small, independently listed MCP servers aimed at autonomous clients. This one answers a single question: whether a YAML document parses. The body text is not returned or stored, so the server reports validity rather than the document's content.

It is served over streamable HTTP from a hosted endpoint, and the registry entry lists no local package, so there is nothing to install for this listing. The README names the parent repository as a collection of similar utilities that each map to a separate registry name.

It suits agent pipelines that need a quick pass/fail check on YAML before passing configuration onward, without retaining the submitted text.

## Features

- **YAML validity check:** Reports whether a submitted YAML document is valid.
- **Body discarded:** The submitted document text is not returned, per the listing title.
- **Streamable HTTP transport:** Reached through a remote streamable-http endpoint rather than a local package.

## Good for

- Gating an agent workflow on whether generated YAML parses
- Pre-checking configuration snippets before they are applied elsewhere
- Adding a lightweight validation step to an MCP-based automation chain

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### Does it return the YAML content?

No. The listing says the body is discarded, so only a validity result is meant to come back.

### How do I connect to it?

The registry entry gives a remote streamable-http URL. No local package is listed.

### Is it free?

The content does not state pricing, and no licence is given for this server.

### How do I add YAML validity, body discarded to Claude Code?

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

### What are the best alternatives to YAML validity, body discarded?

The closest alternatives to YAML validity, body discarded are YAML key count, body discarded, YAML anchor count, body discarded, XML well-formed check, body discarded, Yacc rule count, body discarded and XML tag count, body 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

- [YAML key count, body discarded](https://ai-powered.com/mcp/yaml-key-count-body-discarded): YAML key count, body discarded is an MCP server for developer tools.
- [YAML anchor count, body discarded](https://ai-powered.com/mcp/yaml-anchor-count-body-discarded): YAML anchor count, body discarded is an open-source MCP server for developer tools.
- [XML well-formed check, body discarded](https://ai-powered.com/mcp/xml-well-formed-check-body-discarded): XML well-formed check, body discarded is an MCP server for developer tools.
- [Yacc rule count, body discarded](https://ai-powered.com/mcp/yacc-rule-count-body-discarded): Yacc rule count, body discarded is an MCP server for developer tools.
- [XML tag count, body discarded](https://ai-powered.com/mcp/xml-tag-count-body-discarded): XML tag count, 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.
- [WebM EBML check, file discarded](https://ai-powered.com/mcp/webm-ebml-check-file-discarded): WebM EBML check, file discarded is an MCP server for files and documents.
- [Unicode word charset, value discarded](https://ai-powered.com/mcp/unicode-word-charset-value-discarded): Unicode word charset, value discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/yaml-validity-body-discarded
