PluginBench
MCP Server

Foundry MCP code mode MCP Server

com.foundry-mcp/foundry-code

Registry
How to choose

What this kind of tool is for

  • Automate a build, test, or deployment step you repeat by hand.
  • Review or refactor code in an existing repository without leaving your agent.
  • Bridge an internal service or CLI into the agent toolset.

How to compare servers like this

Scope of control:
Repos and CI are hard to undo; prefer tools that ask before anything irreversible.
Environment fit:
Match the runtime it expects (Node, Python, a container) to what you actually run.
Maintenance signal:
Check the last-commit date — dev tooling that lags upstream breaks first.
Config surface:
Prefer tools whose environment-variable or config keys are documented plainly.

This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.

What is the Foundry MCP code mode MCP server?

Code mode (preview): the AI writes a script against a typed foundry.* API and runs it in a sandbox.

How to install Foundry MCP code mode

Copy-paste configuration for popular MCP clients.

transport: http
Config generated by PluginBench — verify against the source before use.
~/.cursor/mcp.json
JSON config
{
  "mcpServers": {
    "foundry-code": {
      "url": "https://foundry-mcp.com/mcp/code"
    }
  }
}

Related MCP servers

Connect any AI to your Foundry VTT world: actors, combat, dice, journals, tokens, compendiums.

Repair malformed JSON that fails a schema. Deterministic only; refuses to guess; signed receipt.

Your DRF API as MCP tools — 1,800 endpoints become 16 dispatchers, permissioned by Django.

5
Python
View repository →

Form backend an agent runs end to end: provision forms, snippets, spam, signed webhooks.

1
Shell
MIT
View repository →

Manage a Foundry IMS catalog: products, variants, BOMs, plus invoices read from supplier docs.

AI agent tools: translation (95+ langs), crypto research, compliance, summarization.