fvtt-mcp
Verified Safeby darkbard81
Overview
Relays events and messages between a Large Language Model (LLM), an MCP server, and Foundry VTT, including features for AI-driven text-to-speech and image generation.
Installation
podman run -d --name fvtt-mcp --env-file .env -p 3000:3000 ghcr.io/darkbard81/fvtt-mcp:latestEnvironment Variables
- MCP_SERVER_API_KEY
- GOOGLE_GENAI_API_KEY
- GITHUB_CLIENT_ID
- GITHUB_CLIENT_SECRET
- GITHUB_REDIRECT_URI
- CHATGPT_REDIRECT_URI
- PORT
- FOUNDRY_DATA_PATH
Security Notes
The server demonstrates good security practices including input validation with Zod, use of environment variables for API keys and secrets, and a `safeResponse` utility to sanitize outgoing data (removing keys like 'privateKey', 'apiKey', 'password'). WebSocket connections are authenticated using an API key. OAuth 2.0 routes are present with client ID/secret validation. A deduplication middleware helps prevent replay attacks for specific POST requests. A minor potential misconfiguration risk exists with the default `CORS_URL` being `*`, though its impact is limited to static asset serving in the current setup.
Similar Servers
mcp-typescript-sdk
The TypeScript SDK facilitates the implementation of Model Context Protocol (MCP) over MQTT for creating AI-integrable servers and clients, enabling LLMs to discover and interact with external services and tools.
boilerplate-mcp-server
Provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation tool.
mcp-obsidian
Enables LLMs (like Claude) to programmatically interact with an Obsidian vault through the Local REST API plugin.
mcp-gateway
A unified gateway for managing and monitoring MCP (Model Context Protocol) servers, capturing traffic logs, and troubleshooting integrations with AI clients like Claude.