PyCopilot
Click on "Install 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., "@PyCopilotCalculate 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/ # 虚拟环境目录相关资源
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.9ISC
- AlicenseNot gradedqualityDmaintenanceA simple tutorial MCP server that provides a basic addition tool for adding two numbers together, demonstrating fundamental MCP server implementation.8ISC
- FlicenseBqualityCmaintenanceA simple MCP server that provides tools for adding numbers, creating text files, and logging entries.31
Related MCP Connectors
A MCP server for the Frankfurter API for currency exchange rates.
An MCP server that integrates with Discord to provide AI-powered features.
An MCP server giving access to Grafana dashboards, data and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/qilincoder/PyCopilot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server