青龙面板 MCP Server
这是一个 Model Context Protocol (MCP) server,用于查询和执行青龙面板中的定时任务。
说明:本仓库包含源代码,供开发者参考。普通用户请直接通过 pip 或 uvx 安装使用。
功能
list_qinglong_tasks: 查询青龙面板中的所有定时任务列表run_task: 执行任务并等待完成,自动返回执行日志(最多等待30秒)run_task_async: 异步启动任务,不等待执行完成get_task_logs: 获取青龙面板中指定任务的执行日志get_task_status: 获取青龙面板中指定任务的执行状态list_subscriptions: 查询青龙面板中的所有订阅列表run_subscription: 运行指定的订阅
安装
使用 pip 安装:
pip install qinglong-mcp-server
或使用 uvx(推荐,无需安装):
uvx qinglong-mcp-server
配置
首次运行时会自动创建配置文件模板。
编辑配置文件:
macOS/Linux:
nano ~/.qinglong-mcp/.env
Windows:
notepad %USERPROFILE%\.qinglong-mcp\.env
填入你的青龙面板信息:
QINGLONG_URL=https://your-qinglong-url.com
CLIENT_ID=your_client_id
CLIENT_SECRET=your_client_secret
使用
在 MCP 客户端中使用
编辑 MCP 配置文件,添加以下内容:
{
"mcpServers": {
"qinglong": {
"command": "uvx",
"args": ["qinglong-mcp-server"]
}
}
}
配置文件位置(以 Kiro CLI 为例):
~/.kiro/settings/mcp.json
开发测试
运行测试脚本:
./test_query_tasks.py
升级
pip install -U qinglong-mcp-server
项目地址
- PyPI: https://pypi.org/project/qinglong-mcp-server/
- GitHub: https://github.com/pholex/qinglong-mcp-server
联系方式
Email: pholex@gmail.com
Metadata
Release files for qinglong-mcp-server 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qinglong_mcp_server-0.1.5.tar.gz | 9.3 kB | Without provenance | Details for qinglong_mcp_server-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qinglong_mcp_server-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for qinglong_mcp_server-0.1.5-py3-none-any.whl |
Total release size: 19.4 kB
Release files / qinglong_mcp_server-0.1.5.tar.gz
| Download URL | qinglong_mcp_server-0.1.5.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f3b4fc72e7e3267217a201094d8bd2640d249d57320f5b221be52705280be96
|
|
BLAKE2b-256 checksum How to use checksums |
f5d5adb0a894dd018516b3a2637dc9e3e268109a47f1383e3c7c7563091ed409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / qinglong_mcp_server-0.1.5-py3-none-any.whl
| Download URL | qinglong_mcp_server-0.1.5-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99120b9cf0c9c5417dc937751f50ee1a657ff56ec7b7494db6088418de590840
|
|
BLAKE2b-256 checksum How to use checksums |
9c75d3f62bf7c348ae3ddd4049898401984db63154e8c9c1055279b1eb45e1e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for qinglong-mcp-server 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.