mcp-easy-ai__wp_search
Searches published content by keyword: posts of every public type by default, terms with type: "term". Never returns drafts, pending, private or scheduled posts, or media, so an empty result does not mean the item is missing; for those use wp_list_posts / wp_list_pages with search and status: "any", or wp_list_media with search. Returns { results: [{ id, title, url, type, subtype, snippet (only with snippet: true) }], total, total_pages, page, per_page, query }. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| type | No | Object type to search. Omitted means "post" (every public post type); pass "term" for categories, tags and other taxonomies. | |
| query | Yes | The search query string. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| snippet | No | When true, include a `snippet` field on each POST result: a plain-text excerpt (HTML, shortcodes, and block markup stripped) windowed around the first match of the query, so you can judge relevance without a follow-up wp_get_post. Non-post results (terms) never carry a snippet. Default false (response is unchanged when omitted). | |
| subtype | No | Limit results to a specific subtype (e.g. post, page, category, post_tag, or any custom post type/taxonomy slug). | |
| per_page | No | Number of results per page (1-100). | |
| snippet_length | No | Maximum snippet length in characters (20-1000, default 200). Only used when snippet is true. |