MCP Tracker
Records and displays MCP-related REST API requests made to your WordPress site.
Install in
MCP Tracker is an admin-only WordPress plugin designed to monitor and log MCP (Model Context Protocol) requests made to the Abilities API on your WordPress site.
If you are using the Abilities API to power AI-driven tools or MCP-based integrations, MCP Tracker gives you complete visibility into how those tools interact with your REST endpoints — without modifying or interfering with request flow.
The plugin automatically detects MCP requests (identified via the Mcp-Session-Id header), records detailed request and response data, and presents everything in a structured, filterable interface inside WordPress Admin.
Whether you’re debugging Abilities API integrations, auditing MCP tool usage, or analyzing response behavior, MCP Tracker provides the observability layer you need.
Features
- Automatic MCP Detection
Identifies MCP requests related to Abilities API using theMcp-Session-Idheader. - Comprehensive Logging
Logs the route, server, ability, HTTP method, MCP method, user, session ID, request payload, response status, response body and execution status (Success / Failed / Unknown). Request headers are not stored. - User Attribution
Displays which WordPress user (or guest) initiated the MCP request. - Advanced Filtering
Filter logs by date range, ability, user and server for targeted analysis. - Auto Cleanup
Optionally delete logs older than a set number of days (default 30) with a daily scheduled cleanup. - Formatted JSON Inspection
View complete request and response data in a structured format. - MCP Activity Ability
Registers themcp-tracker/get-activityability on MCP Tracker’s own MCP server (/wp-json/mcp-tracker/mcp), so an AI client can read the log. Administrators only. - Privacy Focused
All logs remain stored in your WordPress database. No external transmission or telemetry. - Performance Optimized
Efficient logging using native WordPress REST hooks and optimized queries.
Use Cases
- Debug Abilities API integrations
- Monitor MCP-based AI tool usage
- Analyze REST response patterns
- Audit MCP activity on production sites
- Investigate failed or unexpected tool executions
Technical Details
- Uses WordPress REST API hooks for non-intrusive logging
- Custom indexed database table for efficient storage
- Admin-only access with capability checks
- Nonce verification for secure actions
- Prepared SQL statements for database safety
- Self-healing table creation on activation
Written by Joobi from the project's own listing. See the source page
1.0.2
- Security: Request headers are no longer stored. Headers saved by earlier versions are removed on update.
- Fixed: Tool calls that fail are now shown as Failed. This covers abilities that return an error (
isError, previously shown as Success) and JSON-RPC error replies such as “tool not found” (previously shown as Unknown). - Tested with WordPress 7.1 and MCP Adapter 0.7.2.
1.0.1
- Added: URL-based filtering by MCP server slug (e.g.
?server=mcp-adapter-default-server) for easier integration with other plugins - Improved: Redesigned filter header with a cleaner action bar layout
- Improved: Resized and respaced action bar buttons (Delete, Settings, Filter, Reset) for better visual balance
1.0.0
- Initial release
- MCP request detection and logging
- Filtering by date, tool, and user
- Detailed request viewer
Follow this listing's changes (Atom feed)