Skip to main content
Glama

JSON 多协议

锻造徽章

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



🌟 主要特点

快速、轻量
LLM 友好功能


Related MCP server: mcp-serverTest

🎥 演示

下面是展示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
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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