Glob Pattern Tester

Glob Pattern Tester MCP Connector for Claude

A+

Test whether a file path matches a glob pattern using the same algorithm used by npm and git. 130M+ weekly downloads.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

When a DevOps agent writes .gitignore rules or CI pipeline includes, it cannot guess whether src/**/*.ts matches src/utils/helper.ts. This MCP provides the definitive answer.

The Superpowers

  • Exact Match: Uses minimatch, the same engine behind npm, to evaluate glob patterns deterministically.
  • All Patterns: Supports *, **, ?, [abc], {a,b}, and negation !.
pattern-matchingfile-systemautomationregexpath-validationdevops-utilities

1 tools expose this connector's capabilities to your AI agent.

test_glob

gitignore rules, CI include/exclude patterns, or deploy filters. Pass the glob pattern (e.g. "src/**/*.ts") and the file path to test (e.g. "src/utils/helper.ts"). The engine returns a boolean match result using the exact same algorithm used by npm and git. Tests whether a file path matches a glob pattern using minimatch (130M+ weekly downloads). Essential for .gitignore, CI pipeline, and deploy rule validation

See how to talk to your AI agent using Glob Pattern Tester.

Does the pattern src/**/*.ts match the file src/utils/helper.ts?

Glob Match Result: matches = true

Check if *.json matches package.json in the root.

Glob Match Result: matches = true

Will !dist/** exclude the file dist/bundle.js?

Glob Match Result: matches = false (negated)

Yes. minimatch is the glob engine used by npm itself and follows the same POSIX glob specification that git uses for .gitignore.

Related Connectors