Skip to main content
Glama

json-mcp-server

JSON 多协议

模型上下文协议 (MCP)服务器使LLM能够高效地与 JSON 文件交互。使用 JSON MCP,您可以根据定义的条件在 JSON 文件中拆分合并查找特定数据进行验证



🌟 主要特点

快速、轻量
LLM 友好功能


🎥 演示

下面是展示split功能的演示:

演示:拆分 JSON


🔧 用例(工具)

split

将 JSON 文件拆分为指定数量的对象。

**注意:**必须提供文件路径。

提示示例:

Split JSON file from /Users/json-mcp/tests/merged.json 5 objects per file

2. merge

将 JSON 文件合并为一个 JSON 文件

**注意:**需要提供文件夹路径

提示示例:

Merge json files from /Users/json-mcp/tests

⚙️ 配置

VS Code 手动配置

要在 VS Code 中手动配置 JSON MCP 服务器,请更新**用户设置(JSON)**文件:

{ "mcp": { "servers": { "json-mcp-server": { "command": "npx", "args": ["json-mcp-server@latest"] } } } }
在 VS Code 中安装

您可以使用 VS Code CLI 安装 JSON MCP 服务器:

# For VS Code code --add-mcp '{"name":"json-mcp-server","command":"npx","args": ["json-mcp-server@latest"]}'

安装后,JSON MCP 服务器将可与 VS Code 中的 GitHub Copilot 代理一起使用。

克劳德桌面

要通过Smithery自动为 Claude Desktop 安装 json-mcp:

npx -y @smithery/cli install @VadimNastoyashchy/json-mcp --client claude

⚙️ 安装服务器

全局安装
npm install -g json-mcp-server@latest
全局安装后运行
json-mcp-server
使用最新版本的 npx(推荐)
npx json-mcp-server@latest
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

json-mcp-服务器

  1. 🌟 主要特点
    1. 🎥 演示
      1. 🔧 用例(工具)
        1. split
        2. merge
        3. ⚙️ 配置
        4. ⚙️ 安装服务器

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A beginner-friendly MCP-inspired JSON-RPC server built with Node.js, offering basic client-server interaction through an 'initialize' capabilities handshake and an 'echo' function.
        Last updated -
        3
        JavaScript
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/VadimNastoyashchy/json-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server