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.

コメント

「その他」の他のコンテンツ