Skip to main content
Home

Truly Useful Anti-Patterns: Client-Tool-Execution MCP Server

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
5 days ago (0.0.3)
f
handleConnecting

Handles the initial connection and outgoing sse messages.

f
handleIncoming

Handles POST messages for all SSE transports

f
runClientExecServerWoker
No documentation available
c
SSEServerTransport

Server transport for SSE: this will send messages over an SSE connection and receive messages from HTTP POST requests.

c
WorkerServerTransport

A Transport implementation for the SERVER side, running inside a Web Worker. It adapts the worker's global self.onmessage and self.postMessage to the Transport interface required by the MCP Server class.

c
WorkerTransport

A Transport implementation for communicating with a Web Worker. It acts as the bridge between a Client instance on the main thread and a server running inside the worker.

I
C2W_RegisterToolsMessage
No documentation available
I
C2W_ToolResponseMessage
No documentation available
I
C2W_UnregisterMessage
No documentation available
I
ClientToolDefinition

Defines the structure for a tool that can be executed on the client. It extends the base 'Tool' type and adds the client-side implementation.

T
ClientToWorkerMessage
No documentation available
I
W2C_ExecuteToolMessage
No documentation available
T
WorkerToClientMessage
No documentation available

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.