XSD Retrieval MCP Server
Allows retrieving, validating, and analyzing XML Schema Definition (XSD) files, which are used to define the structure of XML documents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@XSD Retrieval MCP Server retrieve the XSD from https://example.com/schema.xsd"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
XSD Retrieval MCP Server
A Model Context Protocol (MCP) server for retrieving and analyzing XSD (XML Schema Definition) files.
Description
This MCP server provides tools for retrieving XSD files from URLs or local paths, validating them, and analyzing their elements. Integrates with any LLM model.
Related MCP server: 0xPdf MCP
Features
The server provides the following MCP tools:
retrieve_xsd - Retrieve an XSD file from a URL or file path
validate_xsd - Validate if the retrieved content is a valid XSD
list_xsd_elements - List elements defined in an XSD
get_mcp_server_info - Get MCP server information including name and version (v1.2.0+)
Installation
npm install
npm run buildUsage
To run the server:
npm startThe server communicates via stdio and can be integrated with any MCP-compatible client.
Tool: retrieve_xsd
Retrieves an XSD file from a URL or local path.
Parameters:
source(string, required): URL or file path to the XSD filesave_path(string, optional): Local path where to save the retrieved XSD file
Tool: validate_xsd
Validates if the provided content is a valid XSD.
Parameters:
xsd_content(string, required): XSD content to validate
Tool: list_xsd_elements
Lists elements defined in an XSD.
Parameters:
xsd_content(string, required): XSD content to analyze
Tool: get_mcp_server_info
Get MCP server information including name and version.
Parameters:
None
Recent Improvements (v1.2.0)
Enhanced XML/XSD parsing with improved regex patterns for better accuracy
Better error handling with graceful degradation for malformed content
New
get_mcp_server_infotool to retrieve server name and versionImproved namespace extraction with proper prefix and URI handling
Enhanced element attribute extraction for both self-closing and container elements
Better deduplication logic for elements with the same name
Added comprehensive test suite with 9 new tests for XML parsing
Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Available Tools
4 toolsget_mcp_server_infoA
Get MCP server information including name and version
Inputs: no named parameters.
list_xsd_elementsB
Extract and list elements defined in an XSD
Inputs: xsd_content (required).
retrieve_xsdC
Retrieve an XSD file from a URL or file path
Inputs: source (required), save_path.
validate_xsdB
Validate if the retrieved content is a valid XSD
Inputs: xsd_content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct function: server info, XSD retrieval, validation, and element listing. There is no overlap in purpose.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., retrieve_xsd, validate_xsd).
With only 4 tools, the server is well-scoped for its purpose of XSD retrieval and basic operations. Each tool is necessary and none is redundant.
Covers retrieval, validation, and element listing. Missing more granular element detail extraction, but the core workflow is complete for a retrieval-focused server.
Related MCP Connectors
PDF, DOCX and image URLs to clean, LLM-ready Markdown or text, with OCR for scanned pages.
Turn URLs, PDFs and DOCX into clean Markdown for agents, plus prompt-injection scanning
Any URL to clean markdown/JSON; PDF, XLSX, CSV, DOCX to text and tables. Free tier for agents.
Convert PDF, DOCX, HTML, and URLs to clean, LLM-ready markdown with tables preserved
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to explore and query OpenAPI specifications, allowing natural language interaction with API endpoints, parameters, request bodies, and response schemas from any OpenAPI 3.x spec.23 npmMIT
- AlicenseAqualityFmaintenanceWraps the 0xPdf HTTP API to enable AI agents to parse PDF invoices and forms into JSON using configurable schemas, with support for synchronous and asynchronous parsing.15MIT
- FlicenseAqualityBmaintenanceEnables LLMs to dereference and query OpenAPI/Swagger specifications, search endpoints and schemas, validate payloads, extract security schemes, and generate production-ready integration code in multiple languages.8-
- AlicenseAqualityBmaintenanceProvides LLM agents with a toolset for reviewing S1000D technical publications, including XML schema validation, cross-reference and applicability checks, skeleton generation, and AI-suggested fixes.1MIT