
Tracerlab
io.github.atharv-santosh由 GitHub 账号 atharv-santosh 发布v0.1.6更新于 Oct 29, 2026
Build and verify Cisco Packet Tracer networks from an AI agent.
概览
让 AI 代理构建、配置并排查 Cisco Packet Tracer 9 网络的 MCP 服务器,涵盖设备、连线、IOS 配置与路由。
- 可以做什么
- 在运行中的 Packet Tracer 里添加设备并连线
- 下发 IOS 配置、分配地址并设置路由协议
- 执行 ping 并诊断网络故障
- 在未打开 Packet Tracer 时读写 .pkt 文件
- 一次调用即可搭建现成实验(单臂路由、OSPF/EIGRP/RIP、NAT、HSRP、EtherChannel、IPv6)
- 查看设备上的运行配置
- 适用场景
- 适合希望用一句提示词让助手搭建或调试 Cisco Packet Tracer 拓扑、而不必在图形界面里逐项点击的网络工程师、学生和教师,也适合直接查看和修改 .pkt 文件。
- 运行要求
- 通过 uvx 从 PyPI 包 tracerlab 以 stdio 在本地运行。需要安装 uv 和 Cisco Packet Tracer 9;需一次性安装 Packet Tracer 扩展并重启,且 PT-MCP Bridge 窗口须处于运行状态。未声明任何 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Tracerlab,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Tracerlab
MCP server for Cisco Packet Tracer 9. Lets Claude Code (or any MCP client) build networks in a running Packet Tracer: add devices, cable them, push IOS configs, address everything, set up routing, ping, and find what's broken. It can also read and write .pkt files without Packet Tracer open.
[Building a 3 router OSPF ring, cabling it, addressing it and pinging across it]
Twelve devices, twelve cables, OSPF across the ring and 6/6 pings, from one prompt.
There are also some ready-made labs (router on a stick, OSPF/EIGRP/RIP topologies, NAT, HSRP, EtherChannel, IPv6) that build in one call.
Install
Needs uv and Packet Tracer 9.
Register the server with your MCP client:
Cursor (~/.cursor/mcp.json), VS Code (.vscode/mcp.json) and Codex take the same command:
Then install the Packet Tracer side once:
Restart Packet Tracer and answer Yes when it asks about the new script module. A small "PT-MCP Bridge" window shows up and goes green once the MCP server is running.
If something isn't connecting, run uvx tracerlab doctor.
Use
Open Packet Tracer, start Claude Code and ask for things like:
- build a 3 router OSPF ring with a PC on each LAN and ping everything
- set up router on a stick with VLANs 10, 20, 30 and DHCP
- what's wrong with this network
- show me the running config on R1
examples/enterprise-two-site.pkt is a bigger network built entirely through the tools.
Tests
mcp-name: io.github.atharv-santosh/tracerlab
来源:README.md,提交 17f45fc
工具
0版本历史
1- v0.1.6最新Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分