Skip to content

fix(mcp): pass title to Tool constructor #7950

Merged
soyuka merged 3 commits intoapi-platform:4.3from
soyuka:fix/mcp
May 6, 2026
Merged

fix(mcp): pass title to Tool constructor #7950
soyuka merged 3 commits intoapi-platform:4.3from
soyuka:fix/mcp

Conversation

@soyuka
Copy link
Copy Markdown
Member

@soyuka soyuka commented May 6, 2026

No description provided.

soyuka added 3 commits May 6, 2026 13:51
mcp/sdk v0.5 added a required title parameter to Mcp\Schema\Tool. Add
an optional title parameter to McpTool metadata so users can configure
a human-readable display name.
ModelMetadata::getAttributes() cached an empty result when the table
didn't exist yet, causing MCP tool serialization to return only
@context and @type after boot-time discovery ran before RefreshDatabase
migrations completed.
Laravel's Builder::orderBy() type-hints 'asc'|'desc'|SortDirection, not
'ASC'|'DESC'.
@soyuka soyuka force-pushed the fix/mcp branch 2 times, most recently from 1eccd02 to dfdb4c0 Compare May 6, 2026 11:54
@soyuka soyuka merged commit 67d7a3d into api-platform:4.3 May 6, 2026
119 checks passed
@soyuka soyuka deleted the fix/mcp branch May 6, 2026 12:08
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.

1 participant