Fabric and NeoForge. Thanks to @heide-oficial for the review in #33 and for the private report and
patch behind the Security section. The project now lives at <https://github.com/denfry/mcpfabric>.
### Changed
- The agent database (`~/.mcpfabric/agent.db`) is created the first time an agent tool is called,
not when the MCP server starts.
- A background job belongs to the MCP session that started it. Other sessions cannot see or cancel
it, and closing the session (or its HTTP idle timeout) cancels it. Every job also stops after
31 minutes.
- New capability group `crafting` (`craft.place`), reported only with `enablePlayerControl`.
`recipes` now covers just the read-only `recipes.query`.
### Security
- `perception.scan`, `perception.entities` and `perception.blocks` now require `enableVision`, and
`container.state` requires `enablePlayerControl`, like the other methods of their groups.
`info.capabilities` reports `perception` only with `enableVision`.
- In multiplayer, `session.info` reports an opaque world id (`mp:` plus an HMAC of the server address
under the new `worldIdKey` config value) instead of the address and the server list entry's name.
Agent memory stored under `mp:<address>` is not found under the new id; `MCPFABRIC_WORLD` can still
force one.
### Dependencies
- MCP server: `hono`, `fast-uri`, `ip-address` and `qs` updated for their published security fixes,
`@modelcontextprotocol/sdk` 1.31.0. Gradle wrapper 9.8.0.
### Fixed
- `perception.blocks` returns `bad_request` instead of `internal` for a malformed `positions` item.
- `container.open` refuses blocks out of reach and blocks that do not open a menu, instead of using
the held item on them (placing a block, flipping a lever).
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }