MCP Logs
AI agents talk to WordPress sites directly now. Claude, ChatGPT, Cursor, and a growing list of MCP clients can connect to your site, read content, place orders, edit posts, or call any custom tool you expose. The Model Context Protocol (MCP) is the open standard that makes this possible. The problem is that by default you cannot see any of it. Requests arrive, things change, and there is no record of what an agent did, when it did it, or which user it acted as. MCP Logs writes a row for every MCP request the moment it hits your site. You get the route, the ability that was called, the user it acted as, the request body, the response, and whether it succeeded. All of it is browsable in a React admin page built with @wordpress/components, so it looks and behaves like the rest of WordPress. Version 1.1.0 adds the other half: detection rules that watch the traffic as it arrives, email alerts when one trips, and a kill switch that stops all MCP access in one click. A log you can actually search Filter by date range, ability name, and user. Sort any column, set page size between 10 and 500, and run full-text search across stored request and response bodies. Click a row to open the request and response in collapsible panels, copy either to your clipboard, or trace a single agent session end to end. Export the current view to CSV when you need to hand findings to someone else. Detection rules that run on every request Three rules evaluate after each logged request: Request velocity per session. Catches an agent stuck in a loop. Destructive tool use. Watches a list of abilities you nominate. It can populate that list for you by scanning previously seen tool names for delete, remove, and drop. Error storms. Catches an integration that has started failing. Each rule has its own enable toggle, threshold, time window, severity, and auto-disable setting. Detected events land in a Security Events tab with filters, stat cards, CSV export, and a per-event “mark as reviewed” so your queue reflects what you have already handled. Open any event and Session Replay steps through the full request timeline for that MCP session. Alerts arrive as HTML email stating whether the offending request ran or was blocked, with a one-click, nonce-protected link to disable MCP access. A 15-minute cooldown per rule and per session stops an alert storm. There is an optional daily digest, separate recipient lists for alerts and digests, and a test button so you can confirm delivery before you rely on it. A kill switch that keeps the record Turn off all MCP access from the admin screen, or let a detection rule trip it for you. Blocked requests are still logged before they are rejected, so the audit trail stays complete while access is off. Callers get a 503 explaining why access was disabled and when. A site-wide admin notice stays up until you turn it back on. Works with whichever MCP server you run MCP Logs is not an MCP server for your site and does not expose your content to agents. It detects requests by the Mcp-Session-Id header, which is part of the MCP transport spec, so traffic from any compliant server lands in the same table. If your site runs more than one, you get one log instead of several. Built for both halves of the audience If you run the site: install, activate, and open Tools then MCP Logs. There is no setup screen and no configuration. Logging starts the moment an MCP client makes a request. If you build on it: there is a full REST API covering every admin feature, authenticated via WordPress Application Passwords or WooCommerce API keys. The plugin is also MCP-aware itself, registering a server with ten abilities so an agent can introspect its own activity log. Source ships under src/ and builds with npm run build. Why log deletion is not exposed to AI agents The plugin registers ten MCP abilities. The two log-deletion abilities, clear-old-logs and clear-all-logs, are deliberately left out of that set. The same tool set reads log content that an untrusted caller can influence. Pairing that with a one-call wipe would let planted text steer an administrator’s agent into erasing the audit trail. Deletion stays available in the admin screen and over REST, where a human is doing it. Sites that accept the trade-off can re-add the abilities with the alfmcp_mcp_server_abilities filter. REST API Eighteen endpoints under /wp-json/activity-log-for-mcp/v1/: GET /requests for a list with filters, sort, and pagination GET /stats for totals, success rate, and calls per ability GET /sessions/{id} for every request in a session, in order GET /search for full-text search across routes, abilities, and bodies GET /errors for recent failed executions and HTTP errors GET /tool-performance for per-ability call count, error rate, and unique users GET /filters for distinct ability names and users GET /export-csv for a server-side streamed CSV download DELETE /requests to clear all logs DELETE /retention to delete logs older than a given date GET /security-events for detected events with filters and pagination GET /security-events/stats for alert counts, active sessions, and top rule over 7 days GET /security-events/export-csv for a CSV of detected events PUT /security-events/{id}/acknowledge to mark an event reviewed DELETE /security-events/clear-acknowledged to remove reviewed events GET|PUT /security-settings to read or update detection and alerting settings POST /security-settings/test-alert to send a test alert email MCP abilities The plugin registers an MCP server (activity-log-for-mcp-server) with ten abilities: get-activity for paginated log retrieval with filters get-stats for summary metrics with an optional date range get-activity-by-session for a full session trace, with optional body exclusion for lighter payloads search-activity for full-text search across stored requests and responses analyze-errors for recent errors with full details get-tool-performance for per-ability performance metrics get-security-events for detected events with filters get-security-stats for alert counts, active sessions, and top rule over 7 days acknowledge-event to mark a security event reviewed test-alert to send a test alert email Privacy and data handling Everything stays in your WordPress database. Logs live in {prefix}alfmcp_requests and detected events in {prefix}alfmcp_security_events. There is no telemetry, no third-party call, and no external dependency at runtime. Credential-bearing headers including Authorization, Cookie, and X-Api-Key are replaced with [redacted] before anything is written, so the log never becomes a store of replayable credentials. Add your own header names with the alfmcp_sensitive_headers filter. Request and response bodies are stored up to 64 KB each and truncated beyond that, adjustable with alfmcp_max_body_bytes. You control retention and can clear everything from the admin screen or over REST. Disclaimer MCP Logs is not affiliated with, endorsed by, or sponsored by any AI provider or the Model Context Protocol project. “MCP” and “Model Context Protocol” are referenced solely to describe the open protocol that this plugin observes. Privacy Policy MCP Logs records REST API requests that contain the Mcp-Session-Id header. Logged data includes request routes, methods, headers, bodies, response data, user IDs, and timestamps. Credential-bearing headers are redacted before storage. All data is stored in your WordPress database and is never transmitted to external services.
Top keywords
- mcp21×1.73%
- request13×1.07%
- abilities9×0.74%
- events8×0.66%
- logs8×0.66%
- requests8×0.66%
- log7×0.58%
- session7×0.58%
- admin6×0.49%
- filters6×0.49%
- rest6×0.49%
- server6×0.49%
DiagnoSEO – Fast and Automated On-page SEO
DiagnoSEO is a performance-first SEO plugin for WordPress users who want full control without bloat. DiagnoSEO is the lowest memory WordPress SEO plugin, confirmed by independent performance tests on WP Hive and Plugin Tests. Built for speed, scalability, and real SEO work, DiagnoSEO stays fast even on large and complex websites. It uses minimal memory, optimized code (less than 100KB of a ZIP file), and a clean architecture designed with Core Web Vitals in mind. This is not a plugin that adds features at the cost of performance. DiagnoSEO is built for websites where speed, control, and SEO quality actually matter. You get predictable performance backed by 17+ years of real-world SEO experience, and a plugin especially valued by experienced SEO specialists who need advanced SEO control, predictable behavior, and a clean interface. DiagnoSEO is also part of the DiagnoSEO SEO Software Suite, an AI-powered SEO platform with over 50 tools for audits, keyword research, competitor analysis, backlinks, and AI-assisted content workflows. The WordPress plugin works as a natural extension of this ecosystem. Who is DiagnoSEO for? 👤 DiagnoSEO is designed for users who want ease of use, control, and performance: Beginners who want clear and practical SEO guidance Bloggers and content creators Small and medium-sized businesses WooCommerce store owners Developers and agencies SEO professionals who care about performance and advanced SEO control The interface is clean and focused. Advanced options are available when needed, without overwhelming the user. Why choose DiagnoSEO? ⭐ Most SEO plugins try to do everything. DiagnoSEO focuses on what actually moves the needle. Instead of bloated dashboards and unnecessary features, DiagnoSEO helps you improve content quality, maintain full control over SEO signals, keep your website fast, and scale SEO safely as your site grows. It is a modern, performance-focused SEO plugin for websites that need more than basic SEO tweaks. DiagnoSEO was named a finalist at the European Search Awards 2025 in two major categories: Best SEO Software Suite and Best Software Innovation. This industry recognition underscores its innovation and effectiveness. Core SEO Features (Free) Custom meta titles and meta descriptions Meta tag templates Google search snippet preview Meta robots control Custom canonical URLs Advanced Schema.org support Breadcrumbs with HTML and Schema Open Graph metadata and social previews XML sitemap Optimization for multiple related keywords SEO checkpoints and actionable on-page recommendations Content analyzer with keyword placement checks Live SEO score while editing Redirect attachment pages to image files Easy insertion of analytics and tracking codes Fully compatible with Multi Premium WordPress Theme All features are built with performance and usability in mind. WordPress SEO Audit & Checker 🔍 See your SEO score instantly Find error-level issues hurting your visibility Discover quick SEO wins you can fix fast Get clear priorities on what to fix first Check posts, pages, products, and key SEO settings automatically in seconds DiagnoSEO also includes a built-in WordPress SEO Audit & Checker that helps you quickly review important on-page and site-wide SEO issues directly inside WP admin. It analyzes metadata, content, structure, links, images, accessibility, schema, WooCommerce products, and product categories using WordPress and DiagnoSEO plugin data only, so you get fast, actionable SEO insights in a lightweight workflow. Unique Pro SEO Features 🚀 DiagnoSEO Pro includes advanced SEO features rarely found in other SEO plugins. For a detailed feature comparison with other popular SEO plugins, see: Yoast vs Rank Math vs DiagnoSEO. Advanced Schema, E-E-A-T & SERP Enhancements ReviewedBy schema support for stronger E-E-A-T signals Post rating with stars and schema for higher click-through rates in SERPs SameAs schema support for better social media and brand entity connections LocalBusiness schema support Multiple Schema.org types per page Advanced Internal Linking & Content Structure Anchor text control in post lists without changing H1 for better SEO and UX Affiliate deeplink hider – a safer alternative to rel=”nofollow” that protects internal link equity and prevents link juice leaks Automatic table of contents for improved UX and internal linking SEO Categories widget for better internal linking of nested categories Advanced SEO Control & Privacy Advanced content quality checkpoints for better SEO audits XML sitemap with customizable filename for better privacy Meta referrer support for privacy and analytics control Performance-focused advanced options for better SEO, UX, and conversions These features are designed to solve real SEO problems, not to inflate feature lists. More Pro SEO Features 🔥 AI, Automation & Content Intelligence AI-powered meta title and meta description generator AI-powered comments generator Unlocked useful content quality and SEO checkpoints Related keyword suggestions based on semantics Internal linking suggestions Advanced SEO Management & Indexing Redirection manager with 301 and 302 redirects IndexNow support for super-fast indexing in Bing and Yandex Option to change all external links to nofollow (Multisite supported) Google News XML sitemap HTML sitemap block Content, UX & Visibility Enhancements Automatic table of contents and Table of Contents block Related & Featured posts widget Featured posts widget WooCommerce & Advanced Website SEO Advanced WooCommerce SEO metadata SEO Categories widget for WooCommerce DiagnoSEO SEO Software Suite Access DiagnoSEO Pro extends WordPress SEO with access to professional SEO tools and workflows beyond the WordPress dashboard. Access to professional SEO tools from the DiagnoSEO All-in-One SEO Software Suite Support for SEO audits, keyword research, competitor analysis, backlinks, and content workflows Website crawl tool access (e.g. 404 detects and 20 more factors) Access to super detailed and advanced SEO Checker tool (200+ factors) Access to competitors analysis SEO tool (using AI and real search data) Designed for SEO specialists, agencies, and teams managing SEO beyond WordPress Support & Professional Use Dedicated premium SEO support Read full features list and details AI-Powered SEO (Pro) 🤖🔥 AI-Assisted Metadata & Content Support DiagnoSEO Pro uses the OpenAI API to generate or improve: Meta titles Meta descriptions Contextual comments for posts Metadata are generated based on SEO best practices. AI tools are designed to save time, support consistent SEO workflows, and help maintain content quality at scale. Easy Migration 🔄 Switching to DiagnoSEO is simple and safe. You can import SEO data from other popular SEO plugins (Yoast SEO, Rank Math, SEOPress, and many more) with no data loss and no SEO risk. Why switch to DiagnoSEO? 🚀 If your current SEO setup feels slow, bloated, overly complex, or limiting in advanced SEO control, DiagnoSEO gives you back speed, clarity, and full control without compromising performance. Optimize smarter. Stay fast. Stay in control. Switch to DiagnoSEO and experience performance-first SEO for WordPress.