# XML declaration shape, markup discarded

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

## About

This server is one entry in a collection of small, single-purpose MCP endpoints published under the sadri-dridi account. Its registry description says it looks at the shape of an XML declaration and discards the markup it receives, so the input is not kept.

It runs as a remote streamable-http service hosted on a Cloudflare Workers address, so there is nothing to install locally. The registry entry lists no packages, only the remote URL.

The parent repository describes the collection as independently listed public MCP servers for autonomous clients, with each folder tied to one official registry name. The README does not document the tools this particular server exposes or its response format.

## Features

- **XML declaration shape check:** Evaluates the shape of an XML declaration, according to the registry description.
- **Input discarded:** The registry description states the markup is discarded rather than retained.
- **Remote streamable-http:** Connects over a hosted streamable-http endpoint with no local install.
- **Part of a utility collection:** Sits alongside many other narrow single-purpose MCP utilities in the same repository.

## Good for

- Let an autonomous client test the form of an XML declaration without storing the document
- Add a minimal remote MCP endpoint to an agent for experimentation
- Explore how single-purpose registry-named MCP servers behave

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How does it connect?

Through a remote streamable-http endpoint listed in the registry; no package is provided.

### Is the submitted markup stored?

The registry description says the markup is discarded.

### Where is the source?

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

### How do I add XML declaration shape, markup discarded to Claude Code?

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

### What are the best alternatives to XML declaration shape, markup discarded?

The closest alternatives to XML declaration shape, markup discarded are XML well-formed check, body discarded, XML namespace count, markup discarded, XID 20-char shape, value discarded, XID shape check and US ZIP+4 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

- [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.
- [XML namespace count, markup discarded](https://ai-powered.com/mcp/xml-namespace-count-markup-discarded): XML namespace count, markup discarded is an MCP server for developer tools.
- [XID 20-char shape, value discarded](https://ai-powered.com/mcp/xid-20-char-shape-value-discarded): XID 20-char shape, value discarded is an MCP server for developer tools.
- [XID shape check](https://ai-powered.com/mcp/xid-shape-check): XID shape check is an MCP server for developer tools.
- [US ZIP+4 shape, value discarded](https://ai-powered.com/mcp/us-zip-4-shape-value-discarded): US ZIP+4 shape, value discarded is an open-source 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.
- [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.
- [Xxencode charset, input discarded](https://ai-powered.com/mcp/xxencode-charset-input-discarded): Xxencode charset, input discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/xml-declaration-shape-markup-discarded
