PyCopilot
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PyCopilot Calculate the sum of 123 and 456."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PyCopilot
一个基于 MCP (Model Context Protocol) 的 Python 服务端项目, 支持多个工具。
功能特性
加法计算工具 (add): 支持两个数字相加
Related MCP server: Addition MCP Server
环境要求
Python 3.10+
uv (Python 包管理器)
安装
克隆或下载本项目
安装依赖:
uv sync运行
项目支持多种运行方式:
方式 1: 使用 uvx (推荐)
uvx --from . pycopilot或者直接安装后运行:
uv tool install .
uvx pycopilot方式 2: 使用 uv run
uv run pycopilot方式 3: 作为 Python 模块运行
python -m pycopilot方式 4: 传统方式 (向后兼容)
uv run main.py
# 或
python main.py在 Cherry Studio 中使用
配置步骤
打开 Cherry Studio
进入设置 -> MCP 服务器配置
添加新的 MCP 服务器,配置如下:
推荐配置 - 使用 uvx
服务器名称: PyCopilot
命令:
uvx参数:
[
"--from",
"D:\\Home\\Projects\\PyCopilot",
"pycopilot"
]工作目录: (可选)
D:\Home\Projects\PyCopilot备选配置 1 - 使用 uv run
命令:
uv参数:
[
"run",
"--directory",
"D:\\Home\\Projects\\PyCopilot",
"pycopilot"
]配置文件示例
如果 Cherry Studio 支持配置文件导入,可以使用以下 JSON 配置:
推荐配置 - uvx 方式
{
"mcpServers": {
"pycopilot": {
"command": "uvx",
"args": [
"--from",
"D:\\Home\\Projects\\PyCopilot",
"pycopilot"
]
}
}
}备选配置 - uv run 方式
{
"mcpServers": {
"pycopilot": {
"command": "uv",
"args": [
"run",
"--directory",
"D:\\Home\\Projects\\PyCopilot",
"pycopilot"
]
}
}
}使用示例
配置完成后,在 Cherry Studio 的对话中,你可以使用以下方式调用加法工具:
请帮我计算 123 + 456MCP 服务端会自动调用 add 工具进行计算并返回结果。
可用工具
add - 加法计算
描述: 计算两个数字的和
参数:
a(number): 第一个数字b(number): 第二个数字
返回: 两个数字的和
示例:
{
"a": 10,
"b": 20
}返回: "The sum of 10 and 20 is 30"
项目结构
PyCopilot/
├── src/
│ └── pycopilot/
│ ├── __init__.py # 包初始化文件
│ ├── __main__.py # 模块入口点
│ └── server.py # MCP 服务端核心实现
├── main.py # 向后兼容的入口点
├── pyproject.toml # 项目配置文件(含 scripts 配置)
├── README.md # 项目说明文档
└── .venv/ # 虚拟环境目录相关资源
Available Tools
2 toolsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools are clearly distinct - one adds and one multiplies. There is no ambiguity between them.
Both tools follow a consistent verb-only naming convention (add, multiply), which is simple and predictable.
Two tools feels very thin, even for a simple calculator server. A set like this could reasonably include subtract, divide, or other basic operations, but for its very narrow apparent scope it's borderline.
The tool surface is extremely limited, covering only two basic arithmetic operations. There's no indication of a broader domain purpose that would justify additional tools, but for a calculator-style server this is somewhat acceptable yet still quite thin.
Maintenance
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA simple MCP server that provides integer addition functionality. Enables users to perform basic arithmetic operations by adding two integers together through natural language interactions.-
- AlicenseNot gradedqualityDmaintenanceA 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.ISC
- AlicenseNot gradedqualityDmaintenanceA simple tutorial MCP server that provides a basic addition tool for adding two numbers together, demonstrating fundamental MCP server implementation.ISC
- FlicenseBqualityDmaintenanceA simple MCP server that provides tools for adding numbers, creating text files, and logging entries.31-