Linux 软件免费装
Banner图

agentprose

开发者 maxious
更新时间 2026年10月26日 05:51
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

ai llm mcp webmcp ai-agents

下载

0.1.3

详情介绍:

WebMCP is a W3C Community Group draft that lets a web page hand tools to the AI agent running in the visitor's browser. Instead of scraping your theme's HTML, the agent calls a tool and gets clean, structured content back. agentprose registers a set of read-only tools for your content: How it works: The same library works on any site, not only WordPress (Ghost, Sanity, Contentful, Strapi, Storyblok, Enonic, static sites): see the agentprose repository. Optional: agentprose Cloud. Enter a site key from agentprose Cloud to see which agents used which tools and what they searched for, and to answer agent searches from a hosted index. It is off by default; see "External services" below. Source code The JavaScript files in js/ 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.

安装:

  1. Install from Plugins → Add New (search for "agentprose"), or upload the zip under Plugins → Add New → Upload Plugin.
  2. Activate it. The tools are live on every front-end page.
  3. Optional: Settings → agentprose to choose post types, a subscribe URL, a tool prefix, switch off the polyfill, or connect agentprose Cloud.
  4. As an administrator, open any post and click 🔌 to list and run the tools.

屏幕截图:

  • The 🔌 inspector on a post (administrators only), listing the tools an agent sees.

升级注意事项:

0.1.3 Updates the bundled agentprose library to 0.1.3: owner notes and contact details for agents (with a Cloud site key). 0.1.1 Updates the bundled agentprose library to 0.1.1. 0.1.0 First release.

常见问题:

Does this send my content anywhere?

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".

Which browsers and agents support WebMCP?

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.

Does it work with custom post types and pages?

Yes. Add their REST bases (for example posts,pages,docs) under Settings → agentprose. The post type must have show_in_rest enabled.

My theme's article body is not detected

Set "Content selector" to the CSS selector of the article body (for example .entry-content).

Another plugin already registers a tool called search_posts

Set a tool name prefix such as blog_; all tools become blog_search_posts, blog_get_post and so on.

How is this different from WebMCP Bridge?

Both expose WordPress content to agents through WebMCP; they focus on different things.

  • agentprose is read-only and built for reading and quoting: full posts as Markdown (paged, never truncated), sections and a table of contents, related posts, and 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.
  • WebMCP Bridge covers actions and server-side access: WooCommerce cart and coupon tools, Contact Form 7 submission, menus, a PHP API for custom tools, and a remote MCP endpoint plus an OpenAPI schema for desktop clients and Custom GPTs. Markdown output and llms.txt come from its companion plugin, Mescio for Agents.
If you run a shop or want a server-side MCP endpoint, WebMCP Bridge does that. If you publish articles and want agents to read and cite them accurately, use agentprose. They can run side by side; set a tool prefix to avoid duplicate names.

How does the plugin get updates?

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.

Is it safe?

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.

Who makes this plugin?

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.

更新日志:

0.1.3 0.1.1 0.1.0