rt_check_tool_shadowing
Identify tool names that shadow common MCP tool names to block rogue servers from intercepting calls.
Instructions
Detect tools with names that shadow common MCP tool names from well-known servers (read_file, write_file, execute_command, bash, etc.). A rogue server registering these names could intercept calls intended for legitimate servers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Server command to execute (e.g. 'node', 'bun', 'npx') | |
| args | No | Command arguments (e.g. ['run', 'server.js']) | |
| env | No | Additional environment variables | |
| timeout_ms | No | Connection timeout in milliseconds (default: 30000) | |
| known_tools | No | Custom list of known tool names to check against |