Glob Pattern Tester

Developer REST API MCP

Returns which file paths match a glob pattern and which do not. Supports * and ** wildcards, ? single characters, [abc] character classes, {a,b} brace expansion and a leading ! for negation. A pattern without a slash also matches against the file basename.

This page documents the HTTP endpoint POST /api/tools/glob-pattern-tester/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/glob-pattern-tester/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/glob-pattern-tester/execute \
  -H "Content-Type: application/json" \
  -d '{
    "pattern": "**/*.ts",
    "files": [
      "src/index.ts",
      "README.md"
    ]
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/glob-pattern-tester

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
pattern string yes The glob pattern to test, e.g. "src/**/*.ts" or "*.{jpg,png}".
files array yes File paths to test. An array of strings (a newline-separated string is also accepted).

Example arguments (verified)

{
  "pattern": "**/*.ts",
  "files": [
    "src/index.ts",
    "README.md"
  ]
}

Also an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:glob_pattern_tester after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Glob Pattern Tester →

More Developer tools