pi-roblox-docs
v0.1.4
Published
Pi native Roblox documentation tools without a background MCP server.
Maintainers
Readme
pi-roblox-docs
Pi native Roblox documentation tools.
This package does not start an MCP server, uvx, or a background Node daemon. It runs inside Pi's TypeScript extension runtime and registers Roblox documentation tools directly with pi.registerTool().
Tools
MVP tools:
roblox_sync- download/update local Roblox API cacheroblox_health- show cache/index statusroblox_search- search classes, members, and enumsroblox_get_class- show one class with grouped membersroblox_get_member- show one class memberroblox_get_enum- show enum valuesroblox_search_devforum- search Roblox Developer Forum discussionsroblox_clear_cache- delete local cache
Slash commands
/roblox:sync- sync local Roblox docs cache/roblox:sync --force- redownload even when versions match/roblox:health- show cache/index status/roblox:devforum <query>- search DevForum discussions/roblox:clear-cache- delete local cache after confirmation
Data sources
Public sources used by the extension:
MaximumADHD/Roblox-Client-TrackerforAPI-Dump.json,api-docs/en-us.json, andversion.txt- Roblox Creator Docs links for output references
Install
From npm:
pi install npm:pi-roblox-docsFrom GitHub:
pi install git:github.com/eiei114/pi-roblox-docsLocal development:
pi -e ./extensions/roblox-docs.tsDevelopment
npm ci
npm run checkUsage
First sync data:
Call roblox_sync with force=falseThen ask Roblox API questions. Examples:
- "How do I use TweenService?"
- "Is BodyPosition deprecated?"
- "What enum values does EasingStyle have?"
- "Find APIs for player character spawning."
Cache
Cache location is OS-specific:
- Windows:
%LOCALAPPDATA%/pi-roblox-docs - macOS:
~/Library/Caches/pi-roblox-docs - Linux:
~/.cache/pi-roblox-docs
The extension does not write large Roblox JSON files into your project or Obsidian vault.
DevForum search results are cached for 1 hour in devforum-cache.json and are deleted by /roblox:clear-cache.
Security
Pi packages can execute code with your local permissions. Review extensions before installing third-party packages.
For vulnerability reporting, see SECURITY.md.
Release
Version history and release notes are in CHANGELOG.md.
