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": "您的密码"
}
}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.