v0.1.0
Initial release
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 (listTools,listResources,listResourceTemplates,listPrompts,readResource,getPrompt,complete,callToolwith streaming progress,ping,setLoggingLevel), and thesendRequestescape hatch. - Tool I/O JSON Schema validation:
tools/callarguments are checked against the tool'sinputSchemaand a result'sstructuredContentagainst itsoutputSchema, backed byopis/json-schemaand pluggable viaSchemaValidatorInterface/ServerBuilder::setSchemaValidator(). - A tool returning
structuredContentwith no content blocks gets a serialised-JSONTextContentmirror for backwards compatibility. - 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-sdk/commits/v0.1.0