MCP.so
登录
J

Jsonschema Validator MCP Server

@EienWolf

基本信息

分类

其他

传输方式

stdio

作者

EienWolf

提交者

Miguel Angel

关于 Jsonschema Validator MCP Server

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.

Jsonschema Validator MCP Server 配置

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

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

Jsonschema Validator MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

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.

3

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.

4

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.

5

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 服务器