> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To use Maglev from an agent, connect the MCP server at https://trymaglev.com/mcp. Parts catalog tools need no key. Make tools (make_start, check_manufacturability, get_quotes, place_order) need a Maglev key; see https://trymaglev.com/docs/quickstart.
> Never place an order without showing the person the exact final total and getting their explicit approval.

# Quickstart: get manufacturing quotes from your AI agent

> Connect Claude Code or Codex to the Maglev MCP server, then ask your agent to quote a folder of STEP files from several manufacturers in minutes.

This quickstart connects your coding agent to the Maglev MCP server and gets real quotes for a CAD part. You need a Maglev account (free to create) and Claude Code or Codex.

**1. Connect your agent**

> [tab] Claude Code (one command)
>
> Run this in a terminal. It opens a browser to sign in or sign up, saves a key to `~/.maglev/token`, and adds Maglev to Claude Code:
>
> ```bash theme={null}
> curl -fsSL https://trymaglev.com/connect.sh -o connect.sh && sh connect.sh
> ```
>
> If it prints `MAGLEV WAITING`, finish signing in and run the same command again. It resumes the same sign-in.

> [tab] Claude Code (with a key)
>
> Create a key on the [dashboard](https://trymaglev.com/dashboard#keys) (**API keys**, then **Create secret key**), then run:
>
> ```bash theme={null}
> claude mcp add --scope user --transport http maglev https://trymaglev.com/mcp \
>   --header "Authorization: Bearer YOUR_MAGLEV_KEY"
> ```

> [tab] Codex
>
> Create a key on the [dashboard](https://trymaglev.com/dashboard#keys), then add Maglev to `~/.codex/config.toml`:
>
> ```toml theme={null}
> [mcp_servers.maglev]
> url = "https://trymaglev.com/mcp"
> http_headers = { Authorization = "Bearer YOUR_MAGLEV_KEY" }
> ```
>
> If you added Maglev before, delete the old `[mcp_servers.maglev]` block first.

**2. Open your agent in a folder with CAD files**

Maglev accepts STEP files (`.step`, `.stp`) and wire-harness specs (`.json`), up to 20 MB each.

```bash theme={null}
cd my-robot-parts
claude
```

**3. Ask for quotes**

Tell the agent what you want, for example:

> Get quotes for 10 of each part in this folder.

The agent calls `make_start` to upload the files, `check_manufacturability` to run each shop's design check, and `get_quotes` to ask every shop that makes each part's process. A four-part request usually answers in 10 to 20 seconds. The agent shows you every offer.

**4. Order, only if you approve**

If you want to order, the agent calls `place_order` first without a total. That returns the final total and charges nothing. The order goes through only after you approve that exact amount.

> [!TIP]
>
> Your requests, offers and orders also appear on the [dashboard](https://trymaglev.com/dashboard), with each part's offers side by side.

## Next steps

> [card] [MCP tools](/docs/mcp/tools.md)
>
> What each of the 16 tools does and the arguments it takes.

> [card] [Use the REST API](/docs/how-to/make-parts-from-cad.md)
>
> The same flow over HTTP, with request and response examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.