a21780816/mcp_server
3.2
If you are the rightful owner of mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Drone MCP Server is a modular command platform server designed for controlling drones using a structured command interface.
Tools
8
Resources
0
Prompts
0
Drone MCP Server
本專案為基於 [Modular Command Platform (MCP)] 架構的無人機控制伺服器,提供模組化指令操作能力,支援透過 GitHub Copilot Agent 控制無人機進行起飛、移動、升降與降落等行為。
⚙️ 系統需求
元件 | 版本需求 |
---|---|
Python | 3.11.x |
MCP | 最新版本 |
VSCode | 最新穩定版 |
🔧 安裝與啟動步驟
1. 安裝 Python 3.11 與虛擬環境
python3.11 -m venv venv
source venv/bin/activate
pip install mcp
2. 啟動 MCP Server
source venv/bin/activate
python server.py
server.py 中包含如 takeoff()
、land()
、move_by()
等無人機控制工具。
🔌 VSCode + Copilot 操作
請在 .vscode/settings.json
中設定 MCP Server:
"mcp": {
"servers": {
"drone-control": {
"command": "/完整路徑/venv/bin/python",
"args": ["/完整路徑/server.py"]
}
}
}
🛠 已註冊工具
指令名稱 | 說明 |
---|---|
takeoff() | 起飛並設定初始高度 |
land() | 降落並切換至靜止狀態 |
move_to(x,y,z) | 絕對座標移動 |
move_by(dx,dy,dz) | 相對位移 |
ascend(dz) | 垂直升高 |
descend(dz) | 垂直降低 |
get_location() | 查詢座標與飛行狀態 |
take_photo() | 拍照(不受狀態限制) |
Drone MCP Test Interface
說明 Drone MCP Server 對應之測試前端介面,可用於驗證工具註冊與指令觸發。
📦 環境需求
元件 | 版本需求 |
---|---|
Node.js | ≥ 18.x |
MCP CLI | 已全域安裝(如有需要) |
🚀 使用步驟
- 啟動測試網站
mcp dev server.py
- 確保 Drone MCP Server 已啟動並運行在背景。
🔍 功能說明
- 提供 MCP 工具測試介面
- 可用於驗證
takeoff()
、move_by()
等工具是否正常工作 - 輔助 GitHub Copilot Agent 測試流程