Skip to main content
Glama
tryp0xy1us

yifanli-mcp-add-demo

README.md
# 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:

```bash
uvx yifanli-mcp-add-demo
```

Or run from source in the project directory:

```bash
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:

```json
{
  "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`

TDQS

B3.2/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as adding two numbers, making it distinct by default.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The tool name 'add' is simple and follows a verb-based pattern.

Tool Count2/5

One tool is too few for a server's purpose, as it severely limits functionality and suggests an incomplete or trivial implementation. A single addition operation does not justify a full server scope.

Completeness1/5

The server is severely incomplete, as it only supports adding two numbers with no other arithmetic operations (e.g., subtract, multiply, divide) or related functionalities. This creates significant gaps for any practical use.