MCP server for Qinglong Panel task management
Project description
青龙面板 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 qinglong_mcp_server-0.1.5.tar.gz.
File metadata
- Download URL: qinglong_mcp_server-0.1.5.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f3b4fc72e7e3267217a201094d8bd2640d249d57320f5b221be52705280be96
|
|
| MD5 |
f2006777b4385e1046ca21f15133ab21
|
|
| BLAKE2b-256 |
f5d5adb0a894dd018516b3a2637dc9e3e268109a47f1383e3c7c7563091ed409
|
File details
Details for the file qinglong_mcp_server-0.1.5-py3-none-any.whl.
File metadata
- Download URL: qinglong_mcp_server-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99120b9cf0c9c5417dc937751f50ee1a657ff56ec7b7494db6088418de590840
|
|
| MD5 |
b8145c52ed9ac62f0e9c3ffa5172cf30
|
|
| BLAKE2b-256 |
9c75d3f62bf7c348ae3ddd4049898401984db63154e8c9c1055279b1eb45e1e0
|