| 开发者 | maxious |
|---|---|
| 更新时间 | 2026年10月26日 05:51 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
get_current_article: the post being viewed, as clean Markdown with author, dates, tags and outlinesearch_posts: full-text search through your site's REST APIlist_posts: newest posts, filterable by tag, category, author and dateget_post: any post as Markdown, paged for long posts (never silently truncated)get_section and get_table_of_contents: read one section of a long postget_citation: checks a quote against the post and returns a link that scrolls to and highlights it (#:~:text=)list_taxonomies, get_related_posts, get_site_info, get_subscribe_link, get_comments_linknavigate_to (optional): open another page of the sitejs/ are the browser build of the agentprose npm release named in the changelog, unchanged. They are built from the TypeScript source at github.com/webmaxru/agentprose (MIT licence); npm ci && npm run build rebuilds them, and node wordpress-plugin/sync.mjs <version> copies a release into the plugin. The bundled WebMCP polyfill in js/vendor/ is @mcp-b/webmcp-polyfill 6.0.3 (MIT), unchanged.
No. The tools run in the visitor's browser and read your own public REST API. Only if you connect agentprose Cloud is a small usage message (never content) sent per tool call; see "External services".
WebMCP is a draft. Chrome supports it behind a flag and an origin trial, and some AI browsers and extensions support it or use the MCP-B polyfill, which the plugin bundles. Nothing changes for human visitors, so there is no downside to installing early.
Yes. Add their REST bases (for example posts,pages,docs) under Settings → agentprose. The post type must have show_in_rest enabled.
Set "Content selector" to the CSS selector of the article body (for example .entry-content).
Set a tool name prefix such as blog_; all tools become blog_search_posts, blog_get_post and so on.
Both expose WordPress content to agents through WebMCP; they focus on different things.
get_citation, which verifies a quote and returns a highlight link. It needs no extra REST endpoints, and the same library works on non-WordPress sites. It uses the current WebMCP API (registerTool) and bundles the MCP-B polyfill for browsers without it.Through normal WordPress plugin updates from WordPress.org. Each new version of the agentprose library ships as a new plugin version with the scripts included, and WordPress shows it under Dashboard → Updates. To get fixes without doing anything, turn on auto-updates for agentprose on the Plugins screen ("Enable auto-updates"). The plugin never downloads code from anywhere else.
All tools are read-only and use only public data from your REST API: what any visitor can already read. Post content is marked as untrusted for the agent. The inspector is shown to administrators only.
Maxim Salnikov (WordPress.org: maxious, GitHub: webmaxru, salnikov@gmail.com). He also created and maintains the agentprose library and runs agentprose Cloud; this is the official agentprose plugin for WordPress. See https://agentprose.cloud/docs/community-projects.
get_contact_info tool). They are fetched only when an agent asks, never on page load.