MCP Multi-Tool Server
A comprehensive Model Context Protocol (MCP) server that provides calculator tools, documentation resources, and prompt templates. This server supports both stdio and SSE (Server-Sent Events) transports, making it compatible with various MCP clients including Claude Desktop.
Features
š§® Calculator Tools (8 Tools)
add - Add two numbers
subtract - Subtract two numbers
multiply - Multiply two numbers
divide - Divide two numbers
power - Raise a number to a power
square_root - Calculate square root
factorial - Calculate factorial
calculate_percentage - Calculate percentage
š Resources
TypeScript SDK Documentation - Access the full TypeScript SDK MCP documentation via resource URI
typescript-sdk-mcp://documentation
š Prompts
Meeting Summary - Generate executive meeting summaries from transcripts using a customizable template
š Transport Support
stdio (default) - Standard input/output for local integrations
SSE - Server-Sent Events for remote HTTP connections
Table of Contents
Prerequisites
Python 3.10+ (Python 3.12 recommended)
uv - Fast Python package installer
Administrative privileges (for software installation)
Installation
Step 1: Install Python
Windows
Download Python from python.org/downloads
Run the installer and check "Add Python to PATH"
Verify installation:
python --version pip --version
macOS
Linux (Ubuntu/Debian)
Step 2: Install uv
Windows
Close and reopen PowerShell, then verify:
macOS/Linux
Add to PATH if needed:
Verify:
Step 3: Clone and Setup
Quick Start
Running with stdio (Default)
The server will start in stdio mode, ready to accept connections from MCP clients.
Running with SSE
The server will start an HTTP server on the specified host and port, accessible via SSE.
Usage
Environment Variables
Variable | Description | Default |
| Transport mode:
or
|
|
| Host address for SSE transport |
|
| Port number for SSE transport |
|
Examples
stdio Mode (for Claude Desktop)
SSE Mode (for HTTP clients)
Transport Modes
stdio Transport
Use case: Local integrations, Claude Desktop, command-line tools
How it works:
Server communicates via standard input/output
Spawned as a subprocess by the MCP client
No network configuration needed
Configuration example:
SSE Transport
Use case: Remote servers, web applications, HTTP-based clients
How it works:
Server runs as an HTTP server
Uses Server-Sent Events for real-time communication
Accessible via HTTP endpoints
Access URL:
Configuration example:
Connecting to Claude Desktop
Step 1: Locate Configuration File
Windows:
macOS:
Linux:
Step 2: Get Your Project Path
Step 3: Add Server Configuration
Open claude_desktop_config.json and add:
Important:
Use absolute paths (not relative)
On Windows, use forward slashes
/or escaped backslashes\\Replace
/absolute/path/to/mcp-multi-tool-serverwith your actual project path
Step 4: Restart Claude Desktop
Close and reopen Claude Desktop completely. All tools, resources, and prompts should now be available!
API Reference
Calculator Tools
add(a: float, b: float) -> float
Add two numbers together.
Example:
subtract(a: float, b: float) -> float
Subtract the second number from the first.
Example:
multiply(a: float, b: float) -> float
Multiply two numbers.
Example:
divide(a: float, b: float) -> float
Divide the first number by the second.
Example:
Error: Raises ValueError if divisor is zero.
power(base: float, exponent: float) -> float
Raise a number to a power.
Example:
square_root(number: float) -> float
Calculate the square root of a number.
Example:
Error: Raises ValueError if number is negative.
factorial(n: int) -> int
Calculate the factorial of a non-negative integer.
Example:
Error: Raises ValueError if n is negative.
calculate_percentage(part: float, whole: float) -> float
Calculate what percentage one number is of another.
Example:
Error: Raises ValueError if whole is zero.
Resources
typescript-sdk-mcp://documentation
Returns the full content of the TypeScript SDK MCP documentation markdown file.
Usage: Access this resource through your MCP client to retrieve the documentation.
Prompts
meeting_summary(meeting_date: str, meeting_title: str, transcript: str) -> list[dict]
Generate an executive meeting summary from a transcript.
Parameters:
meeting_date: Date of the meeting (e.g., "2025-01-15")meeting_title: Title of the meetingtranscript: Full meeting transcript text
Returns: A formatted prompt message ready to send to an LLM.
Template:
The prompt uses a template located at templates/meeting_summary/template.md with placeholders:
{{ meeting_date }}{{ meeting_title }}{{ transcript }}
Example Usage:
Project Structure
Testing
Test Calculator Tools
Create a test file test_server.py:
Run:
Test Resource
Test Prompt
Troubleshooting
Python Not Found
Problem: python --version returns "command not found"
Solution:
Windows: Reinstall Python with "Add Python to PATH" checked
macOS/Linux: Use
python3instead ofpython
uv Not Found
Problem: uv --version returns "command not found"
Solution:
Make sure you opened a new terminal after installation
Add
~/.cargo/bin(or%USERPROFILE%\.cargo\binon Windows) to PATHRestart terminal
Virtual Environment Issues
Problem: Can't activate virtual environment
Solution:
Windows PowerShell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserVerify
.venvfolder exists:ls .venv(ordir .venvon Windows)
MCP Installation Fails
Problem: uv add "mcp[cli]" fails
Solution:
Ensure virtual environment is activated (you should see
(.venv)in prompt)Update uv:
uv self updateCheck Python version:
python --version(should be 3.10+)
Server Won't Start
Problem: Server fails to start
Solution:
Verify virtual environment is activated
Check MCP is installed:
uv pip list | grep mcpEnsure
server.pyexists in current directory
Claude Desktop Connection Issues
Problem: Server doesn't appear in Claude Desktop
Solution:
Verify configuration file path is correct
Use absolute paths (not relative)
Check JSON syntax is valid
Ensure
uvis in PATH or use full pathRestart Claude Desktop completely
Check Claude Desktop logs for errors
SSE Transport Issues
Problem: SSE server won't start
Solution:
Check if port is already in use:
lsof -i :8000(macOS/Linux) ornetstat -ano | findstr :8000(Windows)Try a different port:
PORT=8080 TRANSPORT=sse python server.pyEnsure firewall allows connections on the specified port
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
License
This project is provided as-is for educational and personal use.
Additional Resources
Support
If you encounter any issues or have questions:
Check the Troubleshooting section
Search existing GitHub Issues
Create a new issue with:
Description of the problem
Steps to reproduce
Expected vs actual behavior
System information (OS, Python version, etc.)
Made with ā¤ļø using FastMCP and the Model Context Protocol