Bash Math
Createdantonum
Implements a minimalistic MCP server using a bash script for basic mathematical operations.
About
Bash Math offers a lightweight implementation of an MCP (Model Context Protocol) server, crafted entirely in bash script. This server demonstrates the core functionalities of the MCP lifecycle, from initial handshake to the execution of simple tools like adding two numbers. Designed for easy testing and integration, it's an ideal starting point for understanding and experimenting with the Model Context Protocol in a simple, accessible environment.
Key Features
- Implements basic MCP server functionality in bash
- Supports the 'tools/list' and 'tools/call' methods
- Includes a sample tool for adding two numbers
- Provides a JSON configuration example for mcphost and Claude Desktop
- Simple architecture for easy understanding and modification
- 2 GitHub stars
Use Cases
- Learning and experimenting with the Model Context Protocol
- Implementing custom tools for LLMs using bash scripts
- Integrating with mcphost for LLM tool usage