Skip to main content
Glama
kolodny
by kolodny

jq-mcp

npm version npm downloads

An MCP server that exposes a single tool, jq, for running jq filters against JSON files on disk.

Use

Add to your MCP client config:

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

The jq tool takes file and query and returns the stdout of jq <query> <file>. By default it can read files under the server's working directory and /tmp.

Related MCP server: mcp-cli-catalog

Advanced: custom allowlist

Set ALLOWED_PATHS (comma-separated directories) in the server's env to override the default <cwd>,/tmp:

"env": { "ALLOWED_PATHS": "/path/to/allow,/another/path" }

Path matching normalizes the input before comparing, so:

  • .. segments cannot escape an allowed directory.

  • Sibling directories that share a string prefix (e.g. /foo/bar-evil vs /foo/bar) are rejected — the check is path-boundary aware, not a naive startsWith.

Develop

npm test     # node:test suite
npm run build
Install Server
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Latest Blog Posts

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/kolodny/jq-mcp'

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