v0.1.0
What's Changed
Added
- MCP server runtime:
ServerBuilderplusServer, with tools, prompts, resources (static and RFC 6570 templated), completions, logging and ping handlers against MCP spec 2025-11-25. - MCP client runtime:
ClientBuilderplusClient, with theinitializehandshake, typed request methods, and thesendRequestescape hatch. - Tool I/O JSON Schema validation backed by
opis/json-schema, pluggable viaSchemaValidatorInterface. A tool returningstructuredContentwith no content blocks gets a serialised-JSONTextContentmirror. - Stdio transport for both server and client, plus an in-memory paired transport for tests.
- JSON-RPC 2.0 envelope and MCP schema types under
Nexus\Mcp\Core. - Every SDK exception implements
McpExceptionInterface, so consumers can catch all SDK errors in one block.
Full Changelog: https://github.com/NexusPHP/mcp/releases/tag/v0.1.0