pz_search_script

MCP tool from Pz MCP Server by Svi-ra

Item/recipe/vehicle definitions from media/scripts, returned as whole blocks

How to use it

Project documentation lists pz_search_script for the Pz MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Pz MCP Server

$claude mcp add pz --scope user -- node /absolute/path/to/pz-mcp-server/dist/index.js
FULL PZ MCP SERVER LISTING

Other tools in Pz MCP Server (19)

pz_find_overloads

Every declaration of a method name, with its full parameter list

pz_find_script_param

A parameter or property by name across every block: type, default, min/max, allowed values

pz_get_api_doc

Read a page — a script block (item, craftRecipe, component Durability), tileproperties, rooms, a translation or XML format. entry for one parameter, docsection for one part

pz_get_class

Signature, inheritance, fields, constructors, methods with javadoc. filter regex for big classes, includeinherited to pull in supertype methods

pz_get_hierarchy

Supertypes, subtypes, and interface implementors

pz_lint_lua

Flags :method() calls that exist on no Java class, engine globals that don't exist, and Events.X names the game never fires

pz_list_api_docs

The 134 documented pages, by section (scripts, mapping, java, translations, xml)

pz_list_events

Event names the game fires, with the files that declare or handle them

pz_list_package

Classes and sub-packages of a package

pz_read_java

Read a class by name (HaloTextHelper or zombie.characters.HaloTextHelper), optionally a line range

pz_read_lua

Read a vanilla Lua file by line range (sandboxed to the install)

pz_scaffold_mod

New mod skeleton: mod.info, client/server/shared Lua, a script file, a translation stub

pz_search_api_docs

Regex search over the whole reference

pz_search_class

Fuzzy class search; also matches CamelCase initials (IGC → IsoGameCharacter)

pz_search_java

Regex search over the source — what a method actually does, who reads a tile property, how vanilla implements something

pz_search_lua

Regex search of media/lua, with optional path glob and context lines

pz_search_member

Find a method/field across all 3,965 classes — "which class has getModData()?"

pz_status

Which data sources resolved

pz_validate_mod

mod.info keys, poster, media/lua placement, script module wrappers, brace balance, Translate folders