MCP Tracker
·
Records and displays MCP-related REST API requests made to your WordPress site.
MCP Tracker is an admin-only WordPress plugin that helps administrators monitor and understand MCP (Model Context Protocol) related REST API requests made to their WordPress site.
Features
- Automatic Detection: Automatically detects MCP requests by identifying the
Mcp-Session-Idheader - Comprehensive Logging: Records request details including route, method, headers, and response data
- User Tracking: Shows which WordPress user triggered each request (or identifies guest requests)
- Advanced Filtering: Filter requests by date range, tool name, and user
- Detailed View: View complete request headers and response bodies in formatted JSON
- Privacy Focused: All data stays on your server – no external transmission
- Performance Optimized: Minimal impact on site performance with efficient database queries
Use Cases
- Monitor MCP tool usage on your WordPress site
- Debug MCP integration issues
- Understand which tools are being called and when
- Track API response patterns
- Audit MCP-related activity
Technical Details
- Uses WordPress REST API hooks for non-intrusive logging
- Custom database table with proper indexing
- Secure admin-only access with capability checks
- Nonce verification for all admin actions
- Prepared SQL statements for security
- Self-healing database table creation