stonecut-map-builder 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -3
- package/dist/doctor.js +1 -1
- package/dist/version.js +1 -1
- package/docs/setup-with-ai.md +34 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Stonecut Map Builder
|
|
2
2
|
|
|
3
|
-
Website: https://stonecut.studio/resources | npm: https://www.npmjs.com/package/stonecut-map-builder
|
|
3
|
+
Website: https://stonecut.studio/resources | npm: https://www.npmjs.com/package/stonecut-map-builder | YouTube: https://www.youtube.com/@StonecutStudios (videos coming soon)
|
|
4
4
|
|
|
5
5
|
Let your AI agent build Minecraft maps for you. Stonecut Map Builder gives Claude Code (or any agent
|
|
6
6
|
that supports MCP) its own private Minecraft test server on your computer. The agent sets it up,
|
|
@@ -13,10 +13,25 @@ paste on any server. Free and open source under the MIT license.
|
|
|
13
13
|
|
|
14
14
|
1. Install Node.js 20 or newer from https://nodejs.org (the LTS download).
|
|
15
15
|
2. Have Claude Code installed and signed in.
|
|
16
|
-
3. Add the tool to Claude Code:
|
|
16
|
+
3. Add the tool to Claude Code. If the `claude` command works in your terminal:
|
|
17
17
|
- macOS and Linux: `claude mcp add --scope user stonecut-map-builder -- npx -y stonecut-map-builder`
|
|
18
18
|
- Windows: `claude mcp add --scope user stonecut-map-builder -- cmd /c npx -y stonecut-map-builder`
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
If you only use the Claude Code extension in VS Code, `claude` is usually not on your PATH
|
|
21
|
+
("not recognized" / "command not found"). Run the copy bundled with the extension instead:
|
|
22
|
+
- Windows (PowerShell):
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
& (Get-ChildItem "$env:USERPROFILE\.vscode\extensions\anthropic.claude-code-*\resources\native-binary\claude.exe" | Sort-Object { [version]($_.FullName -replace '.*claude-code-([\d.]+).*','$1') } | Select-Object -Last 1).FullName mcp add --scope user stonecut-map-builder -- cmd /c npx -y stonecut-map-builder
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- macOS and Linux:
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
"$(ls -d ~/.vscode/extensions/anthropic.claude-code-*/resources/native-binary/claude | sort -V | tail -n 1)" mcp add --scope user stonecut-map-builder -- npx -y stonecut-map-builder
|
|
32
|
+
```
|
|
33
|
+
4. Start Claude Code (in VS Code: "Developer: Reload Window"), type `/mcp` and check that
|
|
34
|
+
stonecut-map-builder shows as connected.
|
|
20
35
|
5. Paste the setup prompt from [docs/setup-with-ai.md](docs/setup-with-ai.md). The agent installs
|
|
21
36
|
the skill (it asks first), asks your Minecraft version and modpack, shows what it will download,
|
|
22
37
|
and asks you to accept the Minecraft EULA. Nothing is installed without your yes.
|
package/dist/doctor.js
CHANGED
|
@@ -141,7 +141,7 @@ async function checkStart(start, settingsOk) {
|
|
|
141
141
|
return {
|
|
142
142
|
ok: false,
|
|
143
143
|
label: `The MCP server does not start: ${message(e)}`,
|
|
144
|
-
fix: settingsOk ? `Check the message above. To add it to Claude Code again: ${ADD_COMMAND}
|
|
144
|
+
fix: settingsOk ? `Check the message above. To add it to Claude Code again: ${ADD_COMMAND}. In VS Code, where the claude command is usually missing, use the VS Code command in the README's setup step 3.` : 'Fix the settings file first (see above).',
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
}
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.1';
|
|
2
2
|
export const SERVER_NAME = 'stonecut-map-builder';
|
package/docs/setup-with-ai.md
CHANGED
|
@@ -4,9 +4,30 @@ This is the prompt for the "Set up with AI" button on the downloads page. The pe
|
|
|
4
4
|
into their agent (for example Claude Code) after adding the tool with the one command shown on the
|
|
5
5
|
page:
|
|
6
6
|
|
|
7
|
+
If Claude Code is installed as a command-line tool (the `claude` command works in a terminal):
|
|
8
|
+
|
|
7
9
|
- macOS and Linux: `claude mcp add --scope user stonecut-map-builder -- npx -y stonecut-map-builder`
|
|
8
10
|
- Windows: `claude mcp add --scope user stonecut-map-builder -- cmd /c npx -y stonecut-map-builder`
|
|
9
11
|
|
|
12
|
+
If they only use the Claude Code extension in VS Code, `claude` is usually not on their PATH (the
|
|
13
|
+
terminal says "claude is not recognized" or "command not found"). The extension ships its own copy
|
|
14
|
+
of the CLI; these commands find the newest one and run it:
|
|
15
|
+
|
|
16
|
+
- Windows (PowerShell):
|
|
17
|
+
|
|
18
|
+
```powershell
|
|
19
|
+
& (Get-ChildItem "$env:USERPROFILE\.vscode\extensions\anthropic.claude-code-*\resources\native-binary\claude.exe" | Sort-Object { [version]($_.FullName -replace '.*claude-code-([\d.]+).*','$1') } | Select-Object -Last 1).FullName mcp add --scope user stonecut-map-builder -- cmd /c npx -y stonecut-map-builder
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
- macOS and Linux:
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
"$(ls -d ~/.vscode/extensions/anthropic.claude-code-*/resources/native-binary/claude | sort -V | tail -n 1)" mcp add --scope user stonecut-map-builder -- npx -y stonecut-map-builder
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
After adding it, restart Claude Code (in VS Code: run "Developer: Reload Window" from the command
|
|
29
|
+
palette).
|
|
30
|
+
|
|
10
31
|
## The prompt
|
|
11
32
|
|
|
12
33
|
```text
|
|
@@ -15,10 +36,19 @@ this computer. Follow these steps in order, and ask me before you install, downl
|
|
|
15
36
|
anything.
|
|
16
37
|
|
|
17
38
|
1. Check that the MCP server "stonecut-map-builder" is connected and that you can call its
|
|
18
|
-
status tool. If it is not connected, tell me the one command to add it for my system
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
39
|
+
status tool. If it is not connected, tell me the one command to add it for my system, ask me
|
|
40
|
+
to restart you after running it, and stop here.
|
|
41
|
+
- Claude Code in a terminal, macOS/Linux:
|
|
42
|
+
claude mcp add --scope user stonecut-map-builder -- npx -y stonecut-map-builder
|
|
43
|
+
- Claude Code in a terminal, Windows:
|
|
44
|
+
claude mcp add --scope user stonecut-map-builder -- cmd /c npx -y stonecut-map-builder
|
|
45
|
+
- Claude Code in VS Code (the claude command is usually not installed, so use the copy
|
|
46
|
+
bundled with the extension), Windows PowerShell:
|
|
47
|
+
& (Get-ChildItem "$env:USERPROFILE\.vscode\extensions\anthropic.claude-code-*\resources\native-binary\claude.exe" | Sort-Object { [version]($_.FullName -replace '.*claude-code-([\d.]+).*','$1') } | Select-Object -Last 1).FullName mcp add --scope user stonecut-map-builder -- cmd /c npx -y stonecut-map-builder
|
|
48
|
+
- Claude Code in VS Code, macOS/Linux:
|
|
49
|
+
"$(ls -d ~/.vscode/extensions/anthropic.claude-code-*/resources/native-binary/claude | sort -V | tail -n 1)" mcp add --scope user stonecut-map-builder -- npx -y stonecut-map-builder
|
|
50
|
+
If you are running inside VS Code, give me the VS Code command. To restart in VS Code I run
|
|
51
|
+
"Developer: Reload Window" from the command palette.
|
|
22
52
|
|
|
23
53
|
2. Install the map-builder skill. Run: npx -y stonecut-map-builder --skill-path
|
|
24
54
|
It prints the folder of the bundled skill. Ask me, then copy that map-builder folder into my
|
package/package.json
CHANGED