Skip to content

plugin-mcp: find tool is missing populate, joins, trash, and pagination args #15880

Closed

Description

@jhb-dev

The MCP plugin's find tool is missing several useful arguments supported by payload.find / payload.findByID:

  • populate — controls which fields to include from populated documents, useful for reducing response size
  • joins — controls join field queries; can pass false to disable all join fields
  • trash — includes soft-deleted documents in query results
  • pagination — set to false to skip the count query overhead

These should be added as optional parameters to the find tool's schema and passed through to the underlying calls.

File: packages/plugin-mcp/src/mcp/tools/resource/find.ts

Activity

  1. nehaaprasad commented on Mar 11, 2026

    @nehaaprasad
    Contributor

    Hello! @jhb-dev
    please check out this PR!

  2. jhb-dev commented on Mar 12, 2026

    @jhb-dev
    ContributorAuthor

    Thanks @naaa760!

  3. self-assigned this
    on May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions