[WordPress] 外掛分享: SharkTrace – AI Agent Monitor, Audit Trail & Activity Log for MCP

首頁 › 外掛目錄 › SharkTrace – AI Agent Monitor, Audit Trail & Activity Log for MCP
WordPress 外掛 SharkTrace – AI Agent Monitor, Audit Trail & Activity Log for MCP 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.7+ PHP 7.4+ v0.2.0 上架:2026-11-24

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SharkTrace – AI Agent Monitor, Audit Trail & Activity Log for MCP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

SharkTrace is an AI agent monitor and AI agent audit trail for WordPress. It shows which AI agents work on your site, what each one changed, where they are working right now, and when two of them collide.
Sites now run several AI agents at once: an MCP client in Claude or ChatGPT, a content bot over the REST API, a WP-CLI automation, a plugin’s built-in AI assistant. SharkTrace tells them apart, keeps an AI agent activity log of everything each one does, and warns you when two agents change the same content.
Use it alongside any WordPress MCP server (MCP Adapter, Abilities API, or a third-party MCP plugin) to get an MCP audit log and full AI agent observability without sending data anywhere. Everything stays in your own database. Nothing is sent to an external service.
What you get

AI agent activity log – every agent write with before/after values, risk level and transport (MCP, REST API, WP-CLI, Abilities API).
Agent profiles – one profile per AI agent with status, trust level and working hours.
Conflict detection – a warning when two AI agents (or an agent and a person) edit the same post.
Live presence board – which agent is working on which page right now.
Session traces – a millisecond waterfall of each agent task and the writes it caused.
WP-CLI logging – every wp command logged with secrets redacted.
Privacy first – local storage only, redacted secrets, hashed IPs, GDPR export and erase.

Attribution you can trust
An event counts as an AI agent only when WordPress can prove it: an Abilities API execution, an Application Password used by a named client, or an explicit X-Agent-Name, X-Agent-Id or X-MCP-Client header on an authenticated REST or WP-CLI request. Anything else is shown as Unknown / WordPress rather than guessed. Identity headers are labels, never permissions.
Agents
Every agent gets its own profile, keyed by a fingerprint (Application Password, agent id, MCP client and session, or a low-confidence client + user + browser family). Each profile shows its status (Online, Away, Offline), actions, failures, objects touched, sessions and working hours. Rename an agent, mark it Trusted, Watched or Flagged, or merge two profiles of the same agent.
Activity log and audit trail
Saved views (All, Agents only, High risk, Failed, Today), filters by agent, action, risk, status, transport and date, search, and a detail drawer with the before and after values of every change. Together they form a complete audit trail of AI agent activity on your site.
Content
Which pages and posts agents change most, and a timeline per page with one lane per agent or person, links to the revision compare screen and the block editor.
Live and Conflicts
A presence board shows who is working on what right now, from agent writes, presence pings and the block editor’s post lock. When two actors change the same object within the conflict window, SharkTrace opens a conflict (High: same field, Medium: same object, Info: open in the editor), shows what each actor wrote and which version is live, and lets you resolve or dismiss it. SharkTrace only warns: it never blocks or changes a write.
Sessions
One agent task per session, shown as a waterfall: the ability call on top, every write it caused beneath it, on a millisecond axis, with failed steps marked.
Inside WordPress

Block editor: an Agent activity panel with the latest changes, and a notice while an agent is editing the open post. The classic editor gets the same list in a meta box.
Posts and Pages lists: an Agents column and a View agent history link.
Admin bar: agents online and away, with open conflicts.
Dashboard widget with the key numbers.
Admin notice for open high conflicts, dismissible per user.

WP-CLI
Every wp command is logged with its arguments (secrets redacted), duration and exit code. wp sharktrace list, wp sharktrace agents and wp sharktrace export read the log from the command line.
Privacy and data safety

Payload keys containing pass, password, token, secret, api_key, nonce, auth, salt or private_key are stored as [redacted]. Values are cut at 500 characters, arrays at 30 entries and 4 levels.
IP addresses are stored as a salted hash (or not hashed, if you switch that off).
Tools → Export Personal Data includes a user’s SharkTrace entries; Erase Personal Data removes the user and IP from them and keeps the audit trail.
Suggested privacy policy text is added to the Policy Guide.
Events older than the retention window (30 days by default) are deleted daily.

SharkTrace Pro
The optional Pro add-on adds CSV and JSON export (screen and wp sharktrace export) and email alerts for new conflicts and high-risk agent actions. Everything else above is free.
REST API
Endpoints under sharktrace-ai-agent-monitor/v2: events, agents, stats, settings, objects, presence, conflicts, sessions and stream (server-sent events). Reading requires manage_options (filter staiam_view_capability); changes use staiam_manage_capability. Agents can report what they are working on with POST /presence {"object":"post:42"}.
Extension points

staiam_should_record – filter. Skip events by context.
staiam_pre_record_event – filter. Alter or drop an event before storage; return a non-array to drop it.
staiam_risk_level – filter. Override risk classification.
staiam_view_capability, staiam_manage_capability – filters. Who may read and change SharkTrace data.
staiam_client_ip – filter. Read the client IP from a trusted proxy header.
staiam_conflict, staiam_alert – actions. React to conflicts and alerts.

Credits
The admin app uses the Inter typeface by The Inter Project Authors (https://github.com/rsms/inter), bundled with the plugin under the SIL Open Font License 1.1 (see licenses/Inter-OFL.txt).

延伸相關外掛

文章
Filter
Mastodon