snoopdave/mcp-hello-world-ts
If you are the rightful owner of mcp-hello-world-ts 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.
A minimal Model Context Protocol (MCP) server written in TypeScript, demonstrating MCP-compliant resources and tools for LLMs and MCP-enabled clients.
The Hello World MCP Server is a lightweight and minimalistic server implementation designed to demonstrate the capabilities of the Model Context Protocol (MCP) using TypeScript. It provides a basic framework for creating MCP-compliant resources and tools that can be utilized with large language models (LLMs) and MCP-enabled clients such as Claude Desktop. The server is structured to facilitate easy integration and communication via standard input/output, making it accessible for developers looking to explore MCP technology. With a focus on simplicity, the server offers a few predefined resources and a tool that can be extended or customized to suit specific needs. This project serves as an educational resource for those interested in understanding and implementing MCP servers, providing a foundation for further development and experimentation.
Features
- MCP Resources: Provides simple resources at hello://greeting, hello://info, and a resource list at hello://list.
- MCP Tool: A helloTool that echoes messages or returns a default greeting.
- Stdio Transport: Communicates via standard input/output, making it easy to integrate with MCP clients.
- Integration Tests: Includes tests to verify the server's end-to-end functionality.
- Customizable: Easily extendable with new tools and resources.
Usages
usage with Claude Desktop
"hello-world-mcp": { "command": "node", "args": [ "/path/to/mcp-hello-world-ts/dist/index.js" ] }
Tools
helloTool
Echoes messages or returns a default greeting.