Connect your agent
PrintAgent speaks three protocols over the same core. Use whichever your framework supports. All quoting is free; only the order is paid.
MCP (tool-using assistants)
Streamable HTTP, stateless. Add to Claude Desktop, Copilot, Cursor or any MCP client:
{ "mcpServers": { "printagent": { "url": "https://3ddruckagent.davidtheobald.de/mcp/" } } }Tools: list_materials, analyze_mesh, get_quote, place_order, order_status.
A2A (agent-to-agent, long-running tasks)
GET https://3ddruckagent.davidtheobald.de/.well-known/agent-card.json
Send a file part (STL/3MF/OBJ) plus a data part with material, quantity and optionally address. Without an address the task completes with a quote artifact; with one it becomes a long-running order task that completes on delivery.
REST
curl -F file=@part.stl -F material=pa12 -F quantity=2 -F ship_country=DE https://3ddruckagent.davidtheobald.de/v1/quotes
curl -X POST https://3ddruckagent.davidtheobald.de/v1/quotes/{quote_id}/order -H 'content-type: application/json' \
-d '{"address":{"name":"…","line1":"…","postal_code":"…","city":"…","country":"DE"}}'
# → 402 Payment Required with MPP + x402 challenges; retry with a payment credential
curl https://3ddruckagent.davidtheobald.de/v1/orders/{order_id}Paying
The 402 carries every configured rail for the exact quote amount:
- MPP (
WWW-Authenticate: Payment): Stripe cards/Link via Shared Payment Tokens, Tempo stablecoins, USDC on Base. - x402 (
PAYMENT-REQUIRED): USDC on Base,exactscheme.
Funds are held in escrow. Delivery is confirmed by carrier webhook; a dispute window follows; then the escrow is released. Failed orders are refunded.