php-sdk/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christopher Hertel 1300d2ee7d
Add title parameter to Builder::addResource() and addResourceTemplate() (#310)
#301 added the `title` field to the `Resource`/`ResourceTemplate` schema
classes and the `McpResource`/`McpResourceTemplate` attributes, but the
manual registration methods on `Builder` were never updated — so manual
registration could not set a resource title, unlike tools and prompts.

Add a `$title` parameter between `$name` and `$description` (matching
`addTool()`/`addPrompt()`) and propagate it through `ArrayLoader` when
constructing the `Resource`/`ResourceTemplate` objects.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 20:02:01 +02:00
..
Capability Add title parameter to Builder::addResource() and addResourceTemplate() (#310) 2026-05-18 20:02:01 +02:00
Client Bump protocol version to nov 25 (#308) 2026-05-17 14:02:40 +02:00
Event CS update after release of v3.95 (#282) 2026-04-26 12:39:27 +02:00
Exception CS update after release of v3.95 (#282) 2026-04-26 12:39:27 +02:00
JsonRpc Add API documentation generation with phpDocumentor (#184) 2026-02-01 16:22:40 +01:00
Schema Add title field to Resource and ResourceTemplate (#301) 2026-05-17 14:10:31 +02:00
Server Add title parameter to Builder::addResource() and addResourceTemplate() (#310) 2026-05-18 20:02:01 +02:00
Client.php [Client] Feat: Implement MCP client component (#192) 2026-03-10 17:22:40 +01:00
Server.php [Server] Add Bidirectional Client Communication Support (#109) 2025-10-26 22:48:17 +01:00