# PeerFoundry Run

> PeerFoundry Run is a free MCP server for agent tooling. Beta sandbox where AI agents run Python or JavaScript code over MCP or HTTP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API
- **Website:** https://run.peerfoundry.ai/quickstart
- **MCP Registry name:** ai.peerfoundry/run
- **Categories:** [agent tooling](https://ai-powered.com/categories/agent-tooling)
- **Listing updated:** 2026-11-19

## About

The service gives an agent a place to execute short Python or JavaScript snippets without giving it network access. Each run is capped at a 30 second timeout, so it suits quick computations, checks and transformations rather than long-running jobs.

Access works through a free key. A client calls the key-minting endpoint, then sends code to the run endpoint with that key as a bearer token. The same two operations are exposed as MCP tools on a streamable HTTP endpoint, so an MCP-compatible client can create a key and execute code without leaving its tool loop. The quickstart notes that the spend meter may refuse new keys, so availability is not guaranteed.

The product is aimed at developers wiring code execution into agent workflows and testing how an agent behaves when it can run code in isolation. It is labelled beta, and the terms, privacy notice and acceptable use policy are published on the vendor's site.

## Features

- **Isolated code execution:** Runs Python or JavaScript with no network access and a 30 second timeout per run.
- **Free API keys:** A key is minted with a single POST request and then used as a bearer token.
- **MCP tool interface:** Exposes keys.create and run_code tools over a streamable HTTP MCP endpoint.
- **Plain HTTP API:** The same operations are available through ordinary REST calls for non-MCP clients.

## Good for

- Letting an agent evaluate a small calculation or data transformation mid-task
- Testing agent-generated Python or JavaScript without touching local machines
- Adding a throwaway code runner to an MCP-enabled assistant during prototyping

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http run https://run.peerfoundry.ai/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://run.peerfoundry.ai/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "run": {
      "url": "https://run.peerfoundry.ai/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "run": {
      "type": "http",
      "url": "https://run.peerfoundry.ai/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "run": {
      "serverUrl": "https://run.peerfoundry.ai/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://run.peerfoundry.ai/mcp
```

Enter a Name (for example "PeerFoundry Run"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "run": {
      "type": "http",
      "url": "https://run.peerfoundry.ai/mcp"
    }
  }
}
```

## Tools

- `keys.create`: Creates a new API key with an empty arguments object.
- `run_code`: Runs Python or JavaScript code; requires language and code arguments.

## FAQ

### Does the sandbox have network access?

No. The registry entry says code runs with no network access.

### How long can a single run take?

Runs are limited to a 30 second timeout.

### Which languages are supported?

The quickstart lists Python and JavaScript as the accepted language values.

### How do I get an API key?

Send a POST request to the keys endpoint, or call the keys.create MCP tool, then use the returned key as a bearer token.

### Is PeerFoundry Run free?

Yes. PeerFoundry Run is free to use.

### How do I add PeerFoundry Run to Claude Code?

Run this command in your terminal: claude mcp add --transport http run https://run.peerfoundry.ai/mcp

### What are the best alternatives to PeerFoundry Run?

The closest alternatives to PeerFoundry Run are Prized Sandboxes, Ask real people: human feedback, user testing, surveys and Agentiam MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Prized Sandboxes](https://ai-powered.com/mcp/prized-sandboxes): Prized Sandboxes is an MCP server for agent tooling.
- [Ask real people: human feedback, user testing, surveys](https://ai-powered.com/mcp/ask-real-people-human-feedback-user-testing-surveys): Ask real people: human feedback, user testing, surveys is a freemium MCP server for agent tooling.
- [Agentiam MCP](https://ai-powered.com/mcp/agentiam-mcp): Agentiam MCP is an open-source MCP server for agent tooling.

---
Source: https://ai-powered.com/mcp/peerfoundry-run
