mcp-server-bash
If you are the rightful owner of mcp-server-bash 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.
Minimalistic MCP server written in shell script.
The mcp-server-bash is a minimalistic Model Context Protocol (MCP) server implemented using a shell script. It is designed to demonstrate the basic lifecycle of an MCP server, which includes two main phases: Initialization and Operation. The server is capable of handling basic JSON-RPC requests, such as listing available tools and executing a simple addition operation. This server is a practical example to complement the article 'Minimalistic MCP Server in bash script'. The mcp_add.sh script is the core component that processes the messages throughout the server's lifecycle, from the initial handshake to executing the 'add two numbers' tool. The server can be tested directly from the command line interface (CLI) using JSON-RPC formatted requests.
Features
- Minimalistic design: Implemented using a simple shell script.
- Lifecycle management: Handles Initialization and Operation phases.
- JSON-RPC support: Processes JSON-RPC requests for tool listing and execution.
- CLI testing: Allows direct testing of methods via command line.
- Complementary resource: Accompanies an article for educational purposes.
Tools
addition
A tool to add two numbers.