JSON MCP

by VadimNastoyashchy

14 stars
367 downloads
Not rated
GitHub Website

About

MCP server empowers LLMs to interact with JSON files efficiently. With JSON MCP, you can split, merge, etc.

Details

Author
VadimNastoyashchy
GitHub stars
14
Downloads
367
Categories
Developer Tools, Community, Other

- Fast and lightweight operation
- LLM‑friendly, natural‑language tool interface
- Split a JSON file into multiple parts
- Merge several JSON files into one
- Find specific data within JSON files
- Validate JSON content against conditions

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name JSON MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install JSON MCP globally (npm install -g json-mcp-server@latest) and run json-mcp-server, or use npx json-mcp-server@latest. Configure it as an MCP server in VS Code (via User Settings JSON) or in Claude Desktop (via Smithery CLI). Once connected, invoke the tools split or merge by providing file or folder paths in your prompts.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "json mcp": {
            "json-mcp-server": {
                "command": "npx",
                "args": [
                    "json-mcp-server@latest"
                ]
            }
        }
    }
}

McpServers

{
    "json-mcp-server": {
        "command": "npx",
        "args": [
            "json-mcp-server@latest"
        ]
    }
}

JSON MCP

Smithery Badge

The Model Context Protocol (MCP) server empowers LLMs to efficiently interact with JSON files. With JSON MCP, you can split, merge, and find specific data, validate within JSON files based on defined conditions.

---

<a href="https://glama.ai/mcp/servers/@VadimNastoyashchy/json-mcp">

</a>

---

🌟 Key Features

Fast and lightweight
LLM-friendly functionality

---

🎥 Demo

Below is a demo showcasing the split functionality:

Demo: Split JSON

---

🔧 Use Cases (Tools)

1. split

Split a JSON file into a specified number of objects.

> Note: The file path must be provided.

Prompt Example:

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

2. merge

Merge JSON files into a one JSON file

> Note: The folder path should be provided

Prompt Example:

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

---

⚙️ Configuration

Install in VS Code

VS Code Manual Configuration

To configure the JSON MCP server manually in VS Code, update the User Settings (JSON) file:

{
  "mcp": {
    "servers": {
      "json-mcp-server": {
        "command": "npx",
        "args": ["json-mcp-server@latest"]
      }
    }
  }
}

Installation in VS Code

You can install the JSON MCP server using the VS Code CLI:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.