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: integerb: integer
Output:
- integer sum
Requirements
- Python 3.10+
uvinstalled 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