rt_check_resource_content
Inspect MCP resource content for security threats like poisoning, ANSI escapes, hidden Unicode steganography, and oversized content to prevent context flooding.
Instructions
Read actual content of all MCP resources via readResource() and scan for: poisoning patterns, ANSI escape sequences, hidden Unicode steganography, oversized content (context flooding). Goes beyond URI-based rt_check_resource_exposure by inspecting real content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Additional environment variables for stdio | |
| url | No | MCP server URL for HTTP/SSE transport (e.g. 'http://localhost:3000/mcp') | |
| args | No | Command arguments for stdio (e.g. ['run', 'server.js']) | |
| command | No | Server command for stdio transport (e.g. 'node', 'bun', 'npx') | |
| headers | No | Custom HTTP headers (e.g. { 'Authorization': 'Bearer token' }) | |
| timeout_ms | No | Connection timeout in milliseconds (default: 30000) | |
| max_resources | No | Max resources to read (default: 50) |