Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Commit b74ddf0

Browse files
authored
Remove space from MCP name in config (#51)
1 parent 1bb118d commit b74ddf0

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Build
22

33
on:
4-
- push
5-
- pull_request
4+
pull_request:
5+
push:
6+
branches:
7+
- main
68

79
env:
810
CARGO_PKG_VERSION: "0.2.${{ github.run_number }}"

.github/workflows/checks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Code Quality Checks
22

33
on:
4-
- push
5-
- pull_request
4+
pull_request:
65

76
jobs:
87
clippy:

src/install.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,12 @@ pub fn install_to_config<'a>(
8888
config.insert("mcpServers".to_string(), json!({}));
8989
}
9090

91-
config["mcpServers"]["Roblox Studio"] = json!({
91+
// Remove old key if it exists
92+
if let Some(Value::Object(mcp_servers)) = config.get_mut("mcpServers") {
93+
mcp_servers.remove("Roblox Studio");
94+
}
95+
96+
config["mcpServers"]["Roblox_Studio"] = json!({
9297
"command": &exe_path,
9398
"args": [
9499
"--stdio"

0 commit comments

Comments
 (0)