ABB RobotStudio MCP Server

ABB RobotStudio MCP Server

MCP server for ABB RobotStudio and robot controllers, exposing 55 tools via SDK and RWS transports for simulation, programming, and monitoring.

Category
访问服务器

README

ABB RobotStudio MCP Server — LiskinLabs Edition

v2.0.0 — Fork of eliasbitsch/abb-robotstudio-mcp with TcpListener transport, 55 MCP tools, AutoLoad, and security hardening.

Model Context Protocol server for ABB RobotStudio and ABB robot controllers.

Exposes 55 tools across two transports:

  • rs_* (31 tools) — RobotStudio SDK via TcpListener Add-In. Inspect/edit stations, targets, paths, modules, variables, IO, configs. Drive simulation. Capture screenshots.
  • rws_* (24 tools) — Robot Web Services REST API direct to controller. Motors, program control, IO, files, mastership, event log.

Tested: ABB RobotStudio 2025 + IRB 4600 Virtual Controller (IRC5).


✨ Improvements over original v1.0.0

Feature Original LiskinLabs v2.0.0
HTTP Transport HttpListener — needs netsh http add urlacl (admin) TcpListener — zero admin rights
Tools 50 55 (+5 new)
Add-In startup Manual "Load Add-In" each session AutoLoad
Screenshot rs_get_screenshot
Event Log (SDK) rs_get_execution_errors
Variable listing rs_list_variables (type/module filter)
Bounding Box rs_get_station_objects?bbox=true
IO Signals (SDK) Stubs → "not implemented" ✅ Real API
RAPID upload Raw UTF-8 ✅ BOM-free + CRLF
Simulation reset Stop only ✅ Stop + PP reset
Request timeout None ✅ 15-30s AbortController
Path validation N/A ✅ Screenshot sandboxed
CORS N/A ✅ Removed (not a browser API)

New MCP Tools in v2.0.0

Tool Description
rs_get_screenshot Capture 3D view → base64 PNG (width/height params)
rs_get_execution_errors Controller event log via SDK (count param)
rs_list_variables RAPID variables with type/module filters
rs_get_station_objects Now supports bbox=true for position + dimensions

Quick Start

1. Build

git clone https://github.com/LiskinLabs/abb-robotstudio-mcp.git
cd abb-robotstudio-mcp

# TypeScript MCP Server
cd src && npm install && npm run build && cd ..

# C# Add-In
cd addin && dotnet build ClaudeBridge.csproj && cd ..

2. Install Add-In

# As Administrator (copies to Program Files)
powershell -ExecutionPolicy Bypass -File install-addin.ps1

# Or specify RobotStudio version:
powershell -ExecutionPolicy Bypass -File install-addin.ps1 -RobotStudioVersion "2024"

3. Configure Claude Code

Add to .mcp.json:

{
  "mcpServers": {
    "abb-robotstudio": {
      "command": "node",
      "args": ["C:/path/to/abb-robotstudio-mcp/dist/index.js"],
      "env": {
        "ABB_BRIDGE_URL": "http://localhost:58080",
        "ABB_RWS_URL": "http://localhost:80",
        "ABB_RWS_USER": "Default User",
        "ABB_RWS_PASS": "robotics"
      }
    }
  }
}

4. Launch RobotStudio

  1. Open a station with Virtual Controller
  2. Add-In loads automatically (AutoLoad)
  3. Verify: curl http://localhost:58080/ping

No admin rights needed — TcpListener binds to 127.0.0.1 natively.


Architecture

AI Assistant ←→ MCP stdio ←→ TypeScript Server ←→ HTTP ←→ C# Add-In (TcpListener :58080)
                                                     ←→ REST → Controller RWS (:80)
  • C# Add-In (.NET 4.8): TcpListener(IPAddress.Loopback, 58080), manual HTTP parsing, 32+ endpoints, UI thread marshaling
  • TypeScript (Node.js 18+): 55 MCP tools, AbortController timeouts, structured error handling

All 55 Tools

SDK (rs_*) — 31 tools

rs_ping rs_get_station rs_get_station_objects rs_save_station rs_get_tasks rs_get_modules rs_read_module rs_write_module rs_read_variable rs_write_variable rs_list_variables rs_get_execution_errors rs_get_screenshot rs_controller_status rs_start_simulation rs_stop_simulation rs_pause_simulation rs_reset_simulation rs_simulation_status rs_set_sim_speed rs_get_paths rs_get_path_targets rs_create_path rs_create_target rs_read_config rs_write_config rs_check_collisions rs_get_position rs_get_io_signals

RWS (rws_*) — 24 tools

rws_controller_status rws_set_motors rws_start_program rws_stop_program rws_reset_pp rws_execution_state rws_get_tasks rws_get_modules rws_read_module rws_write_module rws_read_variable rws_write_variable rws_get_position rws_get_io_signals rws_read_io rws_write_io rws_get_speed_override rws_set_speed_override rws_event_log rws_list_files rws_read_file rws_write_file rws_request_mastership rws_release_mastership


Environment Variables

Variable Default Purpose
ABB_BRIDGE_URL http://localhost:58080 Add-In TcpListener endpoint
ABB_RWS_URL http://localhost:80 Controller RWS (IP for real robots)
ABB_RWS_USER Default User RWS auth user
ABB_RWS_PASS robotics RWS auth password

Safety

⚠️ These tools can move real hardware (rws_set_motors, rws_start_program, rws_write_*). Use a virtual controller for development. Point ABB_RWS_URL at a physical robot only when you fully understand the risks.


Credits & Attribution

  • Original author: Elias Bitschabb-robotstudio-mcp (MIT License). The 50-tool foundation, SDK/RWS dual-transport architecture, and ClaudeBridge Add-In concept.
  • Improvements: LiskinLabs — Silvestr Liskin & Claude Code
    • TcpListener transport (eliminates admin rights requirement)
    • 5 new MCP tools (screenshot, event log, variable listing, bounding box, IO signals)
    • RAPID upload fixes (BOM-free UTF-8, CRLF normalization, module cleanup)
    • AutoLoad manifest, security hardening, request timeouts
  • Inspiration: zhou-zhichao/robotstudio-mcp — pioneered the TcpListener approach for Windows permission handling.

License

MIT — see LICENSE

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选