Skip to main content
Glama
gdorsi44

XSD Retrieval MCP Server

by gdorsi44

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: OpenAPI MCP Server

Features

The server provides the following MCP tools:

  1. retrieve_xsd - Retrieve an XSD file from a URL or file path

  2. validate_xsd - Validate if the retrieved content is a valid XSD

  3. list_xsd_elements - List elements defined in an XSD

  4. get_mcp_server_info - Get MCP server information including name and version (v1.2.0+)

Installation

npm install
npm run build

Usage

To run the server:

npm start

The 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 file

  • save_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_info tool to retrieve server name and version

  • Improved 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

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/AmazingFeature)

  3. Commit your changes (git commit -m 'Add some AmazingFeature')

  4. Push to the branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables LLMs to automatically generate Excel files with custom structures, advanced formatting, multiple sheets, formulas, and charts from JSON schemas, with support for both local and remote deployment.
    1
  • A
    license
    -
    quality
    D
    maintenance
    Provides retrieval-augmented generation (RAG) capabilities by ingesting various document formats into a persistent ChromaDB vector store. It enables semantic search and retrieval using either OpenAI or Ollama embeddings for processing local files, directories, and URLs.
    1
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables LLMs to process, validate, and analyze XBRL financial filings with tools for filing operations, fact extraction, taxonomy exploration, and SEC EDGAR integration.
    46
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Deterministic validation for AI-generated artifacts: JSON Schema, OpenAPI response, SQL syntax.

  • Generate 18 AI readiness files (llms.txt, ai.txt, RAG indexes, schema) for any website.

  • Scan any URL for AI agent readability — Vercel Spec, llmstxt.org, and agent-protocol manifests.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gdorsi44/mcp-xsd-retreival'

If you have feedback or need assistance with the MCP directory API, please join our Discord server