Skip to content

v0.1.0

Choose a tag to compare

@paulbalandan paulbalandan released this 26 Jul 19:53
v0.1.0
c88df84

Initial release

Added

  • MCP server runtime: ServerBuilder plus Server, with tools, prompts, resources (static and RFC 6570 templated), completions, logging, and ping handlers against MCP spec 2025-11-25.
  • MCP client runtime: ClientBuilder plus Client, with the initialize handshake, typed request methods (listTools, listResources, listResourceTemplates, listPrompts, readResource, getPrompt, complete, callTool with streaming progress, ping, setLoggingLevel), and the sendRequest escape hatch.
  • Tool I/O JSON Schema validation: tools/call arguments are checked against the tool's inputSchema and a result's structuredContent against its outputSchema, backed by opis/json-schema and pluggable via SchemaValidatorInterface / ServerBuilder::setSchemaValidator().
  • A tool returning structuredContent with no content blocks gets a serialised-JSON TextContent mirror 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