Metadata-Version: 2.3
Name: yifanli-mcp-add-demo
Version: 0.1.2
Summary: A minimal MCP server that exposes an add tool over stdio.
Keywords: mcp,model-context-protocol,server,stdio,demo
Author: tryp0xy1us
Author-email: tryp0xy1us <tryp0xy1us@outlook.com>
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: mcp[cli]>=1.26.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# 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`
