mcp_server_auditor__scan_directory
Recursively scan an MCP server codebase to find insecure tool-definition patterns; skips node_modules, .git, dist, and binary files.
Instructions
Recursively scan an MCP server's codebase for insecure tool-definition patterns. Automatically skips node_modules, .git, dist, and binary files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the directory to scan | |
| exclude | No | Skip files/dirs whose path contains one of these strings | |
| include | No | Only scan files whose path contains one of these strings (e.g. [".ts", "src/tools"]) | |
| maxFiles | No | Maximum number of files to scan (default: 5000) |