fabricator-panel-mcp
Beta. Young, and the way the client is configured may change between releases.
An MCP server for the Fabricator Minecraft panel. It runs on your machine, next to your MCP client, and talks to your panel over its HTTP API using an API token you mint in the panel's Settings, under Model Context Protocol.
It is built for one job: working out why a modpack server is crashing. Read the log, see what is installed, check a mod against Modrinth, remove or update it, restart.
This package is not a security boundary. What a token may do is decided and enforced by the panel, against the token, on the server side. The tool set here is a curation layer: it is narrower than what the token can reach, and it stays honest about the difference.
Connect your MCP client
Paste this into your MCP client configuration. Create the token in Fabricator's Settings → Model Context Protocol.
{
"mcpServers": {
"fabricator": {
"command": "uvx",
"args": ["fabricator-panel-mcp"],
"env": {
"FABRICATOR_URL": "http://YOUR-PANEL:5000",
"FABRICATOR_TOKEN": "YOUR_API_TOKEN"
}
}
}
}
Requirements
- The panel, reachable from this machine, with MCP access enabled in Settings → Model Context Protocol.
- An API token.
readis the recommended default — it cannot change anything. Usemanageonly when you want the assistant to be able to act. uvinstalled and on yourPATH. This is the one hard prerequisite, and it is not bundled with any MCP client. Ifuvis missing, your client will report the Fabricator server as failing to launch or disconnecting at startup — it looks like a broken server, not like a panel or token problem, because the process never starts. Installinguvfixes it.
What the assistant can do
The token's scope decides this, and the panel enforces it — not this package.
| Scope | What it reaches |
|---|---|
read |
List servers and their status · read console output and crash logs · list/identify installed mods and audit their compatible updates · batch-check Modrinth project compatibility · inspect exact Modrinth versions and search modpacks (catalog only) · CPU and memory use · server-specific Java/runtime and install diagnostics · loader and Minecraft-version discovery · backup coverage, schedules, and snapshot metadata · search Modrinth |
manage |
Everything above, plus: start / stop / restart a server · start or retry server installation using its saved configuration · install or update one mod by Modrinth project id · delete installed mod jars |
read is the documented default. It answers every diagnostic question and cannot change
anything on your server.
Whatever the scope, a large part of the panel is refused to every token: the console, file reading and writing, server settings, creating or deleting servers, Java installation, the updater, backup creation and snapshot restore, world import, and all player administration including the player lists. The read-only backup and snapshot metadata tools do not expose archive paths or files. Those refusals happen in the panel, and this package surfaces them as they are rather than hiding the tools.
Known limitation: mods in subfolders
Only jars sitting directly in a server's mods folder are listed, and only those can be
removed. A jar inside a subfolder is invisible to the listing and cannot be deleted with
remove_mods — manage it through the panel UI instead. The tools say so rather than failing
opaquely.
Security notes
- Server logs contain text written by mods and by players. Anything that can print to the
server console — a mod, a player's chat message, a nickname, the MOTD — ends up in what the
assistant reads. A
managetoken lets an assistant act on what it reads there. Prefer areadtoken unless you specifically want it to be able to change things. - The token sits in plain text in your MCP client's configuration file. Treat that file like a password: anyone who can read it can use the token.
- Tokens do not expire. Revoke any you no longer use, from the same Settings panel.
- Turning MCP access off in the panel makes existing tokens stop working immediately without deleting them.
Configuration
Two environment variables, set by your MCP client on the process it spawns:
| Variable | Required | Default | Meaning |
|---|---|---|---|
FABRICATOR_URL |
no | http://127.0.0.1:5000 |
Base URL of the panel |
FABRICATOR_TOKEN |
yes | — | The API token from the panel's Settings |
The token is never read from the command line. argv is visible to every process on the
machine and lands in shell history; a spawned process's environment is neither.
Development
The package is a dependency island: its own pyproject.toml, its own lockfile, its own
interpreter pin, resolved and run entirely separately from the panel. The panel's
requirements.txt is not involved and does not change.
cd mcp
uv sync # create .venv from uv.lock, provisioning CPython 3.11
uv run pytest # run this package's suite
CI, and anyone who wants the exact recorded environment:
cd mcp
uv sync --frozen # fails if uv.lock has drifted from pyproject.toml
uv run pytest -q
Changing a dependency is the only thing that moves the recipe, and both files are committed together:
cd mcp
uv add "mcp>=1.28"
git add pyproject.toml uv.lock
The committed recipe is pyproject.toml + uv.lock + .python-version. A stand without a
committed recipe is a scratchpad ghost; do not regenerate the lock as a side effect of unrelated
work.
Isolation from the panel suite
Four independent mechanisms keep this suite and the panel's from touching each other:
- Separate resolution — this
pyproject.toml+uv.lock; the panel keepsrequirements.txt. Neither references the other. - Separate environment —
mcp/.venv. The panel's environment has nomcp/httpx; this one has no Flask. - Separate pytest rootdir — the
[tool.pytest.ini_options]table inpyproject.tomlstops pytest's upward search here, so a run inmcp/never loads the panel'sconftest.py; the panel'spytest.inisetstestpaths = testsandnorecursedirs = mcpso a run at the repo root never descends into this directory. - Separate test workflow —
.github/workflows/mcp-tests.ymlruns the locked and unlocked jobs frommcp/.
Do not add a [tool.uv.workspace] to the repository root. A workspace would merge the two
lockfiles and environments and destroy the island.
Testing rules
- No test may reach the network.
tests/conftest.pyinstalls an autouse guard that turns an un-mocked request into a failed test. Drive the client withhttpx.MockTransport. - The tool-to-route mapping is a data table, and a test asserts it is a subset of the routes the panel permits a token. If the panel's classification moves, that test goes red on purpose.
Licence
AGPL-3.0-only, inherited from the Fabricator repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabricator_panel_mcp-0.1.0.tar.gz.
File metadata
- Download URL: fabricator_panel_mcp-0.1.0.tar.gz
- Upload date:
- Size: 101.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
698e2388e2cc3b65a27905f16aecc4e13eced176093337b9c90b93b36902e001
|
|
| MD5 |
34c694e4df417e63446ff5e20b869e63
|
|
| BLAKE2b-256 |
4299ce23ed0d181123d98b014962c6baa23ebb3ab6cc3c9ac21b9d6b363df0b2
|
Provenance
The following attestation bundles were made for fabricator_panel_mcp-0.1.0.tar.gz:
Publisher:
mcp.yml on philderks/Fabricator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fabricator_panel_mcp-0.1.0.tar.gz -
Subject digest:
698e2388e2cc3b65a27905f16aecc4e13eced176093337b9c90b93b36902e001 - Sigstore transparency entry: 2683944098
- Sigstore integration time:
-
Permalink:
philderks/Fabricator@8edfa02b8f245136adf1283984d0360c5ee292e2 -
Branch / Tag:
refs/tags/mcp-v0.1.0 - Owner: https://github.com/philderks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp.yml@8edfa02b8f245136adf1283984d0360c5ee292e2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fabricator_panel_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fabricator_panel_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
782b023a9891ce218f8c375cce7ed94adaf4e7b40db08be878c6e9c27c5c17d4
|
|
| MD5 |
83fbce9952c1901a4fa6c13cf07bcc6d
|
|
| BLAKE2b-256 |
788db20edfff92e1464851183c5132af92ff374ddbf55923c0c8ecf5c55cd60d
|
Provenance
The following attestation bundles were made for fabricator_panel_mcp-0.1.0-py3-none-any.whl:
Publisher:
mcp.yml on philderks/Fabricator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fabricator_panel_mcp-0.1.0-py3-none-any.whl -
Subject digest:
782b023a9891ce218f8c375cce7ed94adaf4e7b40db08be878c6e9c27c5c17d4 - Sigstore transparency entry: 2683944123
- Sigstore integration time:
-
Permalink:
philderks/Fabricator@8edfa02b8f245136adf1283984d0360c5ee292e2 -
Branch / Tag:
refs/tags/mcp-v0.1.0 - Owner: https://github.com/philderks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
mcp.yml@8edfa02b8f245136adf1283984d0360c5ee292e2 -
Trigger Event:
release
-
Statement type: