mcp-server-client
If you are the rightful owner of mcp-server-client and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates a basic implementation of the Model Context Protocol (MCP) using the TypeScript SDK, featuring both server and client components.
The MCP Server-Client Example is a project that showcases a simple implementation of the Model Context Protocol using TypeScript. It includes a server that provides access to resources and a client that connects to the server to request these resources. The communication between the server and client is facilitated over stdio transport. The project is structured to allow easy setup and execution, requiring Node.js and npm for installation. The server supports basic functionalities such as resource listing and reading, and it includes error handling for unknown resources. The example server provides access to a sample text resource, and the project is designed to be extendable by allowing the addition of new resources.
Features
- MCP server and client implementation using TypeScript
- Communication over stdio transport
- Resource listing and reading functionality
- Basic error handling for unknown resources
- Extendable resource management