Skip to main content
Glama

Filesystem MCP Server

by rawr-ai

json_query

Extract and query JSON data using JSONPath expressions to locate values, arrays, and nested structures within specified directories and file size limits.

Instructions

Query JSON data using JSONPath expressions. Provides powerful search capabilities for selecting data within JSON structures. Supports standard JSONPath syntax for finding values, arrays, and nested structures. Requires maxBytes parameter (default 10KB). The path must be within allowed directories.

Input Schema

NameRequiredDescriptionDefault
maxBytesYesMaximum bytes to read from the file. Must be a positive integer. Handler default: 10KB.
pathYesPath to the JSON file to query
queryYesJSONPath expression to execute against the JSON data

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "maxBytes": { "description": "Maximum bytes to read from the file. Must be a positive integer. Handler default: 10KB.", "exclusiveMinimum": 0, "type": "integer" }, "path": { "description": "Path to the JSON file to query", "type": "string" }, "query": { "description": "JSONPath expression to execute against the JSON data", "type": "string" } }, "required": [ "path", "query", "maxBytes" ], "type": "object" }

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/rawr-ai/mcp-filesystem'

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