Skip to main content
Glama
Mandapati-SuryanarayanaRaju

MCP Deployment

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

Related MCP server: Fast MCP Local

Installation

Prerequisites

  • Python 3.13 or higher

  • uv package manager (recommended) or pip

Using uv (Recommended)

  1. 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
  2. Clone the repository:

    git clone https://github.com/Mandapati-SuryanarayanaRaju/mcp-deployment.git
    cd mcp-deployment
  3. Create a virtual environment and install dependencies:

    uv sync
  4. Run the MCP server:

    uv run mcp-server

Using pip

  1. Clone the repository:

    git clone https://github.com/Mandapati-SuryanarayanaRaju/mcp-deployment.git
    cd mcp-deployment
  2. Create a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  3. Install dependencies:

    pip install -e .
  4. 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:

  1. Install in development mode:

    uv sync
  2. Edit src/mcpserver/deployment.py to add new tools or modify existing ones

  3. 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

Available Tools

1 tool
sum_numbersA

Returns the sum of a list of integers provided as input. Args: numbers (list[int]): A list of integers to be summed.

ParametersJSON Schema
NameRequiredDescriptionDefault
numbersYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the tool returns a sum, which implies a read-only operation, but does not disclose any behavioral traits such as error handling, performance characteristics, or limitations (e.g., handling of empty lists or large numbers). This leaves gaps in understanding how the tool behaves beyond its basic function.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose in the first sentence, followed by a structured 'Args' section. Every sentence earns its place by providing essential information without redundancy, making it highly efficient and well-organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (one parameter, simple function) and the presence of an output schema (which handles return values), the description is mostly complete. It covers the purpose and parameter semantics adequately, but could improve by addressing behavioral aspects like error cases or performance, which are not covered by annotations or schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaningful context beyond the input schema, which has 0% description coverage. It explains that 'numbers' is 'a list of integers to be summed,' clarifying the parameter's purpose and type. However, it does not provide details on constraints like list size or integer ranges, leaving some semantic gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Returns the sum') and resource ('a list of integers'), making it immediately understandable. It distinguishes itself by focusing solely on summation without any ambiguity about its function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by specifying it sums integers from a list, but provides no explicit guidance on when to use this tool versus alternatives. Since there are no sibling tools, this is adequate but lacks any context about prerequisites or constraints.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • First observedsum_numbers

TDQS

A3.6/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap with other tools. The tool's purpose is clearly distinct by default.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns or conventions.

Tool Count2/5

A single tool is too few for a server named 'MCP Deployment', which suggests a broader scope related to deployment operations. This feels thin and incomplete for such a domain.

Completeness1/5

The server's name implies deployment-related functionality, but the single tool only performs a basic arithmetic sum. This is a severe mismatch, with no coverage of deployment tasks like provisioning, configuration, or monitoring.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A simple demonstration MCP server that provides a basic arithmetic tool for adding two numbers together, showcasing how to build custom MCP servers with input validation.
    10 npm
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal FastMCP server implementation that provides basic mathematical and greeting tools. Enables users to perform simple operations like adding numbers and greeting people by name through a lightweight MCP interface.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A simple demonstration MCP server built with FastMCP that exposes basic calculator operations (add, subtract, multiply, divide) as tools for MCP clients like GitHub Copilot Agent mode.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    A basic MCP server implementation using the FastMCP framework that provides utility tools for greetings and mathematical calculations. It is designed to demonstrate tool integration for AI-assisted development workflows like Cline.
    -