Json Forge Mcp

io.github.ryudi84由 GitHub 账号 ryudi84 发布v1.0.1更新于 Oct 24, 2026

JSON processing — format, validate, diff, convert, minify, query, analyze

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

本地 MCP 服务器,为助手提供七个 JSON 工具:格式化、校验、对比、转换、压缩、查询与分析 JSON 数据。

可以做什么
  • 格式化与压缩 JSON,压缩时返回压缩统计
  • 校验 JSON 并给出详细的结构报告
  • 比较两个 JSON 对象并显示差异
  • 将 JSON 转换为 YAML、CSV、XML、TOML 或 TypeScript
  • 用点号路径提取数据,并分析类型、深度、键数量、大小与结构树
适用场景
适合在处理 JSON 数据、配置文件或 API 响应时使用,让助手在对话中直接整理、检查、比较版本、提取字段或转换成其他格式。
运行要求
以本地 stdio 进程运行,通常通过 npx json-forge-mcp 启动,需要 Node.js 与 npm。未声明需要账号、API 密钥或环境变量。
安装前请注意
README 示例中的工具名(json_format、json_diff)与工具表中的名称(format_json、diff_json)不一致,实际工具名可能与文档不符。传入的 JSON 由本地进程处理,未说明会向第三方传输数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Json Forge Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

json-forge-mcp

[npm version] [npm downloads] [License: MIT] [MCP]

Swiss Army knife for JSON. Format, validate, diff, query, convert.

7 powerful JSON tools in one server. Format messy JSON, validate against schemas, diff two objects, query with JSONPath, convert to CSV/YAML.

Quick Start

bash
npx json-forge-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

json
{  "mcpServers": {    "json": {      "command": "npx",      "args": ["-y", "json-forge-mcp"]    }  }}

Tools (7)

ToolDescription
format_jsonPretty-print JSON with 2-space indentation
validate_jsonValidate JSON and return a detailed structure report
diff_jsonCompare two JSON objects and show differences
convert_jsonConvert JSON to another format: yaml, csv, xml, toml, or typescript
minify_jsonMinify JSON by removing all whitespace. Returns minified output and compression stats.
query_jsonExtract data from JSON using dot-notation path (e.g.
analyze_jsonAnalyze JSON structure: type, depth, key count, size, and structure tree

Examples

Format JSON:

json
{  "tool": "json_format",  "arguments": {"json": "{\"a\":1,\"b\":[2,3]}"}}

Diff objects:

json
{  "tool": "json_diff",  "arguments": {"json1": "{\"a\":1}", "json2": "{\"a\":2,\"b\":3}"}}

Build from Source

bash
git clone https://github.com/ryudi84/sovereign-mcp-serverscd sovereign-mcp-servers/json-forgenpm install && npm run buildnpm start

Part of the Sovereign MCP Suite

This is one of 34 MCP servers with 121 tools built by Sovereign.

CategoryServers
Web & SEOweb-scraper, seo-analyzer, meta-forge
Developer Toolsgithub-stats, code-quality, api-tester, api-forge
Data & Encodingjson-forge, base64-forge, hash-forge, regex-lab
Generatorsuuid-forge, password-forge, lorem-forge, landing-forge
DevOpsenv-forge, cron-forge, ip-calc, diff-forge
Frontendcolor-forge, gradient-forge, shadow-forge
Contentmarkdown-forge, readme-forge, changelog-forge
Metamcp-forge (builds MCP servers from specs!)

License

MIT


Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!

来源:json-forge/README.md,提交 da6bbcc

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。