Skip to content

feat(plugin-mcp): allow annotations to be set on custom MCP tools#16077

Open
idlerun wants to merge 1 commit intopayloadcms:mainfrom
idlerun:feat/add_mcp_annotations
Open

feat(plugin-mcp): allow annotations to be set on custom MCP tools#16077
idlerun wants to merge 1 commit intopayloadcms:mainfrom
idlerun:feat/add_mcp_annotations

Conversation

@idlerun
Copy link
Copy Markdown

@idlerun idlerun commented Mar 27, 2026

What?

Allow custom mcp tools to define standard annotations to be passed to registerTool

Why?

MCP submission to OpenAI requires "Tool justification"

Please note you must set these annotations accurately for your app to be approved. If they are not set on the server, our system will assume that the tool is readOnlyHint = false, openWorldHint = true, and destructiveHint = true.

How?

Add optional config value for tool definitions

@idlerun idlerun changed the title feat(plugin-mcp): Allow annotations to be set on custom MCP tools feat(plugin-mcp): allow annotations to be set on custom MCP tools Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants