Wp Db MCP
未认领MCP server for exploring WordPress MySQL/MariaDB databases.
01 / 选择客户端
03 / 添加配置
claude mcp add --transport stdio 'wp-db-mcp' -- 'uvx' '--from' 'wp-db-mcp' 'wp-db-mcp'04 / 在客户端中确认
打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。
更多Databases服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
22 个工具中显示 22 个
文档中列出的工具 (22)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
numeric_meta_ratio
fraction of all terms in that taxonomy that carry a numeric value for
post_id_resolution_ratio
of the numeric-valued terms, the fraction whose value actually
wp_describe_table
Show columns, types, keys, and indexes for a specific table. Accepts full name or core suffix (e.g. posts instead of wpposts). users, usermeta, and multisite's network tables (blogs, site, sitemeta, signups, registrationlog) always resolve against the base prefix, regardless of siteid.
wp_get_connected_posts
Get posts connected to a post via the posttopost table. Supports filtering by relationship
wp_get_meta
Get all meta key-value pairs for a post, user, or comment. Takes objecttype
wp_get_post_terms
Get all terms for a post, traversing the full relationship chain. Filter by taxonomy.
wp_get_relationships
Map how WordPress tables relate to each other:
wp_get_schema
Generate a complete database schema with all columns, indexes, and detected relationships. Outputs JSON or CSV. Toggle includeplugins to include non-core tables. Uses optimized batch queries. users/usermeta and network tables are included at the base prefix on every site.
wp_get_shadow_relations
Traverse a shadow taxonomy relationship in either direction, via entitytype
wp_get_term_posts
Get all posts for a term. Same default posttype/poststatus exclusions as wpsearchposts
wp_get_user_connections
Query the posttouser relationship table in either lookup direction, via entitytype
wp_list_connected_posts
List all post connections for a given relationship name. Returns all connection pairs with both posts' details (ID, title, type) and the relationship order.
wp_list_connection_names
Discover all relationship names registered in WP Content Connect. Queries both posttopost and posttouser tables to list distinct relationship names with their connection counts. Useful for exploring what relationships exist before querying specific connections.
wp_list_shadow_posts
List all posts using a shadow taxonomy relationship. Returns all posts assigned to shadow terms, with term info (ID, name) and source post details (ID, title, type).
wp_list_shadow_taxonomies
Discover candidate shadow taxonomies — this is heuristic, not verified. It finds
wp_list_tables
List all tables with engine, row count, and size. Supports multisite siteid filter.
wp_list_taxonomies
List all taxonomies registered in the database with term counts and total usage.
wp_posts
> wppostmeta (via postid)
wp_query
Execute raw SQL queries validated by validateselectonly() (a guardrail, not a security
wp_search_posts
Search posts by title or content using LIKE matching. Defaults exclude posttype IN
wp_terms
> wptermmeta (via termid)
wp_users
> wpusermeta (via userid)