mcp_list_cpt_posts
Lists posts of any post type with paging totals and filters for status, order, and fields such as ID, title, slug, date, author, and parent.
Instructions
List posts of any post type (id, title, slug, status, date, modified, author, excerpt, parent) with paging totals
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"type": "<type>"
},
"name": "mcp_list_cpt_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| site | Yes | Site id (see list_sites) | |
| type | Yes | Post type name (e.g. post, page, product, testimonial) | |
| order | No | Sort direction (default DESC) | |
| status | No | Post status filter: any (default), publish, draft, pending, private, future, trash, or a comma-separated list | |
| orderby | No | Order by field (default date) | |
| per_page | No | Posts per page (default 20) |