Hono Math MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Hono MCP Server with Bun JS & Vercel
This project demonstrates how to build a Model Context Protocol (MCP) server using Hono web framework, developed with Bun JS, and deployed on Vercel. The server exposes mathematical operation tools (add, subtract, multiply, divide) that can be consumed by MCP clients.
Demo
To connect your MCP client to the server, use: https://hono-mcp-demo.vercel.app/mcp
You can also visit https://hono-mcp-demo.vercel.app in your browser.
Related MCP server: MCP Calculator Server
What is MCP?
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). This example shows how to create an MCP server that exposes tools as HTTP endpoints.
Features
🧮 Math Operations: Four basic calculator tools (add, subtract, multiply, divide)
⚡ Bun JS: Fast JavaScript runtime and package manager for development
🔧 MCP Handler: Uses
mcp-handlerlibrary for easy MCP server creation🛡️ Type Safety: Built with TypeScript and Zod for runtime validation
☁️ Vercel Deployment: Optimized for serverless deployment on Vercel
Prerequisites
Bun JS (recommended) or Node.js 18+
Vercel CLI installed globally
Development
With Bun (recommended):
bun install
vc devAlternative with npm:
npm install
vc devOpen http://localhost:3000 in your browser.
Build
With Bun:
bun install
bun run buildAlternative:
npm install
vc buildDeployment
bun install # or npm install
vc deployAPI Endpoints
GET
/- Welcome endpoint with server informationPOST
/mcp/*- MCP protocol endpoint for tool execution
Available Tools
The server exposes the following MCP tools:
add - Add two numbers
subtract - Subtract two numbers
multiply - Multiply two numbers
divide - Divide two numbers (with zero-division protection)
Using the MCP Server
Once deployed, you can connect to this MCP server from any MCP-compatible client by pointing to the /mcp endpoint. The server handles the MCP protocol transport and tool execution automatically.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides basic calculator functionality for LLMs, enabling them to perform mathematical operations like addition, subtraction, multiplication, division, modulo, and square root.6235 npm15MIT
- -licenseNot gradedqualityNot gradedmaintenanceA calculator server that exposes mathematical functions as tools (add, subtract, multiply, divide, square, power, square root), enabling language models to perform calculations through Model Context Protocol (MCP).-
- AlicenseNot gradedqualityDmaintenanceA minimal, production-ready MCP server with a simple addition calculator tool that demonstrates integration with the Model Context Protocol.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables basic mathematical operations through MCP protocol with add and multiply tools. Built with fastmcp 2.0 and optimized for serverless deployment on Vercel.-