Back to Home
adambdooley icon

foundry-vtt-mcp

Verified Safe

by adambdooley

Overview

Integrates Foundry VTT with Claude Desktop, enabling AI-powered campaign management, character/compendium interaction, content creation, and map generation with system-specific support for DSA5, D&D5e, and PF2e.

Installation

Run Command
node path/to/foundry-vtt-mcp/packages/mcp-server/dist/index.js

Environment Variables

  • FOUNDRY_HOST
  • FOUNDRY_PORT
  • FOUNDRY_NAMESPACE
  • LOG_LEVEL

Security Notes

The server functions as a local bridge between Foundry VTT and Claude Desktop. It relies on Foundry's GM-only access and configurable permissions for data access and modification. The `dpapi` and `binary-cookies` dependencies are used for specific Windows integration (e.g., Claude Desktop configuration), potentially accessing local user data (browser cookies for authentication configuration), which grants privileged local access. Command execution (`execSync`) is limited to build and installation scripts, not typical runtime operations involving untrusted user input. Input validation is performed using Zod schemas for tool arguments.

Similar Servers

Stats

Interest Score41
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars14
Forks11
Last Update2025-12-04

Tags

Foundry VTTClaude DesktopAI IntegrationTTRPGCampaign Management