MCP servers · Square · MCP server
Connect Codex CLI to Square
One line gives Codex CLI your Square account as tools: 57 endpoints, payments, customers, orders, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Square. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Create a payment in Square".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Square
Payments · Process payments, refunds, and completions4
Create a payment
POST /paymentsList payments
GET /paymentsGet a payment
GET /payments/{paymentId}Complete a payment
POST /payments/{paymentId}/completeCustomers · Full customer directory management6
Create a customer
POST /customersList customers
GET /customersGet a customer
GET /customers/{customerId}Update a customer
PUT /customers/{customerId}Delete a customer
DELETE /customers/{customerId}Search customers
POST /customers/searchOrders · Create, manage, and pay orders5
Create an order
POST /ordersSearch orders
POST /orders/searchGet an order
GET /orders/{orderId}Update an order
PUT /orders/{orderId}Pay an order
POST /orders/{orderId}/payCatalog · Product catalog lifecycle5
Create a catalog object
POST /catalog/objectList catalog
GET /catalog/listSearch catalog
POST /catalog/searchUpdate a catalog object
POST /catalog/objectDelete a catalog object
DELETE /catalog/object/{objectId}Inventory · Inventory tracking and transfers3
Get an inventory
POST /inventory/counts/batch-retrieveAdjust inventory
POST /inventory/changes/batch-createTransfer inventory
POST /inventory/transfers/batch-createInvoices · Create and send invoices6
Create an invoice
POST /invoicesList invoices
GET /invoicesGet an invoice
GET /invoices/{invoiceId}Update an invoice
PUT /invoices/{invoiceId}Publish an invoice
POST /invoices/{invoiceId}/publishCancel an invoice
POST /invoices/{invoiceId}/cancelSquare in other AI clients
Claude Code + SquareMCP server + skillClaude (desktop & claude.ai) + SquareconnectorChatGPT + Squareconnector · GPT actionGemini CLI + SquareMCP serverCursor + SquareMCP serverVS Code (Copilot) + SquareMCP serverWindsurf + SquareMCP server
