JSON handling and processing mcp server
Configuration
View docs{
"mcpServers": {
"gongrzhe-json-mcp-server": {
"command": "npx",
"args": [
"@gongrzhe/[email protected]"
]
}
}
}You run a JSON MCP Server to query and manipulate JSON data using standardized tools. This server exposes practical capabilities to extract, transform, and analyze JSON sources, making it easier for you to integrate JSON data workflows with MCP-compatible clients.
Connect to the JSON MCP Server from your client and choose the tools you need to work with JSON data. You can query data sources using JSONPath expressions with extended operations, or filter data based on specific conditions. Use these core actions to fetch, transform, and analyze JSON with minimal boilerplate and a consistent interface.
# Using npx with a specific version (recommended)
npx @gongrzhe/[email protected]
# Install a specific version globally
npm install -g @gongrzhe/[email protected]
# Run after global installation
server-json-mcpThe server can be started either via npx with the exact package version or by running a local build via node if you have a built index. Use the following configurations to enable MCP clients to connect.
{
"json": {
"command": "npx",
"args": [
"@gongrzhe/[email protected]"
]
}
}- All JSONPath expressions start with $ representing the root object. - Array indices are zero-based. - String values in operations should be wrapped in quotes. - Date operations support days, months, and years units. - Numeric operations support basic arithmetic operators (+, -, *, /).
Query JSON data using JSONPath syntax with extended operations. Input requires url and jsonPath.
Filter JSON data using conditions. Input requires url, jsonPath, and condition.