pz-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pz-mcp-serverwhich class has getModData?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pz-mcp-server
An MCP server for Project Zomboid mod development. It gives an AI assistant three things modders constantly need:
The Java API the game exposes to Lua — searchable, from the unofficial PZ Javadocs (Build 42).
The vanilla game files — the game's own Lua, its events, and its item/recipe scripts.
Mod project tooling — scaffold, validate, and lint a mod against the real API.
Everything runs locally; nothing is fetched at runtime.
Setup
Requires Node 18+.
git clone https://github.com/Svi-ra/pz-mcp-server.git
git clone --branch pages https://codeberg.org/albion/PZ-JavaDocs.git pz-javadocs-pages
cd pz-mcp-server && npm install && npm run buildClone the Javadoc next to the server, so the layout is:
somewhere/
pz-mcp-server/
pz-javadocs-pages/ <- the `pages` branch, ~10k html filesThat is where the server looks by default; otherwise set PZ_JAVADOC_DIR. Refresh the docs
later with git pull inside that checkout.
Register with Claude Code
claude mcp add pz --scope user -- node /absolute/path/to/pz-mcp-server/dist/index.jsOr copy .mcp.json.example to .mcp.json in your modding folder and
fill in the paths.
Environment
Variable | Default | Purpose |
|
| Javadoc |
| common Steam locations | Game install (the folder holding |
|
| Where mods live and get scaffolded |
|
| Derived class-hierarchy index |
Run pz_status to see what got resolved. The four game-file tools return a clear error
until PZ_GAME_DIR points at an install; every other tool works without the game.
Related MCP server: enfusion-mcp
Tools
Java API
Tool | What it does |
| Fuzzy class search; also matches CamelCase initials ( |
| Signature, inheritance, fields, constructors, methods with javadoc. |
| Find a method/field across all 3,965 classes — "which class has |
| Classes and sub-packages of a package |
| Supertypes, subtypes, and interface implementors |
Vanilla game files (needs PZ_GAME_DIR)
Tool | What it does |
| Regex search of |
| Read a vanilla Lua file by line range (sandboxed to the install) |
| Event names the game fires, with the files that declare or handle them |
| Item/recipe/vehicle definitions from |
Mod projects
Tool | What it does |
| New mod skeleton: |
| mod.info keys, poster, |
| Flags |
| Which data sources resolved |
Notes
The scaffold defaults to the Build 42 layout (
mods/<Mod>/42/mod.info+media/); passlayout: "b41"for the old flat layout, orversion_dir: "common"for a build-agnostic mod.pz_lint_luais heuristic. It only reports names that appear nowhere — not in the Java API, not in the mod, not in vanilla Lua — so dynamically built names can still produce false positives. It caughtgetBodyDammage(),getCellz()and a made-up event in testing while staying silent on correct code.The class hierarchy is parsed once from
overview-tree.htmland cached in.cache/.
Tests
npm run build
node test/smoke.mjs # every tool, over a real stdio session
node test/lint.mjs <mod-folder> # validate + lint one mod
node test/gamefiles.mjs # game-file tools (set PZ_GAME_DIR first)Credits
The API data comes from albion's unofficial PZ Javadocs. This project only reads that checkout — it does not redistribute it.
Project Zomboid is a trademark of The Indie Stone. This is an unofficial, fan-made tool.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityBmaintenanceThis MCP server assists Minecraft Java plugin developers by providing dependency documentation lookups, version checking, and automated scanning for Gradle and Maven projects. It supports popular APIs such as Paper, Spigot, and LuckPerms to streamline plugin development and workspace analysis.42
- Alicense-quality-maintenanceAn MCP server for Arma Reforger and Enfusion engine modding that enables users to create mods, search API classes, and generate scripts through natural language. It provides a comprehensive suite of tools for scaffolding addons, generating prefabs, and building projects using the Workbench CLI.1,74214
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server for exploring, analyzing, and decompiling Java JAR files.1274MIT
- AlicenseAqualityAmaintenanceA local, security-focused MCP server for Arma Reforger modding, providing AI coding assistants with tools for project discovery, script analysis, resource validation, log diagnosis, API documentation search, file editing, and Workbench automation.132MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for doc2mcp documentation, generated by doc2mcp.
An MCP server for deep research or task groups
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Svi-ra/pz-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server