# Xml MCP

> Xml MCP is an open-source MCP server for developer tools. Offline XML parse, validate and convert MCP server with entity and CDATA support. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/mrfentmen/awesome-servers
- **MCP Registry name:** io.github.mrfentmen/xml-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-19

## About

The registry entry describes this as an MCP server that parses, validates and converts XML without any network calls, using a real parser that handles entities, CDATA sections and attributes. It is published as an npm package and runs over stdio, so an MCP-capable AI client can launch it locally.

The listing is attached to the awesome-servers repository, which is a large collection of TypeScript MCP servers, and the README there does not describe this server's individual tools. Because of that, the specific operations beyond parsing, validating and converting are not documented here.

It suits developers and data workers who want an AI assistant to inspect or transform XML files locally without sending the documents to a third-party service.

## Features

- **Offline XML parsing:** Parses XML locally with a real parser rather than regular expressions.
- **Entity and CDATA handling:** Works with XML entities, CDATA sections and attributes.
- **Validation:** Checks XML documents for well-formedness as described in the registry entry.
- **Format conversion:** Converts XML content into other representations.
- **Stdio transport:** Runs as a local process over stdio, installed from npm.

## Good for

- Check whether an XML file is well-formed before loading it into a pipeline
- Convert XML configuration or data into another format inside an AI chat
- Inspect attributes and CDATA content in large XML documents without uploading them
- Run XML processing locally where documents must stay on the machine

## Install

### Claude Code (Terminal)

```sh
claude mcp add xml-mcp -- npx -y @mrfentmen/xml-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xml-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/xml-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "xml-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/xml-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "xml-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/xml-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "xml-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/xml-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "xml-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/xml-mcp"
      ]
    }
  }
}
```

## FAQ

### How is it installed?

The registry entry lists it as the npm package @mrfentmen/xml-mcp, version 1.0.1, run over stdio.

### Does it need API keys?

The registry entry lists no environment variables, so none are required.

### Does it make network calls?

The registry entry says it works offline.

### Is Xml MCP free?

Yes. Xml MCP is open source, so you can use and self-host it for free.

### How do I add Xml MCP to Claude Code?

Run this command in your terminal: claude mcp add xml-mcp -- npx -y @mrfentmen/xml-mcp

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/xml-mcp
