Your AI · MCP and CLI
Connect your AI to MPBxChange
Connect Claude, ChatGPT, Codex, Cursor or any MCP client to your account. Your AI can search Thai fabricators, compare materials, publish your request and read quotations on your behalf. MPBxChange itself runs no AI on your drawings, files or contracts.
Setup
Connect in three steps
Public tools work without a token. Anything that reads or writes your account needs one, and every call is logged against your account.
Create a personal token
Sign in, open Account · Your AI, name the token after the client that will use it. It is shown once; revoke it there at any time. Open Your AI →
Add the server to your client
Endpoint:
https://www.mpbxchange.com/api/mcp· transport HTTP, JSON-RPC 2.0, headerAuthorization: Bearer <token>. Discovery document:/.well-known/mcp.json.Ask your AI for a board
"Find Thai fabricators for a 6-layer FR-4 board and publish a request for 500 pieces to Munich." It calls pcb_suppliers_search, pcb_materials_search and pcb_request_create; quotations arrive through pcb_request_get.
Tools
Available tools
Input schemas come from tools/list. Public tools are marked; the rest act as the token owner.
pcb_suppliers_searchpublic | Search the directory of Thai PCB fabricators compiled from public sources: site, board types, layers, finishes, reported certificates, site status and sources. |
|---|---|
pcb_materials_searchpublic | Search 253 laminate, prepreg and finish records with Tg, Td, Dk, Df, CTE and IPC-4101 references. |
pcb_request_createtoken · writes | Publish a Thailand PCB manufacturing request (layers, size, thickness, material, finish, quantity, lead time, destination) as the token owner. |
pcb_requests_listtoken | List the token owner's PCB requests with quotation counts. |
pcb_request_gettoken | Read one request with every quotation: supplier, price, lead time, MOQ, tooling, terms. |
Client configuration
Configuration examples
The same endpoint serves every client. Replace mpbx_… with your token. Keep it out of shared files: it acts as you.
claude mcp add --transport http mpbxchange https://www.mpbxchange.com/api/mcp --header "Authorization: Bearer mpbx_…"
{
"mcpServers": {
"mpbxchange": {
"url": "https://www.mpbxchange.com/api/mcp",
"headers": {
"Authorization": "Bearer mpbx_…"
}
}
}
}[mcp_servers.mpbxchange] url = "https://www.mpbxchange.com/api/mcp" bearer_token_env_var = "MPBX_TOKEN" # then: export MPBX_TOKEN=mpbx_…
curl -s https://www.mpbxchange.com/api/mcp \
-H "Authorization: Bearer mpbx_…" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pcb_suppliers_search","arguments":{"query":"Ayutthaya"}}}'git clone https://github.com/x7q8qr87ty-sudo/MPBx && cd MPBx/cli node mpbx.mjs login mpbx_… node mpbx.mjs suppliers "Prachin Buri" node mpbx.mjs materials 370HR node mpbx.mjs gerber read ./board.zip node mpbx.mjs request create --title "Controller rev B" --qty 500 --layers 4 --width 100 --height 80 --destination "Germany, Munich"
The CLI reads Gerber ZIPs on your machine and talks to the same MCP endpoint; it needs Node 20 or later.
Data handling
Where your files are processed
| Drawings | Gerber ZIPs are read and rendered in your browser. Nothing is uploaded. |
|---|---|
| PDF and image drawings | Read by your AI, then entered into a request by you or through pcb_request_create. |
| Contracts and photos | Reviewed by you, or by your AI with your files. MPBxChange stores the record. |
| Your token | Stored as a hash. Every call is logged to your account and can be revoked at any time. |