MCP Deployment
A simple demonstration MCP server that provides a sum_numbers tool for calculating the sum of a list of integers, built using the FastMCP framework.
README
MCP Deployment
A Model Context Protocol (MCP) server that exposes a sum_numbers tool for summing lists of integers. This project demonstrates a simple MCP server implementation using FastMCP.
Project Overview
This MCP deployment project provides:
- sum_numbers Tool: A simple tool that takes a list of integers and returns their sum
- FastMCP Server: Built on the MCP FastMCP framework for easy server implementation
- Python 3.13+: Uses modern Python with type hints and async support
Installation
Prerequisites
- Python 3.13 or higher
uvpackage manager (recommended) orpip
Using uv (Recommended)
-
Install
uv(if not already installed):# On Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # On macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh -
Clone the repository:
git clone https://github.com/Mandapati-SuryanarayanaRaju/mcp-deployment.git cd mcp-deployment -
Create a virtual environment and install dependencies:
uv sync -
Run the MCP server:
uv run mcp-server
Using pip
-
Clone the repository:
git clone https://github.com/Mandapati-SuryanarayanaRaju/mcp-deployment.git cd mcp-deployment -
Create a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies:
pip install -e . -
Run the MCP server:
mcp-server
Configuration
Claude Desktop Configuration
To use this MCP server with Claude Desktop, add the following configuration to your claude_desktop_config.json:
{
"mcpServers": {
"Sum-numbers": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Mandapati-SuryanarayanaRaju/mcp-deployment@main",
"mcp-server"
]
}
}
}
Location of claude_desktop_config.json:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Alternative Local Configuration
If you prefer to run the server locally, use:
{
"mcpServers": {
"sum-numbers": {
"command": "python",
"args": [
"-m",
"mcpserver"
],
"cwd": "/path/to/mcp-deployment"
}
}
}
Available Tools
sum_numbers
Sums a list of integers.
Parameters:
numbers(list[int]): A list of integers to be summed
Returns:
- (int): The sum of all integers in the list
Example:
result = sum_numbers([1, 2, 3, 4, 5])
# Returns: 15
Project Structure
mcp-deployment/
src/
mcpserver/
__init__.py
__main__.py
deployment.py
pyproject.toml
README.md
uv.lock
Dependencies
mcp[cli]>=1.23.1: Model Context Protocol library with CLI support- Python 3.13+
Development
To contribute or modify the server:
-
Install in development mode:
uv sync -
Edit
src/mcpserver/deployment.pyto add new tools or modify existing ones -
Test locally:
uv run mcp-server
License
This project is open source. See LICENSE file for details.
Support
For issues or questions, please open an issue on GitHub: mcp-deployment Issues
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Neon Database
MCP server for interacting with Neon Management API and databases