API & Agents

Connect your agent to RMFG

Use your agent to inspect CAD, choose materials and services, check manufacturability, and get a quote. RMFG hosts the MCP server; you connect with a URL and sign in.

Hosted MCP server URL
https://api.rmfg.com/mcp

Connect once

  1. In your agent's MCP settings, add a remote server named RMFG with the URL above. Choose Streamable HTTP if asked.
  2. Connect and sign in on rmfg.com. Review the requested permissions and approve the connection.
  3. Return to your agent and ask it to quote your parts. Your client manages the connection and token refresh.

Use a client that supports remote MCP and OAuth. This connection can analyze, configure, quote, and prepare carts. You pay on the website. Disconnect anytime under Connected agents.

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

See the official Codex MCP guide for client settings. Other clients use the same hosted URL and OAuth connection.

Give your agent a STEP file

Ask your agent to prepare an upload. If it can access your file, it uploads directly. Otherwise, it gives you a private RMFG upload link where you select the file. Links last 15 minutes and accept STEP or STP files up to 50 MiB.

A hosted server cannot read a path on your computer or automatically access a chat attachment. The upload link connects your file to the account you approved.

Try a quote
Use RMFG to quote one copy of bracket.step in hot rolled steel. Inspect the assembly and suggest suitable welds. Tap the small mounting holes M5 × 0.8 and preserve larger openings.

Show me the material thickness, selected holes and welds, price, and any manufacturing risks that need my decision. When the quote is ready, give me a link to review and pay on rmfg.com.

From inspection to checkout

StepWhat your agent can do
InspectRead parts, holes, dimensions, and weld candidates; open labeled previews.
ConfigureSelect current materials, tapped holes, hardware, finishes, and weld paths.
QuoteCheck manufacturing requirements, compare quantities, and show price and production status.
Review and payShare a review link and prepare checkout from the quoted configuration.

Your agent should ask you about substitutions and manufacturing risks before accepting them. Quotes and carts do not place an order. Review the final configuration, delivery, and total including tax before paying on rmfg.com.

Troubleshooting and developer details

  • If login expires or permissions are missing, reconnect through your client. Check that it supports OAuth for remote MCP.
  • If an upload link expires, ask for a new one. Once uploaded, your agent can resume analysis with the design ID.
  • Analysis and production files can take time. The tools return IDs so your agent can resume checking progress.

RMFG uses the official MCP SDK, Streamable HTTP, OAuth discovery, dynamic client registration, and S256 PKCE. Read the plain-text agent workflow for tool usage, or the REST API reference to build your own integration.