
TP-Link Omada 控制器的 MCP 服务器。使用您偏好的 AI 代理查看 TP-Link Omada 控制器上的所有信息。
概览
自 ,该仓库不包含人工编写的代码。所有规划、开发和代码审查均由 AI 代理执行。人类仍处于指导、决策和最终审批的环节中——但每一行代码、每一次测试、每一次提交和每一次公关都是 AI 的工作。这不是实验。这就是现在的工作方式。了解更多 一台用TypeScript实现的模型上下文协议(MCP)服务器,向AI副驾驶和自动化工作流程开放TP-Link Omada控制器API。该服务器对控制器进行认证,列出站点、设备和连接的客户端,并提供通用工具以调用任意Omada API端点。 用Omada控制器5.x和6.x版本测试 1. (或者用 npm run docker:build 本地构建): 2. .编辑你的 Claude Desktop 配置文件:- : ~/Library/Application Support/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config。
概述(AI 翻译)
🤖 AI开发的仓库
自2026年3月2日起,本仓库不包含人工编写的代码。
所有的规划、开发和代码审查均由人工智能代理执行。人类仍处于指令、决策和最终审批的环节中——但每一行代码、每一次测试、每一次提交和每一次公关都是人工智能的工作。
这不是实验。这就是现在的运作方式。了解更多
一台用TypeScript实现的模型上下文协议(MCP)服务器,向AI副驾驶和自动化工作流程开放TP-Link Omada控制器API。该服务器对控制器进行认证,列出站点、设备和连接的客户端,并提供通用工具以调用任意Omada API端点。
兼容性: 测试了 Omada 控制器 5.x 和 6.x 版本
快速启动
使用 Claude Desktop(标准版)
-
拉取 Docker 镜像(或用
npm run docker:build本地构建): -
将MCP服务器添加到Claude桌面配置。编辑你的Claude桌面配置文件:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
TP-Link Omada MCP server
🤖 AI-Developed Repository
Since March 2, 2026, this repository contains no human-written code.
All planning, development, and code review is performed by AI agents. Humans remain in the loop for direction, decisions, and final approval — but every line of code, every test, every commit, and every PR is the work of AI.
This is not an experiment. This is how it works now. Know more
A Model Context Protocol (MCP) server implemented in TypeScript that exposes the TP-Link Omada controller APIs to AI copilots and automation workflows. The server authenticates against a controller, lists sites, devices, and connected clients, and offers a generic tool to invoke arbitrary Omada API endpoints.
Compatibility: Tested with Omada Controller versions 5.x and 6.x
Quick Start
Using with Claude Desktop (stdio)
-
Pull the Docker image (or build it locally with
npm run docker:build):docker pull jmtvms/tplink-omada-mcp:latest -
Add the MCP server to Claude Desktop configuration. Edit your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following configuration:
{ "mcpServers": { "tplink-omada": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "OMADA_BASE_URL=https://your-omada-controller.local", "-e", "OMADA_CLIENT_ID=your-client-id", "-e", "OMADA_CLIENT_SECRET=your-client-secret", "-e", "OMADA_OMADAC_ID=your-omadac-id", "-e", "OMADA_SITE_ID=your-site-id", "-e", "OMADA_STRICT_SSL=false", "jmtvms/tplink-omada-mcp:latest" ] } } }Replace the environment variable values with your actual Omada controller credentials.
-
Restart Claude Desktop to load the new MCP server configuration.
-
Verify the connection by asking Claude to list your Omada sites or devices.
Using Docker Containers
CLI/stdio Container
docker run -it --rm \
--env-file .env \
jmtvms/tplink-omada-mcp:latest
HTTP Server Container
docker run -d \
--env-file .env \
-e MCP_SERVER_USE_HTTP=true \
-e MCP_HTTP_BIND_ADDR=0.0.0.0 \
-p 3000:3000 \
jmtvms/tplink-omada-mcp:latest
The HTTP server will be available at http://localhost:3000/mcp.
Features
- OAuth client-credentials authentication with automatic token refresh
- Tools for retrieving sites, network devices, and connected clients
- Generic Omada API invoker for advanced automation scenarios
- Environment-driven configuration
- Per-tag Omada OpenAPI references stored under
docs/openapi - Ready-to-use devcontainer with a companion Omada controller service
Getting started
Prerequisites
安装
docker run -i --rm -e OMADA_BASE_URL=https://your-omada-controller.local -e OMADA_CLIENT_ID=your-client-id -e OMADA_CLIENT_SECRET=your-client-secret -e OMADA_OMADAC_ID=your-omadac-id -e OMADA_SITE_ID=your-site-id -e OMADA_STRICT_SSL=false jmtvms/tplink-omada-mcp:latest配置
{
"mcpServers": {
"tplink-omada": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "OMADA_BASE_URL=https://your-omada-controller.local",
"-e", "OMADA_CLIENT_ID=your-client-id",
"-e", "OMADA_CLIENT_SECRET=your-client-secret",
"-e", "OMADA_OMADAC_ID=your-omadac-id",
"-e", "OMADA_SITE_ID=your-site-id",
"-e", "OMADA_STRICT_SSL=false",
"jmtvms/tplink-omada-mcp:latest"
]
}
}
}