# Glob Pattern Tester — MCP tool `findutils:glob_pattern_tester`

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.

- Category: developer
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/glob-pattern-tester/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/glob-pattern-tester/
- Same tool on the other surface: https://findutils.com/api/glob-pattern-tester/

## Connect

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Claude Desktop (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}
```

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "glob_pattern_tester",
      "arguments": {
        "pattern": "**/*.ts",
        "files": [
          "src/index.ts",
          "README.md"
        ]
      }
    }
  }'
```

## 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):

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

## Also a REST endpoint

```bash
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
curl https://api.findutils.com/api/tools/glob-pattern-tester
```

Full REST reference: https://findutils.com/api/glob-pattern-tester/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
