MCP.so
登录
J

Jsonschema Validator Mcp

@EienWolf

关于 Jsonschema Validator Mcp

A comprehensive JSON Schema validation server implementing the Model Context Protocol (MCP) with support for JSON Schema Draft 2020-12, external references, schema management, and real-time streaming validation.

基本信息

分类

其他

传输方式

stdio

发布者

EienWolf

提交者

Miguel Angel

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "jsonschema-validator": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "./schemas:/app/.schemas",
        "jsonschema-mcp-server:1.0.0"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Jsonschema Validator Mcp?

Jsonschema Validator Mcp is a comprehensive JSON Schema validation server implementing the Model Context Protocol (MCP). It supports JSON Schema Draft 2020-12, external references, schema management, and real-time streaming validation, designed for AI assistants and developers.

How to use Jsonschema Validator Mcp?

Install via pip after cloning the repository, then run mcp_server.py for stdio communication with AI assistants or sse_server.py for web clients. Configure it for Claude Desktop or GitHub Copilot by adding the server to their MCP configuration files. Optional PostgreSQL database with automatic local file fallback. Docker deployment is also available.

Key features of Jsonschema Validator Mcp

  • Full JSON Schema Draft 2020-12 support
  • Automatic external reference resolution (HTTP, PostgreSQL, local files)
  • Complete CRUD schema management with versioning
  • Dual server architecture: MCP stdio and SSE web server
  • Multi-source data storage with PostgreSQL and file fallback
  • Intelligent JSON Schema generation from sample data

Use cases of Jsonschema Validator Mcp

  • Validate user registration data against a stored schema in an AI assistant
  • Manage a collection of API response schemas with versioning and updates
  • Generate a JSON Schema from example data and save it for reuse
  • Perform real-time validation of streaming data through the SSE web interface
  • Validate JSON data against an externally referenced schema via HTTP

FAQ from Jsonschema Validator Mcp

What does the dual server architecture do?

The MCP server uses stdio for communication with AI assistants like Claude and Copilot, while the SSE server provides a web interface for real-time streaming validation for web clients.

Can the server run without a database?

Yes. If PostgreSQL is unavailable, the server automatically falls back to local file storage for schema collections, providing file-only mode without any database configuration.

What transports are supported?

The server supports stdio for MCP communication and Server-Sent Events (SSE) for the web client. There is no other transport mentioned.

How do I add a new schema?

Use the add_update_schema tool with a schema_id (e.g., user/profile.json) and the schema content as a JSON string. Optionally set update_if_exists to true to overwrite an existing schema.

Is there protection against accidental deletion?

Yes. The delete_schema tool requires an explicit confirm_deletion boolean parameter set to true before any schema is removed, preventing accidental deletions.

评论

其他 分类下的更多 MCP 服务器