MCP Hub
Back to servers

yifanli-mcp-add-demo

A minimal Model Context Protocol server that provides a simple tool for adding two integers. It serves as a demonstration of the official Python MCP SDK and is designed for local execution via stdio.

glama
Updated
Mar 29, 2026

yifanli-mcp-add-demo

A minimal MCP Server built with the official Python MCP SDK.

Features

  • Runs locally over stdio
  • Exposes one MCP tool: add
  • Can be launched with uvx yifanli-mcp-add-demo

Tool

add

Adds two integers and returns the result.

Inputs:

  • a: integer
  • b: integer

Output:

  • integer sum

Requirements

  • Python 3.10+
  • uv installed locally

Run Locally

Use uvx after publishing the package:

uvx yifanli-mcp-add-demo

Or run from source in the project directory:

uv run python -m yifanli_mcp_add_demo

Cherry Studio Config

If you want to connect this server in Cherry Studio with stdio, use:

  • Command: uvx
  • Arguments: yifanli-mcp-add-demo

Equivalent JSON-style config:

{
  "mcpServers": {
    "yifanli-mcp-add-demo": {
      "command": "uvx",
      "args": ["yifanli-mcp-add-demo"]
    }
  }
}

Package

This project is packaged for publishing to PyPI and local installation via uvx.

Source code lives in:

  • src/yifanli_mcp_add_demo

Reviews

No reviews yet

Sign in to write a review