Which shops answer depends on the part; a shop that can’t make it simply doesn’t return an offer.
Agents that speak MCP get the same four steps as tools at
https://trymaglev.com/mcp (see MCP server). This page uses plain HTTP.
1. Get a key
Log in or sign up at trymaglev.com/dashboard, open API keys in the sidebar, and choose Create secret key. Name the key; it is shown once, with a Copy button, and the dashboard checks it againstGET /api/v1/me right away. Keep it in your environment or a secret manager:
~/.maglev/token) work the same way. Check a key with:
2. Upload each file
Send a STEP file (.step, .stp) or a wire harness spec (.json), up to 20 MB each. Files are kept for 7 days.
3. Check that each part can be made
process, shop, routed_because and any issues. A blocker issue must be fixed before quoting. ready_to_quote is true when every file is clear.
4. Get quotes from every shop
sort (price or lead_time). A four-part request usually answers in 10 to 20 seconds.
one_time_costs. Field details are in the reference.
5. Order, with a person’s approval
Ordering takes two calls, so nothing is ever bought without a person seeing the exact total. First, ask for the final total. Nothing is charged:ask_human to a person. When they approve, send the same total back with a note saying who approved it:
needs_approval again with the new total. Ordering the same quote twice returns the first order.
What happens next depends on the shop:
How routing works
Maglev reads the surfaces in the STEP file:- Sheet metal: bends (two cylinders on one axis whose radii differ by a sheet thickness) and the same thickness everywhere.
- Injection molding: drafted walls, meaning tapered side faces on a part with no bends.
- CNC machining: any other solid, such as blocks with pockets, bores and holes.
.json) go to wire harness. If the geometry can’t decide, the file name is used. To choose yourself, pass processes to check or quotes:
Track everything
GET /api/v1/requests lists your requests, newest first, each part with every offer and its order status. The same history is on your dashboard, where each part’s offers are laid out in a comparison table.