Melo
An agentic MCP server for Roblox Studio that provides over 45 tools for script diffing, playtest automation, and bulk instance manipulation. It enables AI agents to manage full development cycles within Roblox, including transaction-safe batch operations and real-time script reviews.
README
Linkedsword
Roblox Studio MCP server + plugin — 73 tools for script editing, bulk operations, playtest automation, and more.
Linkedsword combines the best of BoshyXD's community MCP (bulk ops, grep, builds library) with Roblox's official MCP (playtest automation, virtual input, multi-instance) into a single package, then adds script diff review on top.
Features
- Script diff review — GitHub-style inline diffs inside the Studio plugin. Accept or reject individual hunks before they're applied.
- 73 tools — navigation, search, script editing, instance manipulation, playtest control, spatial ops, and more.
- Batch operations — mass create, duplicate, and set properties across multiple instances.
- Activity feed — real-time log of every tool call with timing and status.
- Mode system — Full (read + write), Inspector (read-only), or auto-accept for unattended workflows.
Quick start
Prerequisites
- Node.js 18+
- Roblox Studio
1. Install the MCP server
# Claude Code
claude mcp add linkedsword -- npx -y linkedsword-mcp-server@latest
# Or add to your MCP config (Claude Desktop, Cursor, etc.)
{
"mcpServers": {
"linkedsword": {
"command": "npx",
"args": ["-y", "linkedsword-mcp-server@latest"]
}
}
}
2. Install the Studio plugin
# Clone the repo
git clone https://github.com/yannyhl/melo-mcp.git
cd melo-mcp
npm install
# Build and install the plugin
npm run install-plugin --workspace=packages/server
This builds Linkedsword.rbxmx and copies it to your local plugins folder:
- macOS:
~/Documents/Roblox/Plugins/ - Windows:
%LOCALAPPDATA%/Roblox/Plugins/
3. Enable HTTP requests in Studio
In Roblox Studio: File > Game Settings > Security > Allow HTTP Requests (enable it).
The plugin communicates with the MCP server over HTTP on localhost:3003. This setting is per-place.
4. Connect
- Open a place in Roblox Studio.
- Click Linkedsword in the Plugins toolbar.
- The widget should show a "Connected" status.
- Start using tools from your MCP client.
Architecture
MCP Client (Claude Code, Cursor, etc.)
── stdio ──> Linkedsword MCP Server (Node/TypeScript)
├── Diff Engine (Myers' algorithm)
└── HTTP Bridge (long-poll, localhost:3003)
── HTTP ──> Roblox Studio Plugin (Luau)
├── Tool Handlers
├── Diff Review UI
└── Activity Feed
Tool registry (73)
Navigation (6)
get_file_tree . get_project_structure . get_place_info . get_services . list_roblox_studios . set_active_studio
Search & Inspection (11)
search_files . search_objects . search_by_property . get_instance_properties . get_instance_children . get_class_info . get_selection . grep_scripts . mass_get_property . set_selection . get_descendants
Script Editing (9 — with diff staging)
get_script_source . set_script_source . patch_script . grep_replace . execute_luau . run_code . edit_script_lines . insert_script_lines . delete_script_lines
Instance Manipulation (13)
create_object . delete_object . set_property . mass_create_objects . mass_set_property . mass_duplicate . smart_duplicate . set_calculated_property . clone_object . reparent_object . group_objects . ungroup_objects . batch_operations
Playtest Automation (8)
start_playtest . stop_playtest . get_playtest_output . get_studio_mode . run_script_in_play_mode . user_mouse_input . user_keyboard_input . character_navigation
Diff & Meta (21)
get_diff_queue . resolve_diff . get_diff_history . get_activity_log . set_mode . rollback . redo . get_attribute . get_attributes . set_attribute . delete_attribute . get_tags . get_tagged . add_tag . remove_tag . capture_screenshot . export_build . import_build . list_library . insert_model . get_console_output
Spatial (5)
create_weld . get_bounding_box . raycast . fill_terrain . clear_terrain
Development
git clone https://github.com/yannyhl/melo-mcp.git
cd melo-mcp
npm install
# Build server
npx tsup packages/server/src/index.ts --format cjs --out-dir packages/server/dist --clean
# Build plugin
node packages/plugin/build-rbxmx.js
# Deploy plugin to Studio
cp packages/plugin/Linkedsword.rbxmx ~/Documents/Roblox/Plugins/Linkedsword.rbxmx
Local MCP config
Copy .mcp.json.example to .mcp.json and adjust the path if needed:
cp .mcp.json.example .mcp.json
Project structure
melo-mcp/
├── packages/
│ ├── server/ # MCP server (TypeScript)
│ │ ├── src/
│ │ │ ├── index.ts # Entry point
│ │ │ ├── services/
│ │ │ │ ├── bridge.ts # HTTP long-poll bridge
│ │ │ │ └── diff-engine.ts # Myers' diff computation
│ │ │ └── tools/
│ │ │ ├── navigation.ts # 6 tools
│ │ │ ├── search.ts # 11 tools
│ │ │ ├── script.ts # 9 tools
│ │ │ ├── instance.ts # 13 tools
│ │ │ ├── playtest.ts # 8 tools
│ │ │ ├── diff-meta.ts # 21 tools
│ │ │ └── spatial.ts # 5 tools
│ │ └── package.json
│ └── plugin/ # Roblox Studio plugin (Luau)
│ └── src/
│ └── plugin.luau # Single-file plugin (~4700 lines)
├── docs/
│ └── README.md # Internal handbook (architecture, caveats, LLM guide)
├── .mcp.json.example # MCP config template
└── README.md
Known limitations
- Heartbeat timeouts on rapid parallel tool calls (retry works).
- MCP server restart requires reloading your editor window.
user_mouse_inputanduser_keyboard_inputare not fully implemented in the plugin.capture_screenshotis not yet available.- Sandbox mode is declared but not implemented.
See docs/README.md for the full caveats list.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。