FoundryVTT MCP Server
by RN0000
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging verbosity (debug, info, warn, error) | info |
| FOUNDRY_URL | Yes | FoundryVTT server URL | http://localhost:30000 |
| FOUNDRY_API_KEY | No | Optional REST API key for server diagnostics tools | |
| FOUNDRY_PASSWORD | Yes | FoundryVTT user account password | |
| FOUNDRY_USERNAME | Yes | FoundryVTT user account name | |
| FOUNDRY_DATA_PATH | No | Local path to Foundry Data/ for asset dimension discovery | |
| FOUNDRY_EVENT_WAIT_MS | No | Default long-polling timeout for watch_events | 25000 |
| FOUNDRY_WRITE_ENABLED | No | Enables game-state mutations (walls, actors, tokens, etc.) | true |
| FOUNDRY_EVENT_BUFFER_SIZE | No | In-memory event log ring buffer capacity | 500 |
| FOUNDRY_MODULE_BRIDGE_PORT | No | WebSocket port for the companion module bridge | 31415 |
| FOUNDRY_HEADLESS_GM_ENABLED | No | Auto-launches an invisible GM-tier browser session to host the module bridge — no manual second browser tab needed | true |
| FOUNDRY_HEADLESS_GM_PASSWORD | No | Password for the headless session account, if overridden | FOUNDRY_PASSWORD |
| FOUNDRY_HEADLESS_GM_USERNAME | No | Overrides which account the headless session logs in as | FOUNDRY_USERNAME |
| FOUNDRY_MODULE_BRIDGE_ENABLED | No | Enables WebSocket bridge for canvas screenshots & chat rolls | true |
| FOUNDRY_HEADLESS_GM_EXECUTABLE_PATH | No | Explicit Chrome/Edge/Chromium binary path, skipping auto-detection |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo issues