minecode-mcp 0.2.1__tar.gz → 0.2.2__tar.gz

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.
Files changed (51) hide show
  1. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/PKG-INFO +23 -3
  2. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/README.md +22 -2
  3. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/pyproject.toml +1 -1
  4. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/.gitignore +0 -0
  5. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/LICENSE +0 -0
  6. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/README.md +0 -0
  7. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/dimension/crystal_void.json +0 -0
  8. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/dimension_type/crystal_void.json +0 -0
  9. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/build_tower.mcfunction +0 -0
  10. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/give_kit.mcfunction +0 -0
  11. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/help.mcfunction +0 -0
  12. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/load.mcfunction +0 -0
  13. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/return.mcfunction +0 -0
  14. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/spawn_boss.mcfunction +0 -0
  15. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/teleport.mcfunction +0 -0
  16. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/function/tick.mcfunction +0 -0
  17. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/biome/crystal_plains.json +0 -0
  18. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/configured_feature/amethyst_clusters.json +0 -0
  19. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/configured_feature/crystal_spikes.json +0 -0
  20. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/configured_feature/ore_crystal_diamond.json +0 -0
  21. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/configured_feature/ore_crystal_emerald.json +0 -0
  22. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/noise_settings/crystal_void.json +0 -0
  23. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/placed_feature/amethyst_clusters.json +0 -0
  24. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/placed_feature/crystal_spikes.json +0 -0
  25. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/placed_feature/ore_crystal_diamond.json +0 -0
  26. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/crystal/worldgen/placed_feature/ore_crystal_emerald.json +0 -0
  27. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/minecraft/tags/function/load.json +0 -0
  28. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/data/minecraft/tags/function/tick.json +0 -0
  29. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/example/crystal_dimension/pack.mcmeta +0 -0
  30. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/__init__.py +0 -0
  31. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/brigadier.py +0 -0
  32. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/cache.py +0 -0
  33. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/config/config.json +0 -0
  34. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/config/prompt_config.json +0 -0
  35. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/handlers.py +0 -0
  36. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/knowledge/__init__.py +0 -0
  37. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/knowledge/migrations.json +0 -0
  38. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/packmeta.py +0 -0
  39. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/preprompts/assistant_preprompt.txt +0 -0
  40. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/scrappers/__init__.py +0 -0
  41. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/scrappers/minecraft_logs.py +0 -0
  42. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/scrappers/minecraftwiki.py +0 -0
  43. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/scrappers/misode.py +0 -0
  44. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/scrappers/mojira.py +0 -0
  45. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/scrappers/spyglass.py +0 -0
  46. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/server.py +0 -0
  47. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/minecode/tools.py +0 -0
  48. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/tests/test_knowledge.py +0 -0
  49. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/tests/test_live.py +0 -0
  50. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/tests/test_registry.py +0 -0
  51. {minecode_mcp-0.2.1 → minecode_mcp-0.2.2}/tests/test_regressions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: minecode-mcp
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: MCP Server for Minecraft datapack development with wiki, Spyglass, Misode, and Mojira integrations
5
5
  Project-URL: Homepage, https://github.com/AnCarsenat/minecode-mcp
6
6
  Project-URL: Repository, https://github.com/AnCarsenat/minecode-mcp
@@ -244,7 +244,8 @@ Configure your client (next section), then restart it. The client spawns the ser
244
244
  | Symptom | Cause and fix |
245
245
  |---------|---------------|
246
246
  | `command not found: minecode` | The script isn't on PATH. Use `python -m minecode.server`, or check `pip show -f minecode-mcp` |
247
- | `No module named minecode` | Wrong interpreter. Use the same Python you installed into — in a venv, use its absolute path in the client config |
247
+ | `No module named minecode` | Wrong interpreter. The client's `python` isn't the one you installed into — classic with pipx and venv installs. Use `"command": "minecode"` in the client config, or the interpreter's absolute path |
248
+ | `Error while finding module specification for 'minecode'` | `-m minecode` is not a valid entry point. The module form is `-m minecode.server` |
248
249
  | `AttributeError: 'Server' object has no attribute 'list_tools'` | You have mcp 2.x. Run `pip install "mcp>=1.25.0,<2"` |
249
250
  | Server starts, client shows no tools | Client config points at a different Python or a stale install. Restart the client fully — most only read MCP config at startup |
250
251
  | Everything hangs with no output | Expected when run directly, see above. If it happens *inside a client*, check the client's MCP logs |
@@ -277,6 +278,23 @@ Configure your client (next section), then restart it. The client spawns the ser
277
278
 
278
279
  Add to **User Settings** (`Ctrl+Shift+P` → "MCP: Open User Configuration"), or create `.vscode/mcp.json` in your workspace:
279
280
 
281
+ ```json
282
+ {
283
+ "servers": {
284
+ "minecode": {
285
+ "type": "stdio",
286
+ "command": "minecode",
287
+ "args": []
288
+ }
289
+ },
290
+ "inputs": []
291
+ }
292
+ ```
293
+
294
+ The `minecode` script is installed alongside the package and already points at the right interpreter, so this form works for pipx, venv, and `--user` installs alike.
295
+
296
+ The module form is equivalent **only if the package is importable from whichever `python` the client resolves**:
297
+
280
298
  ```json
281
299
  {
282
300
  "servers": {
@@ -290,7 +308,9 @@ Add to **User Settings** (`Ctrl+Shift+P` → "MCP: Open User Configuration"), or
290
308
  }
291
309
  ```
292
310
 
293
- > On Windows use `"command": "py"`. `py` is the Windows launcher and does not exist on macOS or Linux.
311
+ > ⚠️ VS Code spawns the server with a bare `python` from `PATH` — **not** your selected Python interpreter, and not a pipx or venv environment. With a pipx install this fails with `No module named minecode`, since the package lives in pipx's own venv. Use `"command": "minecode"` above, or the absolute interpreter path from the next section.
312
+
313
+ > On Windows use `"command": "py"` for the module form. `py` is the Windows launcher and does not exist on macOS or Linux.
294
314
 
295
315
  ### If `minecode` isn't on PATH
296
316
 
@@ -215,7 +215,8 @@ Configure your client (next section), then restart it. The client spawns the ser
215
215
  | Symptom | Cause and fix |
216
216
  |---------|---------------|
217
217
  | `command not found: minecode` | The script isn't on PATH. Use `python -m minecode.server`, or check `pip show -f minecode-mcp` |
218
- | `No module named minecode` | Wrong interpreter. Use the same Python you installed into — in a venv, use its absolute path in the client config |
218
+ | `No module named minecode` | Wrong interpreter. The client's `python` isn't the one you installed into — classic with pipx and venv installs. Use `"command": "minecode"` in the client config, or the interpreter's absolute path |
219
+ | `Error while finding module specification for 'minecode'` | `-m minecode` is not a valid entry point. The module form is `-m minecode.server` |
219
220
  | `AttributeError: 'Server' object has no attribute 'list_tools'` | You have mcp 2.x. Run `pip install "mcp>=1.25.0,<2"` |
220
221
  | Server starts, client shows no tools | Client config points at a different Python or a stale install. Restart the client fully — most only read MCP config at startup |
221
222
  | Everything hangs with no output | Expected when run directly, see above. If it happens *inside a client*, check the client's MCP logs |
@@ -248,6 +249,23 @@ Configure your client (next section), then restart it. The client spawns the ser
248
249
 
249
250
  Add to **User Settings** (`Ctrl+Shift+P` → "MCP: Open User Configuration"), or create `.vscode/mcp.json` in your workspace:
250
251
 
252
+ ```json
253
+ {
254
+ "servers": {
255
+ "minecode": {
256
+ "type": "stdio",
257
+ "command": "minecode",
258
+ "args": []
259
+ }
260
+ },
261
+ "inputs": []
262
+ }
263
+ ```
264
+
265
+ The `minecode` script is installed alongside the package and already points at the right interpreter, so this form works for pipx, venv, and `--user` installs alike.
266
+
267
+ The module form is equivalent **only if the package is importable from whichever `python` the client resolves**:
268
+
251
269
  ```json
252
270
  {
253
271
  "servers": {
@@ -261,7 +279,9 @@ Add to **User Settings** (`Ctrl+Shift+P` → "MCP: Open User Configuration"), or
261
279
  }
262
280
  ```
263
281
 
264
- > On Windows use `"command": "py"`. `py` is the Windows launcher and does not exist on macOS or Linux.
282
+ > ⚠️ VS Code spawns the server with a bare `python` from `PATH` — **not** your selected Python interpreter, and not a pipx or venv environment. With a pipx install this fails with `No module named minecode`, since the package lives in pipx's own venv. Use `"command": "minecode"` above, or the absolute interpreter path from the next section.
283
+
284
+ > On Windows use `"command": "py"` for the module form. `py` is the Windows launcher and does not exist on macOS or Linux.
265
285
 
266
286
  ### If `minecode` isn't on PATH
267
287
 
@@ -10,7 +10,7 @@ name = "minecode-mcp"
10
10
  # so a forgotten bump fails loudly instead of shipping a mislabelled release.
11
11
  # PyPI version numbers are permanent -- a published version can never be
12
12
  # replaced, only superseded. See "Releasing" in README.md.
13
- version = "0.2.1"
13
+ version = "0.2.2"
14
14
  description = "MCP Server for Minecraft datapack development with wiki, Spyglass, Misode, and Mojira integrations"
15
15
  readme = "README.md"
16
16
  license = "MIT"
File without changes
File without changes