Skip to main content
Glama

Filesystem MCP Server

by rawr-ai

json_get_value

Retrieve specific values from JSON files using field paths and dot notation, including nested properties and array indices. Requires file path and byte size limit, ensuring secure access within permitted directories.

Instructions

Get a specific value from a JSON file using a field path. Supports dot notation for accessing nested properties and array indices. Requires maxBytes parameter (default 10KB). Returns the value directly, properly formatted. The path must be within allowed directories.

Input Schema

NameRequiredDescriptionDefault
fieldYesPath to the field to retrieve (e.g., "user.address.city" or "items[0].name")
maxBytesYesMaximum bytes to read from the file. Must be a positive integer. Handler default: 10KB.
pathYesPath to the JSON file

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "field": { "description": "Path to the field to retrieve (e.g., \"user.address.city\" or \"items[0].name\")", "type": "string" }, "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", "type": "string" } }, "required": [ "path", "field", "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