MCP Directory
ServersClientsBlog
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2025 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Clients
  3. mcp-durable-object-client

mcp-durable-object-client

GitHub

This repository demonstrates a durable object pattern for an MCP client, showcasing communication between a client and server. The client sends a request to the server, which processes it and

61
7

🤖 MCP Client as a Durable Object

This example demonstrates a functional pattern employing durable objects to implement an MCP (Management Component Protocol) client. The project is structured with a client and a server component.

To begin, install the necessary dependencies in both the root directory / and the /server directory using the command npm i.

To initiate the server, navigate to the server/ directory and execute npm run start. Similarly, to launch the client, run npm run start from the root directory /.

The project showcases a simple interaction: asking "Can you add 5 and 6?". The client then sends a request to the server, receives the computed result, and displays it to the client-side interface. This illustrates the durable object's role in handling requests and responses within the MCP client architecture.

License

MIT

Repository

DH
Dhravya

Dhravya/mcp-durable-object-client

Created

March 6, 2025

Updated

March 23, 2025

Language

TypeScript

Category

Communication