CloudNet MCP Server
Provides an interface to the CloudNet Service REST API v3, enabling AI assistants to observe and manage CloudNet nodes, services, and players.
README
CloudNet MCP Server
This is a Model Context Protocol (MCP) server that provides an interface to the CloudNet Service REST API v3. This allows AI assistants to observe your CloudNet nodes and services safely and accurately.
🌟 Features
- Get Nodes & Information: List all cluster nodes and fetch detailed statistics.
- Manage Services: List active smart services and seamlessly execute commands on server consoles (
execute_service_command). - Player Management: Retrieve online players (
get_online_players), inspect detailed player profiles (get_player_info), kick players from the network (kick_player), exchange messages (send_player_message), and act on their behalf via proxy or downstream bounds (execute_player_command).
Developed based on the CloudNet Swagger Documentation.
🛠 Prerequisites
- Python 3.12+
uvPackage Manager
📦 Installation
git clone https://github.com/yourusername/cloudnet-mcp.git
cd cloudnet-mcp
uv sync
⚙️ Configuration
Set the following environment variables before running:
CLOUDNET_URL: The URL to the rest API (defaults tohttp://127.0.0.1:2812/api/v3)CLOUDNET_USER: The basic auth usernameCLOUDNET_PASSWORD: The basic auth password
🚀 Running
Using uv:
uv run cloudnet-mcp
🔌 Using with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"cloudnet": {
"command": "uv",
"args": [
"--directory",
"PATH/TO/YOUR/cloudnet-mcp",
"run",
"cloudnet-mcp"
],
"env": {
"CLOUDNET_URL": "http://127.0.0.1:2812/api/v3",
"CLOUDNET_USER": "your_user",
"CLOUDNET_PASSWORD": "your_password"
}
}
}
}
CloudNet MCP 服务器
这是一个模型上下文协议 (MCP) 服务器,提供了对 CloudNet Service REST API v3 的接口访问支持。它使得 AI 助手能够安全准确地观测您的 CloudNet 节点和服务。
🌟 功能特性
- 获取节点列表及信息: 查看整个 CloudNet 集群内所有节点的详细统计数据和信息
- 管理服务 (Services): 获取运行中的智能服务列表,支持在服务端控制台远程异步执行命令 (
execute_service_command) - 玩家管理与交互 (Player Management): 查询在线玩家列表或通过唯一下位码查询 (
get_online_players,get_player_info)、全局踢出玩家 (kick_player)、互发消息聊天 (send_player_message) 以及代替玩家执行代理层或子服命令 (execute_player_command)
基于 CloudNet 官方 Swagger API 文档开发.
🛠 前置要求
- Python 3.12 及以上版本
uv包管理器
📦 安装指南
git clone https://github.com/yourusername/cloudnet-mcp.git
cd cloudnet-mcp
uv sync
⚙️ 参数配置
在运行前,请配置以下环境变量:
CLOUDNET_URL: CloudNet REST API 地址 (默认:http://127.0.0.1:2812/api/v3)CLOUDNET_USER: 基本认证的用户名CLOUDNET_PASSWORD: 基本认证的密码
🚀 运行方法
使用 uv:
uv run cloudnet-mcp
🔌 在 Claude Desktop 中使用
将以下配置添加至您的 claude_desktop_config.json:
{
"mcpServers": {
"cloudnet": {
"command": "uv",
"args": [
"--directory",
"PATH/TO/YOUR/cloudnet-mcp",
"run",
"cloudnet-mcp"
],
"env": {
"CLOUDNET_URL": "http://127.0.0.1:2812/api/v3",
"CLOUDNET_USER": "您的用户名",
"CLOUDNET_PASSWORD": "您的密码"
}
}
}
}
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。