Admin MCP setup
Loading…
MCP setup
Copy one prompt into your AI agent and it connects itself to Sourcery
Not connected on this deployment
NEXT_PUBLIC_SOURCER_URL is not set, so the prompt below has a placeholder URL.
Setup prompt
Paste it into a new chat with your agent
Set up the Sourcery MCP server so you can source and order PCB parts for me. 1. Run: codex mcp add sourcery --url https://<sourcer-host>/v1/database/sourcer/route/mcp 2. Run: codex mcp login sourcery It opens a Sourcery sign-in page in my browser. Tell me to sign in and click Allow, then wait until the command prints "Successfully logged in". 3. Run: codex mcp list and check that sourcery shows Auth "OAuth". 4. Tell me it is ready. The Sourcery tools are available in a new Codex session. How to use Sourcery once it is connected: - Send my bill of materials with source_bom (part number or value, package for passives, total quantity). - Sourcing takes a few minutes: call get_quote about once a minute until its status is "ready". - Show me the total for each plan (cheapest, best, fastest) and the lines that are unavailable. - Only call place_order after I have confirmed a plan. It returns a checkout link: give it to me, I pay there myself. - list_orders and get_order show my orders and whether they are paid.
What happens
- Paste the prompt. The agent adds the Sourcery server to its settings.
- Sign in when your browser opens. Sign in to Sourcery and click Allow. The agent gets its own key; no key to copy.
- Ask it to order. For example: "Source the BOM in bom.csv for 10 boards with Sourcery and show me the totals." It places an order only after you confirm, and you pay each order yourself.
Keys your agents got, and the orders they placed, are on the Agents page, where you can revoke a key at any time.
Server
https://<sourcer-host>/v1/database/sourcer/route/mcp