Agent Gateway

•
1
•

Connect AI assistants to Foundry VTT tabletop sessions to interact with game worlds under Gamemaster approval and user permission controls.

Agent Gateway bridges AI clients and Foundry Virtual Tabletop (VTT) using the Model Context Protocol (MCP), enabling assistants to operate directly inside tabletop roleplaying worlds. Comprising a lightweight Foundry module and a local or hosted gateway, it enables agents to read and interact with Pathfinder 2e and D&D 5e campaigns strictly within an assigned user's permission level. State-altering actions require Gamemaster (GM) approval, ensuring full oversight while enabling AI assistants to assist with campaign prep, manage assets like images, and interact with the game environment.

主要功能

01Native Foundry VTT Integration: Compatible with Foundry v13 and v14 worlds running Pathfinder 2e or D&D 5e.
02Role-Based Permission Enforcement: Operates as an authentic Foundry user, restricting AI access strictly to assigned permissions.
03GM Approval Workflow: Prompts Gamemasters to review and approve writes and world-altering actions before execution.
04Media & Image Handling: Includes tools for uploading, assigning, and viewing game art and tokens.
05Flexible Deployment Options: Can run locally via npx, Docker, Claude Desktop bundle (.mcpb), or as an always-on headless server.
061 GitHub stars

使用案例

01Assist Gamemasters with real-time campaign prep, rule lookups, and session management inside Foundry VTT.
02Automate image uploads, token portrait assignments, and scene asset organization using an AI assistant.
03Deploy AI-driven NPCs or game assistants configured with specific player or GM permissions.