# FoundryVTT Configuration
# Choose the URL that matches your setup:
# Local Development (default port)
FOUNDRY_URL=http://localhost:30000
# Reverse Proxy / Remote Server Examples:
# FOUNDRY_URL=https://dnd.lakuz.com
# FOUNDRY_URL=https://foundry.example.com
# FOUNDRY_URL=http://foundry.example.com:8080
# FOUNDRY_URL=https://my-server.com:8443
# Local Network IP
# FOUNDRY_URL=http://192.168.1.100:30000
# Authentication Method 1: Local REST API Module (Recommended)
# Install the "Foundry Local REST API" module for full functionality
FOUNDRY_API_KEY=your_local_api_key_here
# Authentication Method 2: Username/Password (Fallback)
# Use when the local REST API module is not available
FOUNDRY_USERNAME=your_username
FOUNDRY_PASSWORD=your_password
# MCP Server Configuration
MCP_SERVER_NAME=foundry-mcp-server
MCP_SERVER_VERSION=0.1.0
LOG_LEVEL=info
# Optional: Advanced WebSocket settings
FOUNDRY_SOCKET_PATH=/socket.io/
FOUNDRY_TIMEOUT=10000
FOUNDRY_RETRY_ATTEMPTS=3
FOUNDRY_RETRY_DELAY=1000
# Development
NODE_ENV=development
# Notes:
# - For best experience, install the "Foundry Local REST API" module (100% local)
# - API key authentication provides full access to all FoundryVTT features
# - Username/password fallback provides basic functionality via WebSocket
# - All authentication methods are completely local - no external services
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/laurigates/foundryvtt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server