Skip to content

Extract JSON-RPC primitives to shared namespace for client reuse#211

Merged
taylorotwell merged 1 commit into
mainfrom
extract-jsonrpc-shared-namespace
May 13, 2026
Merged

Extract JSON-RPC primitives to shared namespace for client reuse#211
taylorotwell merged 1 commit into
mainfrom
extract-jsonrpc-shared-namespace

Conversation

@pushpak1300
Copy link
Copy Markdown
Member

@pushpak1300 pushpak1300 commented May 12, 2026

A first-class MCP client is planned for #149. Both server and client speak the same JSON-RPC 2.0 protocol, so the primitives should live in a server-agnostic namespace that future client code can depend on without pulling in the server.

no new features, no new public API.

Warning

The classes Laravel\Mcp\Server\Transport\JsonRpcRequest, JsonRpcResponse, JsonRpcNotification, and Laravel\Mcp\Server\Exceptions\JsonRpcException have been moved to Laravel\Mcp\Transport\* and Laravel\Mcp\Exceptions\JsonRpcException. Applications that imported these directly need to update their use statements.

@pushpak1300 pushpak1300 requested a review from joetannenbaum May 12, 2026 14:10
@pushpak1300 pushpak1300 marked this pull request as ready for review May 12, 2026 18:18
@taylorotwell taylorotwell merged commit 1b71eef into main May 13, 2026
24 checks passed
@taylorotwell taylorotwell deleted the extract-jsonrpc-shared-namespace branch May 13, 2026 14:05
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.

2 participants