Linux 软件免费装

Shim MCP

开发者 justadityaraj
更新时间 2026年10月23日 03:47
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

ai automation claude mcp model-context-protocol

下载

1.0.2 1.1.0

详情介绍:

Shim MCP is a self-contained MCP (Model Context Protocol) server plugin for WordPress. It provides 57 abilities that let any MCP-compatible AI client manage your WordPress site -- posts, pages, media, users, plugins, menus, widgets, comments, options, and system settings. The MCP server and every ability ship in the one plugin, so no companion plugins are required. The MCP protocol layer is derived from the WordPress project's own MCP Adapter (GPL-2.0), and abilities are registered through WordPress's Abilities API, which core ships from 6.9. See the Credits section below. Key features:

安装:

  1. Upload the plugin zip file via Plugins > Add New > Upload Plugin, or clone the repository into wp-content/plugins/shim-mcp/.
  2. Activate the plugin through the Plugins menu.
  3. Go to Tools > Shim MCP, generate an API key, and copy the config snippet into your AI client.

升级注意事项:

1.1.0 Ability results and saved post content are no longer altered, stdio and HTTP follow the MCP spec more strictly, and plugins can be installed from WordPress.org by slug.

常见问题:

What is MCP?

MCP (Model Context Protocol) is an open standard that allows AI clients like Claude to interact with external systems through a structured protocol. It defines how AI tools discover and use capabilities (called "abilities" in WordPress) provided by a server.

Do I need MCP Adapter or the Abilities API installed alongside this?

No. Shim MCP is self-contained: it bundles its own MCP server, and the Abilities API it registers against is part of WordPress from 6.9 onwards. Nothing else is required.

Can it edit wp-config.php?

Only if you let it. The ability that rewrites the WP_DEBUG constants is switched off until you add define( 'SHIM_MCP_ALLOW_CONFIG_WRITES', true ); to wp-config.php yourself. Without that line the ability refuses, and it is refused again if DISALLOW_FILE_EDIT or DISALLOW_FILE_MODS is set, if the file is not writable, or if the rewritten contents fail a sanity check.

It warns me about another MCP plugin. Why?

Two MCP server plugins running at once can register competing abilities and endpoints, which produces confusing results for the connected AI client. If Shim MCP detects another MCP server or a standalone Abilities API plugin, it shows a notice suggesting you run only one. This is a compatibility warning, not a judgement about the other plugin.

Can I connect without an application password?

Yes, on a site you have locally. wp shim-mcp serve --user=admin --path=/path/to/wordpress runs the MCP server over WP-CLI and stdio, with no URL, port or password. The setup guide in docs/SETUP.md has tested configurations for Claude Code, Claude Desktop and Cursor.

What AI clients are supported?

Any MCP-compatible client works. The admin dashboard provides ready-made config snippets for Claude Code, Claude Desktop, and Cursor.

Do I need HTTPS?

HTTPS is strongly recommended for production use since API credentials are transmitted with each request. The plugin will work over HTTP for local development.

What WordPress capabilities are required?

Different abilities require different WordPress capabilities. For example, content abilities require edit_posts, user abilities require list_users or edit_users, and system abilities require manage_options. See the full abilities reference in docs/ABILITIES.md.

更新日志:

1.1.0 New Fixed Development 1.0.2 1.0.1 1.0.0