Documentation
oxml-mcp — Model Context Protocol Server
Seamless XML capabilities for Claude Desktop, Cursor, Gemini CLI, and autonomous AI coding agents.
Agent Tools
oxml-mcp exposes five high-level, structured tools to LLMs:
xml_check: Fast syntax and well-formedness diagnostics without building an in-memory tree.xml_format: Format, indent (customizable spaces), or minify XML with empty-element style controls (self-closing,spaced,expanded).xml_inspect: Structural inspection returning root name, depth, element frequencies, and declared namespaces.xml_query: Evaluate XPath 1.0 expressions and return matching string values or counts.xml_validate: Validate documents against W3C XML Schema (XSD) definitions with exact line and column diagnostics.
Configuration
Add oxml-mcp to your claude_desktop_config.json:
Transports
oxml-mcp supports multiple production transport protocols:
- Standard I/O (
stdio): Default for local subprocess invocation in desktop clients. - Server-Sent Events (
sse): HTTP streaming for remote agent clusters and web clients. - Streamable WebSockets: Low-latency bidirectional RPC communication.