ynaoto/very-simple-mcp-server-sample
If you are the rightful owner of very-simple-mcp-server-sample 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 is probably the simplest MCP server sample in the world, with code less than 50 lines.
The 'very-simple-mcp-server-sample' is a minimalistic Model Context Protocol (MCP) server designed to demonstrate the basic functionality of an MCP server with less than 50 lines of code. It is intended for educational purposes, providing a straightforward example of how to set up and run an MCP server. The server requires Node.js and npm for installation and operation. Once built, it can be integrated into applications like Claude Desktop by configuring the appropriate JSON settings. This sample serves as a foundational tool for those looking to understand the basics of MCP server implementation.
Features
- Minimalistic Design: The server is implemented in less than 50 lines of code, making it easy to understand and modify.
- Node.js and npm Based: Utilizes Node.js and npm for installation and execution, ensuring compatibility with a wide range of systems.
- Easy Integration: Can be easily integrated into applications like Claude Desktop through simple JSON configuration.
- Educational Tool: Serves as a basic example for learning how to set up and run an MCP server.
- Quick Setup: The build process is straightforward, requiring only a few commands to get started.
Usages
usage with Claude Desktop
{ "mcpServers": { "very-simple-mcp-server-sample": { "command": "node", "args": [ "<PATH_TO_HERE>/build/index.js" ] } } }