74
/ 100
1 month ago
glama

foundry-rest-api-mcp-server

An MCP server that wraps the ThreeHats Foundry VTT REST API relay so an LLM agent can author and manage Foundry VTT content, primarily creating D&D 5e creatures, through native MCP tools.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
🚨
Secret credentials may flow to a network call
2 flows detected: TEST_API_KEY. We can’t prove the destination matches the brand the credential belongs to.
🚨
Known vulnerabilities in dependencies: 2 critical
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 2 credentials: FOUNDRY_API_KEY, TEST_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 critical1 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

criticalvitest@1.6.0GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

criticalvitest@1.6.0GHSA-9crc-q9x8-hgqq

Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening

lowtsup@8.0.0GHSA-3mv9-4h5g-vhg3

tsup DOM Clobbering vulnerability

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretFOUNDRY_API_KEYyes — Sent as the x-api-key header. Must include all five v1 scopes (see below).
configFOUNDRY_CLIENT_IDno auto-resolves Which connected world to target. Auto-resolves when exactly one world is online.
configFOUNDRY_RELAY_URLno https://foundryrestapi.com Relay base URL. Set to http://localhost:3010 for a self-hosted relay.
configFOUNDRY_USER_IDno GM-level Scope actions to a Foundry user's permissions. Omit for GM access.
🔐 secretTEST_API_KEY
configTEST_BASE_URL
configTEST_CLIENT_ID_V12
configTEST_CLIENT_ID_V13
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 3 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/phillyphenning-foundry-rest-api-mcp-server-12l5hy)](https://m8ven.ai/mcp/phillyphenning-foundry-rest-api-mcp-server-12l5hy)
commit: ef3696cdc838da8fc2cf64dbabf1e132139bd0e3
code hash: bbb0094b867086e261981c0484d4a1088ffded6e6e6455bed5b6fb215d8e3dbe
verified: 6/22/2026, 1:22:19 PM
view raw JSON →