Stateless MCP server for Qinglong Panel - Cloud deployment version
Project description
青龙面板 MCP Server (Cloud Version)
这是青龙面板 MCP Server 的云部署版本,支持在每次调用时动态传递凭证参数,适合云端部署场景。
与标准版的区别
- 标准版 (
qinglong-mcp-server): 从本地.env文件读取配置,适合本地部署 - 云版 (
qinglong-mcp-cloud): 每次调用时传递凭证参数,无状态设计,适合云端部署
功能
list_qinglong_tasks: 查询青龙面板中的所有定时任务列表run_task: 执行任务并等待完成,自动返回执行日志(最多等待30秒)run_task_async: 异步启动任务,不等待执行完成get_task_logs: 获取青龙面板中指定任务的执行日志get_task_status: 获取青龙面板中指定任务的执行状态list_subscriptions: 查询青龙面板中的所有订阅列表run_subscription: 运行指定的订阅
安装
使用 pip 安装:
pip install qinglong-mcp-cloud
或使用 uvx(推荐,无需安装):
uvx qinglong-mcp-cloud
使用
在 MCP 客户端中使用
编辑 MCP 配置文件,添加以下内容:
{
"mcpServers": {
"qinglong-cloud": {
"command": "uvx",
"args": ["qinglong-mcp-cloud"]
}
}
}
配置文件位置(以 Kiro CLI 为例):
~/.kiro/settings/mcp.json
参数说明
每次调用工具时需要提供以下参数:
qinglong_url: 青龙面板的 URL(例如:https://your-qinglong-url.com)client_id: 青龙面板的 Client IDclient_secret: 青龙面板的 Client Secrettask_id: 任务 ID(任务相关操作需要)subscription_id: 订阅 ID(订阅相关操作需要)
使用示例
在对话中提供凭证信息:
帮我查询青龙面板的任务列表
URL: https://your-qinglong-url.com
Client ID: your_client_id
Client Secret: your_client_secret
AI 助手会自动调用相应的工具并传递这些参数。
安全建议
- 避免在公共频道或日志中暴露 Client Secret
- 建议配合会话级缓存或加密存储使用
- 定期轮换 Client ID 和 Client Secret
升级
pip install -U qinglong-mcp-cloud
项目地址
- PyPI: https://pypi.org/project/qinglong-mcp-cloud/
- GitHub: https://github.com/pholex/qinglong-mcp-cloud
联系方式
Email: pholex@gmail.com
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
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_cloud-0.1.2.tar.gz.
File metadata
- Download URL: qinglong_mcp_cloud-0.1.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e6477b642982bc6cc98e3cc4b566a1a2150cf9a93d136ab6148dd8abe6ac0d4
|
|
| MD5 |
67579dc0fa2e2129789ffa0ea851db4a
|
|
| BLAKE2b-256 |
eeb3d9c4738bab40fbb4095a5d6408cdb9da90fdd300c520feecd26ee5e61c3b
|
File details
Details for the file qinglong_mcp_cloud-0.1.2-py3-none-any.whl.
File metadata
- Download URL: qinglong_mcp_cloud-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.0 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 |
347a32c4a8fa1509a5329dba385e8f601a9324ec3f4a86d34adab642cea8d4cf
|
|
| MD5 |
733aa205b415c134e1814d5b33fb5fe0
|
|
| BLAKE2b-256 |
6e96047f4a33a8801070b75218aecb04687a2df0850828109b6cbbb44bf8dd34
|