The JSON MCP server enables efficient interaction with JSON files, providing lightweight and fast tools for:
- Splitting JSON files: Divide a JSON file into a specified number of objects
- Merging JSON files: Combine multiple JSON files into a single file
- LLM-friendly functionality: Optimized for integration with Large Language Models
- Easy configuration: Can be installed globally or via
npx
, and integrates with VS Code and Claude Desktop
Integrates with GitHub Copilot agent in VS Code to provide JSON manipulation capabilities through the Model Context Protocol.
JSON MCP
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.
🌟 Key Features
✅ Fast and lightweight
✅ LLM-friendly functionality
🎥 Demo
Below is a demo showcasing the split
functionality:
🔧 Use Cases (Tools)
1. split
Split a JSON file into a specified number of objects.
Note: The file path must be provided.
Prompt Example:
2. merge
Merge JSON files into a one JSON file
Note: The folder path should be provided
Prompt Example:
⚙️ Configuration
VS Code Manual Configuration
To configure the JSON MCP server manually in VS Code, update the User Settings (JSON) file:
Installation in VS Code
You can install the JSON MCP server using the VS Code CLI:
After installation, the JSON MCP server will be available for use with your GitHub Copilot agent in VS Code.
Claude Desktop
To install json-mcp for Claude Desktop automatically via Smithery:
⚙️ Installation Server
Install globally
Run after global installation
Using npx with latest version (recommended)
Related MCP Servers
- -securityAlicense-qualityA 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 -3JavaScriptMIT License
- Python
- PythonMIT License
- JavaScriptMIT License