Roomsby Aurmada

← Agent directory

Live · checked Nov 27, 2026MCPDeveloper toolsCommunity listed · unclaimed

Foundry MCP code mode

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

Is this yours? Claim it freeA few minutes with a DNS record or a file. Then edit it, get uptime emails, a README badge and paid calls.

Add to your AI

Remote MCP server (streamable HTTP). Most clients sign you in with the provider on first use.

Claude Code

claude mcp add --transport http foundry-mcp-code-mode https://foundry-mcp.com/mcp/code

Claude Desktop, Cursor, Windsurf (mcp config)

{
  "mcpServers": {
    "foundry-mcp-code-mode": {
      "url": "https://foundry-mcp.com/mcp/code"
    }
  }
}

ChatGPT: Settings → Connectors → add a custom connector with the URL above.

How to call Foundry MCP code mode from code (MCP)

Remote MCP over streamable HTTP with the official SDKs: initialize, list its tools, then call_tool / callTool. It asks callers to sign in (OAuth or an API key from its provider): pass the token as an Authorization header or let your client run the OAuth flow.

Python

# pip install mcp
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def main():
    async with streamablehttp_client("https://foundry-mcp.com/mcp/code") as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            tools = await session.list_tools()
            print([t.name for t in tools.tools])

asyncio.run(main())

TypeScript

// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL("https://foundry-mcp.com/mcp/code")));
console.log((await client.listTools()).tools.map((t) => t.name));

A2A vs MCP: which one to use

Call it with the Rooms SDK

Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs

// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "foundry-mcp-code-mode" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="foundry-mcp-code-mode")

Track record

Uptime
100% uptime over the last 26 checked days (one unpaid request a day)
Calls via Rooms (30 days)
0

No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.

Tools (40)

  • World info world-info
    Get world overview: game system, content counts, compendium list
  • Create actor actor-create
    Create a new actor from scratch (custom NPCs, characters, creatures)
  • Import actor from compendium actor-create-from-compendium
    Import an actor (monster, NPC) from a compendium pack into the world
  • Delete actor actor-delete
    Delete an actor from the world
  • Filter actors actor-filter
    Search WORLD actors with D&D 5e structured filters (dnd5e worlds only)
  • Get actor actor-get
    Get full actor details: HP, AC, abilities, skills, speed, proficiency, inventory with item IDs
  • List actors actor-list
    List actors in the world (name, type, ID), at most 200 rows
  • Update actor actor-update
    Update an actor's name, image, folder, or system data (HP, XP, abilities...)
  • Activate item (D&D 5e) dnd5e-item-activate
    Activate an item with full Foundry automation — triggers Midi-QOL and other automation module hooks
  • Use item (D&D 5e) dnd5e-item-use
    Use an item from an actor's inventory via item.use() with dialogs suppressed: consumables (potions, scrolls), spells, weapons, features
  • Create actor item item-create
    Create a new item directly in an actor's inventory (dnd5e data model)
  • Add item from compendium item-create-from-compendium
    Add an item (weapon, spell, feat, gear) from a compendium pack to an actor's inventory with its full data
  • Delete actor item item-delete
    Remove an item from actor's inventory permanently
  • List actor items item-list
    List an ACTOR's inventory (embedded items: weapons, gear, spells, feats, class features) with descriptions, damage, and range
  • Update actor item item-update
    Update an item in actor's inventory
  • Create world item world-item-create
    Create a new item in the world's Items Directory (game.items) — distinct from item-create (which adds to an actor's inventory)
  • Delete world item world-item-delete
    Permanently delete a world item from the Items Directory
  • Filter world items world-item-filter
    Search the world's Items Directory (game.items) with D&D 5e structured filters (dnd5e worlds only)
  • Get world item world-item-get
    Get full ItemData for a single world item — id, uuid, name, type, image, folder NAME (read-side), and the complete system blob with rarit
  • Update world item world-item-update
    Update a world item — name, image, folder, or system data
  • Create folder folder-create
    Create a folder of the given document type
  • Delete folder folder-delete
    Permanently delete a folder
  • Get folder folder-get
    Get a single folder
  • List folders folder-list
    List folders in the world (id, name, type, parent), optionally one document type
  • Update folder folder-update
    Update a folder — name, parent, color, description, or sort
  • Create effect effect-create
    Add a custom active effect to an actor (buff, debuff, custom condition)
  • Remove effect effect-delete
    Remove an active effect from an actor
  • List actor effects effect-list
    Get all active effects on an actor, including conditions, buffs, debuffs, and custom effects
  • Toggle condition effect-toggle-status
    Toggle a D&D 5e condition/status on an actor (dnd5e worlds only; in PF2e worlds use pf2e-set-condition / pf2e-remove-condition)
  • Update effect effect-update
    Update an existing active effect on an actor

Automated check: 80/100

Last run 2026-11-26 08:05 UTC. What we measured, not a guarantee.

  • 10/10Every URL is https.
  • 30/40Answers with a sign-in requirement (OAuth or API key), as many hosted MCP servers do.
  • 15/1540 tools listed in its server card.
  • 10/10MCP server card at https://foundry-mcp.com/.well-known/mcp/server-card.json.
  • 10/10Has a homepage or documentation link.
  • 5/5Answered in 323 ms.
  • 0/10Not claimed with a domain proof yet.