No install? Use cloud.anythingmcp.com directly.
Sign in, install the WordPress in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
AI-native publishing and content operations for any self-hosted WordPress site. Semantic tools for posts, pages, taxonomies, media metadata, users, comments, SEO meta and site health — plus documented multi-step recipes (SEO content pipeline, scheduled publishing, content refresh, internal linking, media optimisation).
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → WordPress、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
WordPress + Gemini
AI-native publishing and content operations for any self-hosted WordPress site. Semantic tools for posts, pages, taxonomies, media metadata, users, comments, SEO meta and site health — plus documented multi-step recipes (SEO content pipeline, scheduled publishing, content refresh, internal linking, media optimisation).
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
WORDPRESS_URL, WORDPRESS_USERNAME, WORDPRESS_APP_PASSWORD
步骤 1 — 获取凭证
This connector talks to the WordPress core REST API (/wp-json/wp/v2). WordPress 5.6+ (Application Passwords) and HTTPS required.
Setup
WORDPRESS_URL— the site root (e.g.https://example.com). Do NOT include/wp-json; the adapter appends it. HTTPS mandatory.WORDPRESS_USERNAME— login name with the role needed (Editor for posts, Administrator for users / site-health).WORDPRESS_APP_PASSWORD— generate in/wp-admin/profile.php→ Application Passwords. Forward verbatim (spaces or no-spaces both work).
Payload control
…(continued in the in-app connector instructions)
步骤 2 — 安装 adapter
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
步骤 3 — 在 Gemini 中添加连接器
Gemini CLI 从 ~/.gemini/settings.json (Windows: %APPDATA%\gemini\settings.json) 读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- 从 AnythingMCP 获取你的 MCP API key。
- 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp—WordPress应显示为可用。 - Vertex AI Studio: 将
https://cloud.anythingmcp.com/mcp传入请求的tools数组,使用相同的 Bearer 头。
可用工具
| Tool | What it does |
|---|---|
wordpress_list_posts | List posts with rich filtering — status, author, search term, taxonomy (categories/tags), date range, ordering |
wordpress_get_post | Get a single post by id |
wordpress_create_post | Create a post |
wordpress_update_post | Partial-update a post by id |
wordpress_delete_post | Move a post to trash, or pass force=true to delete permanently |
wordpress_list_pages | List static pages |
wordpress_get_page | Get a single page by id |
wordpress_create_page | Create a static page (/wp/v2/pages) |
wordpress_update_page | Partial-update a page by id |
wordpress_list_categories | List post categories |
wordpress_create_category | Create a category term |
wordpress_list_tags | List post tags |
wordpress_create_tag | Create a tag term |
wordpress_list_media | List media-library items |
wordpress_get_media | Get a single media-library item by id |
wordpress_update_media | Update metadata on an existing media item — alt text (accessibility + SEO), caption, description, title |
wordpress_set_featured_image | Convenience tool: attach an existing media-library item as the featured image of a post or page |
wordpress_list_users | List users |
wordpress_list_comments | List comments across all posts, with status filter for moderation workflows |
wordpress_moderate_comment | Change a comment's moderation status — approve, hold, spam, or trash |
wordpress_search | Cross-post-type full-text search via /wp/v2/search |
wordpress_update_post_meta | Overwrite REST-exposed meta keys on a post — typically Yoast (_yoast_wpseo_title, _yoast_wpseo_metadesc, _yoast_wpseo_focuskw) or Rank |
wordpress_site_health_status | Run one of WordPress's built-in Site Health checks |
wordpress_get_settings | Read site-level settings (title, description, url, timezone_string, date_format, posts_per_page, default_category, etc |
wordpress_get_user | Get a single user by id |
wordpress_create_user | Create a user account |
wordpress_update_user | Partial-update an existing user |
wordpress_delete_user | Permanently delete a user |
wordpress_list_post_status_options | Reference card: the valid status values you can pass to wordpress_create_post / wordpress_update_post |
wordpress_list_comment_status_options | Reference card: valid status values for wordpress_moderate_comment and wordpress_list_comments filtering |
(showing 30 of 38 tools — install the connector to see them all)
FAQ
Gemini 1.5 Pro 或 2.x 支持 MCP 吗? 支持 — Gemini CLI ≥ 0.4 与 Vertex AI tools API 均接受带 Bearer 头的 MCP httpUrl 连接器。
下一步
这份指南对您有帮助吗?