Foundry MCP Server

Casting objects from seed data.

Local serverstdioPython

What is the Foundry MCP server?

Foundry MCP server exists for a simple reason — assistants are far more useful when they can act on Foundry directly instead of describing what you should do. Casting objects from seed data.

What you get

Often times, when building an application, it is handy to create some seed data with which to use and test how parts of your application will work. When this dataset is small, a python script works just fine, but as that data set (and number of different data models) grow, this approach becomes quite cumbersome.

What the assistant can call

Once Foundry is connected, these are the calls the assistant has available:

  • Environment — To hack on foundry, make sure to install the development requirements in your virtual environment
  • Tests — Pull Requests should include tests covering the changes/features being proposed. To run the test suite, simply run:

Setting it up

The server ships on PyPI as foundry, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Foundry's toolset — Environment, Tests — is a fair guide to whether it matches your workflow. It is maintained by Erik Taubeneck; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Foundry's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the foundry mcp server does with a few real requests.

Available tools

ToolWhat it does
EnvironmentTo hack on foundry, make sure to install the development requirements in your virtual environment.
TestsPull Requests should include tests covering the changes/features being proposed. To run the test suite, simply run:

How to install the Foundry MCP server

{
  "mcpServers": {
    "foundry-1": {
      "command": "uvx",
      "args": ["foundry"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Foundry to Environment.
  • Use Foundry to Tests.

Frequently asked questions

It connects Foundry to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Environment, Tests) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Foundry directly.