Add your description here
Project description
CF-Polygon-MCP
基于 Codeforces Polygon API 的 MCP 工具集,提供一系列工具函数用于管理 Polygon 平台上的题目。
功能特性
- 获取题目列表,支持多种筛选条件
- 获取题目详细信息(时限、内存限制等)
- 获取题目描述、题解、输入输出格式等
- 获取题目解决方案
- 获取题目验证器、检查器、交互器等
- 获取比赛题目列表
安装
- 确保你已经安装了 Python 3.13 及以上版本。
- 克隆本项目:
git clone https://github.com/gsh20040816/cf-polygon-mcp.git
cd cf-polygon-mcp
- 安装依赖:
uv sync
配置
在使用前,需要设置 Polygon API 密钥。可在 Polygon 设置页面 获取 API Key 和 Secret。
将环境变量添加到你的 shell 配置文件(如 ~/.bashrc 或 ~/.zshrc)中:
export POLYGON_API_KEY=your_key
export POLYGON_API_SECRET=your_secret
使用方法
uv run main.py
许可证
说明
本项目由 AI 生成。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cf_polygon_mcp-0.1.0.tar.gz
(22.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cf_polygon_mcp-0.1.0.tar.gz.
File metadata
- Download URL: cf_polygon_mcp-0.1.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccea6efb8448429e7d57e47684ac532ad41728958bd6d7d9947ed0070530dbc8
|
|
| MD5 |
0093c4e6788d4388448edff59b2fb334
|
|
| BLAKE2b-256 |
346a93a69ecaaff0fe73aa28ff1a4286f65dc7174fdc13dee38e8d235094d0fb
|
File details
Details for the file cf_polygon_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cf_polygon_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6749f1d5fe85959427698ac72dd02951f70eb1f74939277f71c9bdc00e75011e
|
|
| MD5 |
447a22c7156410a2aae7c12171ec3df3
|
|
| BLAKE2b-256 |
f1c92cb0220fa803f7b1c86e3c87b124e5e3062055bfd8868a5f2387dc3d1eae
|