The MCP JSON Maker server is a comprehensive JSON management tool that enables AI to create, manage, batch generate, and export JSON data and templates with high performance and precision.
Complete CRUD Operations: Perform full create, read, update, and delete operations on JSON data and templates with advanced filtering, sorting, and statistics capabilities.
Node-Level Editing: Modify specific parts of JSON documents using precise paths (e.g.,
users.0.name,config.database.0.host) with operations like set, add, remove, and update.Batch JSON Generation: Generate large quantities of JSON data (up to 10,000 items at 1,000 items/second) using templates, dynamic rules, data type definitions, constraints, and field variations (e.g.,
{'name': ['张三', '李四']}).Multi-Format Export: Export JSON data to files in JSON, JSONL, or CSV formats with options for pretty printing, custom file paths, and automatic directory creation.
Advanced Features: Template management, rules engine for dynamic generation, data organization by tags/time/size, and millisecond-level search speeds with support for unlimited items.
Developer-Friendly: Detailed input schemas, comprehensive error handling, and debugging information for seamless integration.
Distributed as an npm package (@zb2947244682/mcp-json-maker) that can be installed and run directly via npx for JSON manipulation and generation tasks
🚀 MCP JSON Maker
📖 项目介绍
这是一个强大的 MCP (Model Context Protocol) 工具,专门为AI提供JSON构建、编辑和批量生成能力。它允许AI创建、管理、编辑和批量生成JSON数据,支持多种输出格式和高级规则引擎。
NPM 仓库地址: @zb2947244682/mcp-json-maker
🧠 核心功能
此 MCP 服务提供了完整的JSON管理系统:
🔧 JSON操作工具
item_operations- 通用工具,支持JSON和模板的完整CRUD操作创建、获取、列表、编辑、删除、统计
支持节点级操作(如
users.0.name)智能参数验证和错误提示
📊 批量生成工具
batch_generate_json- 根据模板和规则批量生成JSON数据支持基于现有模板生成
支持规则引擎动态生成
支持数据类型定义、约束条件和变化选项
📁 文件导出工具
export_to_file- 将JSON数据导出到文件支持多种格式:JSON、JSONL、CSV
支持绝对路径和相对路径
支持指定行号插入内容
自动创建目录结构
🚀 使用场景
1. 大模型JSON生成辅助
快速创建标准化的JSON结构
批量生成测试数据
支持复杂的嵌套结构
2. 批量数据处理
根据规则批量生成数据
支持数据变化和约束
高效的数据转换和导出
3. JSON数据编辑和管理
节点级精确编辑
支持数组和对象操作
完整的版本控制
4. 数据格式转换
JSON到CSV转换
JSON到JSONL转换
支持美化输出
⚙️ 配置说明
在 Cursor 中配置
将以下配置添加到您的 Cursor mcp.json 文件中:
通过 npx 直接运行
您可以通过以下命令直接从命令行运行此 MCP 项目:
本地开发配置
如果您在本地开发环境中使用,可以将以下配置添加到您的 Cursor mcp.json 文件中:
📊 数据结构
JSON数据结构
模板数据结构
生成规则结构
🔧 特性
✅ 完整的CRUD操作支持
✅ 节点级精确编辑
✅ 智能批量生成
✅ 多格式文件导出
✅ 规则引擎支持
✅ 模板管理系统
✅ 友好的中文界面
✅ 完善的错误处理
✅ 高性能内存存储
✅ 自动路径处理
📈 性能指标
响应时间: 1-3ms
支持JSON数: 无限制
支持模板数: 无限制
批量生成速度: 1000个/秒
搜索速度: 毫秒级
内存占用: 最小化
🎯 使用示例
创建JSON数据
编辑JSON节点
批量生成JSON
导出到文件
🔍 高级功能
节点路径操作
支持复杂的嵌套路径操作:
简单字段:
"name"嵌套对象:
"user.profile.age"数组元素:
"users.0.name"混合路径:
"config.database.0.host"
编辑操作类型
set- 设置值add- 添加元素(数组操作)remove- 删除值update- 更新对象属性
输出格式支持
JSON - 标准JSON格式,支持美化输出
JSONL - 每行一个JSON对象
CSV - 逗号分隔值(支持扁平结构)
🎯 开发原则
核心原则:少工具,多功能
一个工具完成多种相关操作
参数复用最大化
智能默认值设置
条件参数设计
用户体验优先
详细的参数说明和示例
友好的错误提示和解决建议
完整的操作指导
丰富的调试信息
🔮 未来计划
数据持久化支持
高级规则引擎
语义分析功能
数据导入功能
多用户支持
权限管理
版本控制
协作编辑
🤝 贡献
欢迎提交 Issue 和 Pull Request 来改进这个项目!
📄 许可证
本项目采用 MIT 许可证。
让AI拥有强大的JSON构建和管理能力,构建智能的数据处理系统! 🚀
Related MCP Servers
- AsecurityAlicenseAqualityA server that enhances AI assistants with the ability to update your JSON Resume by analyzing your coding projects, automatically extracting skills and generating professional descriptions.Last updated -3156The Unlicense
- AsecurityAlicenseAqualityEnables AI agents to break down complex tasks into manageable pieces using a structured JSON format with task tracking, context preservation, and progress monitoring capabilities.Last updated -15337MIT License
- -securityFlicense-qualityProvides powerful JSON manipulation tools through Model Context Protocol, enabling complex queries, schema generation, and validation with jq notation and native Node.js operations.Last updated -2
- AsecurityAlicenseAqualityProvides JSON schema generation and filtering tools for LLMs, helping with large JSON files by converting them to TypeScript definitions and extracting specific fields to reduce context size.Last updated -31717MIT License