Skip to main content
Glama

FoundryVTT MCP Server

by laurigates

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoEnvironment modedevelopment
LOG_LEVELNoLogging verbosityinfo
FOUNDRY_URLNoFoundryVTT server URL
FOUNDRY_API_KEYNoAPI key for authentication
FOUNDRY_TIMEOUTNoRequest timeout (ms)10000
USE_REST_MODULENoWhether to use the third-party REST API modulefalse
FOUNDRY_PASSWORDNoPassword (if no API key)
FOUNDRY_USERNAMENoUsername (if no API key)
CACHE_TTL_SECONDSNoCache duration300
FOUNDRY_RETRY_ATTEMPTSNoRetry failed requests3

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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