Linux 软件免费装
Banner图

MCP Tracker

开发者 wpvibes
gajendrasingh
更新时间 2026年12月2日 14:06
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

logging debugging rest-api developer-tools mcp

下载

1.0.2 0.0.1 1.0.0 1.0.1

详情介绍:

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 Use Cases Technical Details

安装:

  1. Upload the mcp-tracker folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Navigate to 'MCP Tracker' in the WordPress admin menu
  4. Start monitoring MCP requests!

屏幕截图:

  • Detailed Request Information view displaying MCP method (`tools/call`), Ability name, API endpoint, session ID, and complete JSON request body for Abilities API interactions.
  • Response Information panel with formatted JSON output, including structured content, Ability execution result, and HTTP response status — making debugging and inspection easy.

常见问题:

What is MCP?

MCP (Model Context Protocol) is a protocol for communication between AI models and external tools or services. This plugin helps you monitor MCP-related requests to your WordPress site.

Does this plugin modify REST requests?

No. MCP Tracker only logs requests for monitoring purposes. It does not modify, block, or alter any REST API requests or responses.

Where is the data stored?

All logged data is stored in a custom database table in your WordPress database. No data is sent to external services.

Will this slow down my site?

No. The plugin uses efficient WordPress hooks and database queries with minimal performance impact. Logging only occurs for MCP requests (identified by the Mcp-Session-Id header).

Can I delete old logs?

Yes. Select entries in the log and click the delete (trash) button, or turn on Auto Cleanup: click the settings (gear) button on the MCP Tracker screen, enable Auto Cleanup and choose how many days to keep (default 30). Older logs are then deleted automatically once a day.

Are request headers stored?

No. Since version 1.0.2, request headers are not stored, because they can contain cookies or authorization credentials. Headers saved by earlier versions are removed when you update to 1.0.2.

Can an AI client read the MCP Tracker log?

Yes. MCP Tracker registers the mcp-tracker/get-activity ability on its own MCP server at /wp-json/mcp-tracker/mcp (requires the MCP Adapter plugin). MCP clients see it as the tool mcp-tracker-get-activity. Optional parameters: page, per_page, tool, user_id, date_from and date_to (YYYY-MM-DD). Only users with the manage_options capability can call it.

Can I link to a filtered view of the log?

Yes. Add the server parameter with the server's route namespace, for example wp-admin/admin.php?page=wpvmcpt-requests-list&server=mcp for MCP Adapter servers or &server=mcp-tracker for MCP Tracker's own server.

Who can access the MCP Tracker interface?

Only users with the manage_options capability (typically administrators) can access the MCP Tracker admin interface and the mcp-tracker/get-activity ability.

更新日志:

1.0.2 1.0.1 1.0.0