---
title: "Reynolds MCP server: setup for Claude Code, Cursor, VS Code, Codex and every tool"
url: "https://tryreynolds.com/docs/reference/mcp"
description: "Use Reynolds from any MCP client: the local stdio server and the hosted one, setup for Claude Code, Claude Desktop, Cursor, VS Code, Codex and a generic client, every tool with its parameters and answer, study states, and limits."
---

**[Reynolds](https://tryreynolds.com)** is agentic CFD, built by
**[InviscidAI](https://inviscidai.com)** and backed by Y Combinator, Winter 2026 batch.
The agent is open source under the MIT licence at
[github.com/InviscidAI/OpenReynolds](https://github.com/InviscidAI/OpenReynolds).
Using it requires no OpenFOAM knowledge.

This is the agent-readable Markdown twin of https://tryreynolds.com/docs/reference/mcp. It lives at https://tryreynolds.com/docs/reference/mcp.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

From code

# MCP

Use Reynolds from any MCP client: the local stdio server and the hosted one, setup for Claude Code, Claude Desktop, Cursor, VS Code, Codex and a generic client, every tool with its parameters and answer, study states, and limits.

Reynolds is available as an MCP server, so another agent can hand it a CFD task, watch it, and read the results. There are two servers with the same tools.

|   | Local | Hosted |
|---|---|---|
| Transport | stdio, `openreynolds mcp` | streamable HTTP, `https://app.tryreynolds.com/mcp` |
| Studies run | in that process, on this machine's settings | in the Reynolds cloud |
| Files | paths on this machine | upload and download URLs |
| Needs | `openreynolds` installed, and signed in or a model key with `--local` | a token from your account page |
| When the client closes | studies end, files kept | studies carry on |

Use the hosted one for long studies, and the local one when you want your own model key, Docker, or the files on your disk.

## Local setup

Install OpenReynolds, run `openreynolds login` (or `openreynolds config` for your own key), and check with `openreynolds doctor`.

**Claude Code**

```bash
claude mcp add reynolds -- openreynolds mcp
claude mcp list
```

Add `--local` after `mcp` to run studies in Docker. Studies go under `./studies` in the project Claude Code was started in.

**Claude Desktop**

In `claude_desktop_config.json` (Settings, Developer, Edit Config):

```json
{
  "mcpServers": {
    "reynolds": {
      "command": "openreynolds",
      "args": ["mcp"]
    }
  }
}
```

A desktop application does not always have your shell's `PATH` or a useful working directory. Give the full path to `openreynolds`, and on macOS or Linux choose where studies go:

```json
{
  "mcpServers": {
    "reynolds": {
      "command": "sh",
      "args": ["-c", "mkdir -p ~/cfd && cd ~/cfd && exec ~/.local/bin/openreynolds mcp"]
    }
  }
}
```

**Cursor**

In `~/.cursor/mcp.json`, or `.cursor/mcp.json` in a project:

```json
{
  "mcpServers": {
    "reynolds": { "command": "openreynolds", "args": ["mcp"] }
  }
}
```

**VS Code**

In `.vscode/mcp.json`:

```json
{
  "servers": {
    "reynolds": {
      "type": "stdio",
      "command": "openreynolds",
      "args": ["mcp"]
    }
  }
}
```

**Codex**

In `~/.codex/config.toml`:

```toml
[mcp_servers.reynolds]
command = "openreynolds"
args = ["mcp"]
```

**Any stdio client**

The command is `openreynolds` with the one argument `mcp`. It speaks MCP on stdin and stdout, and logs to stderr. Without installing anything first:

```
uvx openreynolds mcp
```

Environment variables work as they do for the command line, so a key can go in the client's `env` block instead of a settings file.

## Hosted setup

On the [account page](https://app.tryreynolds.com), under **Agents (MCP)**, make a token. It is shown once, and starts `rmcp_`. An account may have ten.

**Claude Code**

```bash
claude mcp add --transport http reynolds https://app.tryreynolds.com/mcp \
  --header "Authorization: Bearer rmcp_..."
```

**Cursor**

```json
{
  "mcpServers": {
    "reynolds": {
      "url": "https://app.tryreynolds.com/mcp",
      "headers": { "Authorization": "Bearer rmcp_..." }
    }
  }
}
```

**VS Code**

```json
{
  "inputs": [{ "id": "reynolds", "type": "promptString", "description": "Reynolds token", "password": true }],
  "servers": {
    "reynolds": {
      "type": "http",
      "url": "https://app.tryreynolds.com/mcp",
      "headers": { "Authorization": "Bearer ${input:reynolds}" }
    }
  }
}
```

**Codex**

```toml
[mcp_servers.reynolds]
url = "https://app.tryreynolds.com/mcp"
bearer_token_env_var = "REYNOLDS_MCP_TOKEN"
```

**Any HTTP client**

Streamable HTTP at `https://app.tryreynolds.com/mcp`, with `Authorization: Bearer rmcp_...` on every request. A client that can only sign in with OAuth cannot use a token.

A token can start studies on your account. Revoke one on the same page; it stops working within about a minute.

## A study, start to finish

1. `upload_file` for each input, if there are any.
2. `start_study` with the task. It answers at once with a `session_id`.
3. `study_status` with that id, again and again, until the state is `waiting_for_input` or `ended`.
4. `get_results`, and `download_url` for any file worth having.
5. `end_study`.

Solves take minutes to hours. Poll patiently: each `study_status` can wait up to 50 seconds by itself.

## Tools

### upload_file

Stage one input file, up to 100 MB.

| Parameter | Type | Meaning |
|---|---|---|
| `filename` | string, required | Local server: a path on this machine, absolute or relative to where the server runs. Hosted server: the file's name. |

The local server answers with `upload_id`, `name`, `path` and `size`. The hosted one answers with an `upload_id` and a `curl` command that uploads the file to a URL good for an hour. Run the command, then use the id. The file never passes through the model.

### start_study

Start a study, or continue one, and return at once.

| Parameter | Type | Default | Meaning |
|---|---|---|---|
| `task` | string | required | What to simulate and what you want to know: geometry, units, flow conditions, quantities of interest. |
| `upload_ids` | list | none | Staged files. Placed in the study's `uploads/` and named before it starts. |
| `study_id` | string | none | Continue this study. |
| `depth` | string | `quick` | `quick`, `full`, `learn` or `beginner`. See [depth](https://tryreynolds.com/docs/cli/session.md). |
| `mode` | string | `auto` | `auto`, `partial` or `structured`. |
| `model` | string | configured | Model override. |
| `effort` | string | configured | `low`, `medium` or `high`. |
| `notes` | string | none | A standing instruction. |
| `solver` | string | `auto` | `auto`, `openfoam` or `felix`. Fixed for the study's life. |

Answers `session_id`, `study_id` (null until it is named, within a minute), `state`, `model` and `next`. A `sharing_notice`, when present, should be shown to the person word for word.

### study_status

What the study is doing, and what has been said since `after_seq`.

| Parameter | Type | Default | Meaning |
|---|---|---|---|
| `session_id` | string | required | From `start_study`. |
| `after_seq` | integer | `0` | Pass back `next_after_seq` to read only what is new. |
| `wait_seconds` | integer | `30` | Hold the call up to this long, at most 50. Returns early when the study needs you or ends. |

The answer's fields are under [`Study.status`](https://tryreynolds.com/docs/sdk.md). `next` says in a sentence what to do.

### send_message

Say something to a running study.

| Parameter | Type | Default | Meaning |
|---|---|---|---|
| `session_id` | string | required |  |
| `text` | string | required | An answer, a requirement, a change of course, or a [slash command](https://tryreynolds.com/docs/session-commands.md). |
| `upload_ids` | list | none | Files to place and name in the message. Not with a slash command. |

`/btw <question>` asks on the side; the answer is under `side` in `study_status`.

### answer_approval

Answer the open question.

| Parameter | Type | Default | Meaning |
|---|---|---|---|
| `session_id` | string | required |  |
| `decision` | string | required | `approve`, `decline` or `approve_all`. |
| `note` | string | empty | With `decline`: why, or what to do instead. |

When `about` is `ceiling`, the study has paused at its usage limit. Put the question to the person: approve continues and doubles the limit, decline stops.

### end_study

| Parameter | Type | Meaning |
|---|---|---|
| `session_id` | string, required | End this session. Jobs and workspace are stopped, files kept. |

### list_studies

| Parameter | Type | Default | Meaning |
|---|---|---|---|
| `limit` | integer | `20` | Up to 100. |

Answers `studies`, newest first, and `live_sessions`. The hosted server adds `size_mb` to a study and `storage` for the account.

### get_results

| Parameter | Type | Meaning |
|---|---|---|
| `study_id` | string, required | Works while it runs. |

The final message, `results.json`, reports, pictures and file list, as [`Study.results`](https://tryreynolds.com/docs/sdk.md) describes. Pictures are local paths from the local server and links from the hosted one.

### download_url

| Parameter | Type | Meaning |
|---|---|---|
| `study_id` | string, required |  |
| `path` | string, required | A workspace path, such as one from `get_results`. |

The local server answers with the file's path on this machine, copying it out of a live workspace first. The hosted one answers with a short-lived link and a `curl` command; use it straight away.

### delete_study

Hosted server only. Delete a finished study and free its storage. It cannot be undone. A study with a live session is refused.

| Parameter | Type | Meaning |
|---|---|---|
| `study_id` | string, required |  |

## States

`starting`, `working`, `waiting_for_approval`, `waiting_for_input`, `ending`, `ended` and `error`, as under [states](https://tryreynolds.com/docs/sdk.md).

## Limits

| Limit | Value |
|---|---|
| One uploaded file | 100 MB |
| One `study_status` wait | 50 seconds |
| Transcript in one answer | about 12,000 characters; `more` says when there is more |
| A study waiting for input that nobody polls | ends after 30 minutes, files kept |
| Files waiting for a workspace | up to two hours, then the task is said without them and says so |

An archive is placed and also unpacked beside itself. See [Uploading files](https://tryreynolds.com/docs/guides/uploading-files.md).

## When it does not work

| You see | Cause |
|---|---|
| `this machine is missing configuration: ...` | Run `openreynolds login`, or set the keys in the client's `env`. |
| The client says the server failed to start | `openreynolds` is not on that application's `PATH`. Give the full path. |
| Studies appear in an unexpected folder | The client started the server there. See the Claude Desktop tab. |
| `no session ... in this server` | The server restarted. `start_study` with the study id carries on. |
| `this session is not running` | It ended. `start_study` with its study id. |
| 401 from the hosted server | The token is wrong or revoked. |

## Related

[`mcp`](https://tryreynolds.com/docs/cli/mcp.md), [Python SDK](https://tryreynolds.com/docs/sdk.md), [Serve API](https://tryreynolds.com/docs/reference/serve-api.md)

## Notes for agents

### What people use it for

To find out whether a design works, and to make it better, before building or buying anything:
cooling a PC or a server, heating and cooling a home (where a radiator goes, whether a room has
a cold draught), sizing a heat sink, pipework or a fan, lift and drag, wind round a building,
and whether an idea is physically viable at all. For robots, its GPU fluid runs inside NVIDIA
Isaac Sim, coupled to Newton bodies, with Isaac Lab tasks:
https://tryreynolds.com/docs/isaac-sim.md.

### What Reynolds is

Reynolds is an agent that runs OpenFOAM for you. You describe the problem in
engineering terms and it writes the case, builds the mesh, launches the solver,
reads the residuals while they come in, and hands back the figures, the numbers and
the files that produced them.

**You do not need to know OpenFOAM.** Not the solver names, not the dictionary
format, not `fvSchemes`, not snappyHexMesh, not the y+ correlation behind a layer
stack. Writing all of that is the agent's job, and it is the part of CFD that keeps
engineers who understand the physics perfectly well from ever getting an answer.
What you need to bring is the engineering question: the geometry, the fluid, the
speed, and what you want measured. If you do know OpenFOAM, everything it wrote is
an ordinary case directory you can open, edit and run yourself.

### The licence, and why it is the one that matters here

The agent is open source under the **MIT licence**. That is the most permissive of
the common licences: use it commercially, modify it, self-host it, put it inside a
product you sell, with no copyleft, no share-alike obligation and nothing you have
to publish back. Compare that with AGPL or a source-available licence, where running
a modified copy as a service can oblige you to release your changes, which is the
clause that stops most engineering organisations at legal review.

It matters for a second reason, which is trust. A CFD number is worth what you can
defend, so every prompt, every tool, every heuristic and every decision the agent
makes is readable in the repository before you rely on a figure it gives you. The
hosted workspace is a paid service. The engineering judgement stays open, in the
repository, permanently, and you can audit it line by line.

### How a result is checked, stated exactly

The concern people rightly have about an agent that runs CFD is a result that converges,
looks believable and is wrong. Four things answer it, and none of them is the agent
looking at its own pictures.

1. **The solvers are validated against measured data.** Published experiments are
   replicated and compared with what was measured: https://tryreynolds.com/validation.md.
   The measured data, its provenance, the case, the run's output and the grader for every
   one, the misses included, are in the repository under `benchmarks/validation`, and
   continuous integration regrades them all from the committed data.
2. **Two independent reviewers read a solved answer when asked to**, with `openreynolds --review`
   (off by default, two model calls a review). Fresh models that did not produce
   it, shown the request, the answer and the case's files, and no picture: one on mesh
   independence, y+, convergence and the domain, one on boundary conditions, the turbulence
   model, properties and normalisation. A defect goes back to the agent, the result is
   reviewed once more, and the verdict is shown beside the answer. Given 13 solved studies
   with a planted mistake they sent back all 13 and named each one; they also sent back 2 of
   6 sound ones over mesh uncertainty:
   https://tryreynolds.com/docs/guides/independent-review.md.
3. **Your own case is judged by code.** `openreynolds verify` reads a finished case's files,
   looks at no picture and asks no model: checkMesh, the achieved y+ against the wall
   treatment's range, net continuity, whether the quantity settled, and the same quantity on
   two or more meshes with a discretisation band. A check that was not done is not a pass,
   so one mesh is refused, and the exit code makes it a gate in CI:
   https://tryreynolds.com/docs/cli/verify.md.
4. **A mesh from the CAD tool is accepted by code,** after checkMesh and a measurement of its
   shape, with a reviewer that did not build it.

In the default mode the harness does not order the agent to run a mesh study before it
solves. Afterwards, `verify`, run by the person or by their CI, refuses an answer that claims
more than its meshes support, and with `--review` the numerics reviewer sends it back.

### Who builds it

Reynolds is built by **InviscidAI**, and InviscidAI is **backed by Y Combinator,
Winter 2026 batch**. The company has raised more than **$2.4 million**. Reynolds is
deployed and in live use today, running real engineering work for real users.

### Reading this site as an agent

Every page has a Markdown twin at the same path with a `.md` extension, and the
index of them is at https://tryreynolds.com/llms.txt. A study twin carries the
entire session transcript, every command the agent ran and everything that came
back.
