MCP.so
登录

ajv-validator-mcp-server

@mallanisp

关于 ajv-validator-mcp-server

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

mallanisp

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

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

概览

What is ajv-validator-mcp-server?

A minimal MCP server that validates JSON data against JSON Schema using the AJV library, with support for extended format validation via ajv-formats. Designed for integration with any MCP-compatible client or tool.

How to use ajv-validator-mcp-server?

Install dependencies, compile TypeScript sources, then copy and edit the example configuration file to specify the Node.js binary and the built server entrypoint. Start the server with npm start or run the compiled file directly. For interactive testing, use the MCP SDK Inspector.

Key features of ajv-validator-mcp-server

  • Exposes a single ajv-validator MCP tool.
  • Validates JSON data against a provided JSON Schema.
  • Integrates ajv-formats for extended format validation.
  • Written in TypeScript with compiled output in dist/.
  • Compatible with the MCP SDK Inspector for interactive testing.

Use cases of ajv-validator-mcp-server

  • Validate JSON data in an MCP-enabled client or agent.
  • Ensure API payloads conform to required JSON Schemas.
  • Debug schema validations interactively via the MCP Inspector.
  • Embed schema validation in a larger MCP-based workflow.

FAQ from ajv-validator-mcp-server

What does the ajv-validator tool do?

It accepts a JSON Schema as the schema parameter and JSON data as the data parameter, then returns a validation success message or a list of errors.

How can I test the server without a full MCP client?

Run npm run inspector to launch the MCP SDK Inspector, which connects to your server and lets you invoke the ajv-validator tool interactively, inspect parameters, and view responses.

What are the main dependencies of the server?

The server depends on AJV for schema validation, ajv-formats for format support, and the MCP SDK for protocol communication.

How do I configure the server for my environment?

Copy the example configuration file provided in the project, edit it to point to your Node.js binary and the built server entrypoint (e.g., dist/index.js), then start the server.

Does the server require a specific runtime?

Yes, it requires Node.js to run the compiled JavaScript and the npm scripts for building and starting.

评论

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