Admin Agents
Loading…
Agents
Let an AI agent source and order parts through the Sourcery MCP server
MCP server
Runs inside the SpacetimeDB sourcing backend · Streamable HTTP · OAuth or API key
https://<sourcer-host>/v1/database/sourcer/route/mcpsource_bomStarts sourcing a BOM and returns a quote idget_quoteOffers per line and the total for each plan; poll until readyplace_orderOrders a ready quote with one plan and returns the Creem checkout linklist_ordersThe account's orders, newest firstget_orderOne order with its lines and payment state
The agent never pays. place_order returns a Creem checkout link and the parts are ordered once you pay there. Orders placed by your agents are listed at the bottom of this page.
1 · Connect with sign-in
Recommended. The agent opens this site, you sign in and allow it; no key to copy. Or paste a ready prompt from MCP setup
Run in a terminal. The login opens this site in your browser: sign in and allow Codex.
codex mcp add sourcery --url https://<sourcer-host>/v1/database/sourcer/route/mcp codex mcp login sourcery
Prefer to let the agent do it? Copy a setup prompt and paste it into your agent.
Or use an API key
For clients without sign-in. A key acts as your account: anyone holding it can place orders that you pay for.
Loading…
Set up a client with an API key
Settings → Developer → Edit Config (claude_desktop_config.json), then restart Claude. Needs Node.js.
{
"mcpServers": {
"sourcery": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://<sourcer-host>/v1/database/sourcer/route/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <YOUR_API_KEY>"
}
}
}
}Replace <YOUR_API_KEY> with your key, or create one above to fill it in.
2 · Ask it to order
For example
Source the BOM in bom.csv for 10 boards of "motor-driver-v3" with Sourcery, show me the cheapest and fastest totals, and once I pick one place the order and give me the payment link.