> Quote and prepare a cart before anyone signs in. This is the default. MCP: connect to https://api.rmfg.com/mcp with no Authorization header, call begin_project, then quote_designs and create_checkout. REST: POST https://api.rmfg.com/v1/agent-projects with JSON {"name":"My project"} and no Authorization header. The returned key can POST, GET, and PATCH /v1/carts. Give the human cart_url and no other link. It opens their quote with every part configured; they check it, continue to checkout, sign in, and pay, and the project is saved to their account. After they pay, get_checkout or GET /v1/carts/{id} with the same key shows status checked_out and order_id. POST /v1/carts/{id}/pay, order placement, and order reads need an account. connect_account, list_orders, get_order, create_review_link, and get_review_link return 401 until then. Compare quantities in one quote: set items[].quantity_options to [1,10,100] in quote_designs or POST /v1/quotes; read items[].quantity_options in the result. Before choosing stock or finishes, read the current manufacturing rules and catalogs at https://www.rmfg.com/docs/manufacturing-rules.txt. No account or upload required; configured DFM determines final eligibility. Quickstart: https://www.rmfg.com/docs/api/agent-projects.md.

Source: https://www.rmfg.com/docs/api/mcp

No sign-in is required. Add the server URL with no Authorization header, call `begin_project`, quote, then `create_checkout`. The same project is [REST POST /v1/agent-projects](https://www.rmfg.com/docs/api/agent-projects). Give the human `cart_url`. It opens their quote with every part configured; they check it, continue to checkout, sign in, and pay.

# Connect your AI agent to RMFG

Add https://api.rmfg.com/mcp to Claude, ChatGPT, Cursor, VS Code, or Codex. With no bearer token the client can initialize, list tools, call `begin_project`, quote, and prepare a cart. Sign-in is only for payment and reading orders.

MCP server URL

```
https://api.rmfg.com/mcp
```

Streamable HTTP. No package to install, and no token to quote or create a cart. Your agent never pays: you open `cart_url` and pay on rmfg.com. `connect_account`, `list_orders`, `get_order`, `create_review_link`, and `get_review_link` return 401 with `WWW-Authenticate` until an account connects.

## Fastest: let your agent set itself up

Paste this into an agent that can edit its own MCP settings, such as Claude Code, Codex, or Cursor.

Setup prompt

```
Set yourself up to quote custom sheet metal from RMFG without asking me to sign in.

1. Add the remote MCP server "rmfg" at https://api.rmfg.com/mcp (Streamable HTTP) with no Authorization header. Setup: https://www.rmfg.com/docs/api/mcp
2. Call begin_project. Keep the key private.
3. Call get_agent_guidance and follow it. Quote the part, then create_checkout. Give me cart_url and no other link. I review the cart, sign in and pay there. Do not start OAuth. Do not say an order was placed until get_checkout shows an order_id.
4. Ask me for a STEP file and what I need made.
```

## Set up your client

### Claude Code

Terminal

```
claude mcp add --transport http --scope user rmfg https://api.rmfg.com/mcp
# Then run /mcp inside Claude Code and choose rmfg to sign in.
```

### Claude (claude.ai and Claude Desktop)

1.  Open **Settings → Connectors** and choose **Add custom connector**. On Team and Enterprise plans, an owner adds it under Organization settings.
2.  Name it **RMFG**, paste the server URL, and add it.
3.  Choose **Connect** and sign in to RMFG. Turn the connector on in a chat from the tools menu.

### ChatGPT

1.  In **Settings → Security and login**, turn on **Developer mode**. It is available on Plus, Pro, Business, Enterprise, and Education plans on the web.
2.  Create an app for a remote MCP server, name it **RMFG**, paste the server URL, and choose OAuth.
3.  Sign in to RMFG, then pick RMFG from Developer mode in the chat composer.

### Cursor

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=rmfg&config=eyJ1cmwiOiJodHRwczovL2FwaS5ybWZnLmNvbS9tY3AifQ%3D%3D)

Or add this to `~/.cursor/mcp.json`, then choose **Connect** next to rmfg in Cursor settings.

mcp.json

```
{
  "mcpServers": {
    "rmfg": {
      "url": "https://api.rmfg.com/mcp"
    }
  }
}
```

### VS Code (GitHub Copilot)

Terminal

```
code --add-mcp '{"name":"rmfg","type":"http","url":"https://api.rmfg.com/mcp"}'
```

Start the server from the MCP view and sign in when VS Code asks. Use RMFG tools in Copilot Chat agent mode.

### Codex

Terminal

```
codex mcp add rmfg --url https://api.rmfg.com/mcp
codex mcp login rmfg
```

### Other clients

Any client that supports remote MCP over Streamable HTTP works. Add the server URL; clients with OAuth discover sign-in automatically (protected-resource metadata, dynamic client registration, and S256 PKCE). Clients without OAuth can use an API key, below.

## Use an API key instead

Use an RMFG API key or the RMFG OAuth flow. A Supabase browser-session token is not an API key. MCP write tools take operation\_key; direct REST calls send that value as the Idempotency-Key HTTP header, not in the JSON body.

For headless agents, CI, or clients without OAuth, create a key under [Account → API keys](https://www.rmfg.com/account#api-keys) and send it as a bearer token. Keep it in an environment variable, never in a prompt or a committed file. A key limited to scopes needs `designs dfm quotes carts`, plus `orders` for order tracking.

Claude Code

```
claude mcp add --transport http --scope user rmfg https://api.rmfg.com/mcp \
  --header "Authorization: Bearer $RMFG_API_KEY"
```

Cursor and other mcp.json clients

```
{
  "mcpServers": {
    "rmfg": {
      "url": "https://api.rmfg.com/mcp",
      "headers": { "Authorization": "Bearer ${env:RMFG_API_KEY}" }
    }
  }
}
```

## Try it

Your agent uploads the STEP file itself when it can read the file. Otherwise it gives you a private upload link that lasts 15 minutes (STEP or STP, up to 50 MiB).

Quote with delivery options

```
Use RMFG to quote 10 copies of bracket.step in 5052 aluminum, about 1/8" thick, with no finish. Tap the four small mounting holes M5 × 0.8.

Show me the price, every manufacturing finding, and any risk that needs my decision. Then show delivery options to 78701 with standard and expedited production, and give me a checkout link for the option I pick.
```

Order status

```
Check on my RMFG orders. For each open order, tell me its status, whether it is expedited, the estimated ship date, and tracking if it has shipped.
```

## What your agent can do

Encountered an API or MCP problem? Use `submit_feedback` with reproduction steps, expected and actual behavior, and a proposed fix when known. We’ll look into it. Keep secrets and customer data out of reports. REST clients can use `POST /v1/feedback` with an `Idempotency-Key` header. Reuse the key for identical retries.

| Tool | What it does |
| --- | --- |
| Feedback |
| submit\_feedback | Report an API/MCP bug or improvement with reproduction steps and a proposed fix. We’ll look into it. |
| Guide and docs |
| begin\_project | Starts a temporary project with no signup. Returns the project key. |
| get\_agent\_guidance | Rules and workflow for agents. |
| search\_docs | Search live rmfg.com documentation. |
| read\_doc | Read a public page or /docs/manufacturing-rules.txt for all current manufacturing limits. |
| Upload and inspect |
| prepare\_upload | Upload a STEP file, or get a private browser upload link. |
| inspect\_design | Parts, holes, bends, thickness, instance counts and weld candidates. |
| preview\_design | Rendered, labeled images of a part or assembly. |
| search\_catalog | Materials, tube profiles, finishes, colors and hardware. |
| Quote and check |
| quote\_designs | DFM and pricing together, with quantity comparisons. |
| configure\_design | Detailed manufacturability check for one configuration. |
| get\_quote | Read an existing quote. |
| get\_dfm | Read a saved manufacturing report. |
| create\_review\_link | A link where you review and edit the part. |
| get\_review\_link | Read back the configuration you saved. |
| Delivery and checkout |
| get\_delivery\_options | Shipping cost, delivery dates and expedite surcharge for your address. |
| create\_checkout | A cart with shipping, totals, and cart\_url. Does not charge a card. |
| get\_checkout | Read checkout totals and status. Shows order\_id after you pay. |
| Account and orders |
| connect\_account | Signs this client in to your RMFG account. Not needed to quote or prepare a cart. With project\_key, saves a temporary project to the account. |
| list\_orders | Your orders, newest first. |
| get\_order | Status, expedite, ship date and tracking for one order. |

Agents read the [agent guide](https://www.rmfg.com/docs/api/agent-guide) before quoting. It tells them to report every manufacturing finding, ask before substituting a material or accepting a risk, and never claim an order exists until it does.

## Delivery, expedite, and orders

*   Every quote includes standard and expedited production with ship dates and the expedite surcharge.
*   With your US address, `get_delivery_options` returns each shipping option with its cost and estimated delivery date, plus free pickup in Fort Worth, TX.
*   Your agent preselects the option you choose in the checkout link. You see the final total, including tax, before paying on rmfg.com.
*   After you pay, `get_checkout` shows `status: "checked_out"` and the `order_id`, including on a connection with no account. Paying saves the project to your account, so no separate claim step is needed.
*   With an account connected, `list_orders` and `get_order` report status, estimated ship date, and tracking. If your agent connected before order tracking existed, reconnect it once to approve order access.

## Permissions and troubleshooting

*   With no token, the connection can quote and prepare a cart (`begin_project`, `create_checkout`). An account connection can also read orders. It cannot pay, change your saved card, or manage API keys. `POST /v1/carts/{id}/pay` needs the account. Disconnect anytime under [Connected agents](https://www.rmfg.com/account#agent-connections).
*   `connect_account` signs the client in to your RMFG account. It is not needed to quote or prepare a cart. With no account on the connection, the server answers 401 with `WWW-Authenticate`, your client opens RMFG sign-in, and the agent calls it again. Passing `project_key` to it, or to any tool once signed in, saves the temporary project to your account. Its design, quote, and cart IDs keep working.
*   Once a project is saved to an account, its temporary key can only read its cart with `get_checkout`. Other calls with that key return 410 `project_claimed`. Start a new project for new work.
*   If sign-in expires or a tool reports missing permissions, reconnect from your client.
*   Analysis and pricing can take a moment. Tools return IDs, so your agent can resume checking instead of starting over.
*   Building your own integration? See the [API guide](https://www.rmfg.com/docs/api) and [REST reference](https://www.rmfg.com/docs/api/reference).

Before designing or uploading, agents can read the [complete manufacturing rules](https://www.rmfg.com/docs/manufacturing-rules.txt): live limits, material and finish eligibility, hardware, automatic corrections and risks that need approval.
