Sheet noteHow AI connects to Square: seller OAuth with scoped permissions, Square's official MCP server, webhooks, rate limits, and what stays with a person.
Sheet SY-043 · Point of sale and payments
Connecting AI to Square
Square holds the day's sales, the item catalog, inventory counts, customer profiles and, for many shops, the appointment book. Square publishes its own MCP server and a full REST API, so an agent can reach most of it. The owner approves access on Square's own sign-in screen, and we start with read-only scopes.
Square is Block's point of sale and payments platform used by counter-service cafes, retail shops, salons, studios and food trucks. Behind the register sit the Orders, Payments, Catalog, Inventory, Customers, Bookings, Labor and Team APIs, among others, all on one REST platform with SDKs in several languages. A seller with more than one location gets one account with location IDs, so the same connection can report on every store.
How access works
Square documents an official MCP server (square/square-mcp-server on GitHub, marked Beta). The hosted version at mcp.squareup.com uses OAuth with granular permissions and only reaches production data. A local version runs with an access token and supports a DISALLOW_WRITES setting that restricts it to read-only operations, which is how we run it at the read step. Square offers a free Sandbox for testing prompts and automations before they touch a live account. The developer docs we read describe no plan-tier gate on API access; confirm in the Square Developer Console for your account. Square does not publish numeric rate limits; it returns RATE_LIMITED (HTTP 429) errors and asks apps to back off and retry.
Vendor docs: https://developer.squareup.com/docs/oauth-api/overview
Once Square is connected.
Answer sales questions by location and hour
The agent reads orders and payments and answers what an owner asks before ordering stock or building a schedule: what sold best on Saturdays, which location ran short at lunch, how much of last week's revenue came from tips or refunds. Each answer names the date range and locations it covers.
Flag low stock and draft reorders
Square inventory webhooks report count changes as they happen. The agent compares on-hand counts against recent sell-through, flags items about to run out, and drafts a purchase list grouped by vendor for the manager to review and send.
Clean up the item catalog
Duplicate items, missing SKUs, variations priced differently across locations, and items with no category all slow down checkout and reporting. The agent lists them and proposes fixes, and a person approves each batch before the catalog changes.
Follow up with customers after a visit
Using the customer directory and order history, the agent drafts a thank-you or a rebooking note for first-time buyers or clients who have not come back in a set number of weeks. Nothing goes out until a person approves the message and the list.
Reconcile payouts against the books
The agent matches Square payouts, fees, and refunds to deposits in the accounting system and lists anything that does not line up, so the bookkeeper starts the month with the exceptions instead of the whole statement.
Watch for refunds and voids that look wrong
Square can send webhook events when payments and refunds change. The agent flags a cluster of refunds on one employee's shift or a large manual discount the same day, and sends the owner a short note with the order IDs.
What to watch.
- Refunds, payment captures, price changes, and gift card loads move money. They stay behind a human approval until the owner decides otherwise, Square processes the card data, and our automations never handle card numbers, so nothing we build adds to your PCI DSS scope.
- Square does not publish fixed rate limits and says limits can differ by endpoint. Bulk history pulls run overnight with backoff, and we use webhooks to catch changes instead of polling.
- Webhooks can arrive more than once and out of order, and Square stops retrying after 24 hours. We de-duplicate by event ID and reconcile on a schedule so a missed event does not leave a gap.
- The official MCP server is in Beta and its hosted version only reaches production data. We test new automations against the Square Sandbox first.
Square and AI: questions.
Q.01Do you need my Square password?
No. You sign in on Square's own authorization page and approve the permissions we ask for. You can see and revoke the connection from your Square account at any time.
Q.02Is there an official Square MCP server?
Yes. Square documents one in its developer docs and publishes the code as square/square-mcp-server on GitHub. It is labeled Beta. There is a hosted version that uses Square sign-in and a local version that can be set to read-only.
Q.03Can the AI issue refunds or change prices?
Only if you allow it, and only after it has worked at the read and draft steps for a while. Anything that moves money or changes what customers pay waits for a person to approve it, and every action is logged.
Q.04We have three locations. Does that need three connections?
Usually no. One Square seller account covers all its locations, and the API returns data with location IDs, so reports can split or combine stores.
Q.05Will this see my customers' card numbers?
We design so it does not. Square processes the card data, and our automations work with orders, totals, and customer profiles. Card numbers stay out of AI systems.
Run Square? Tell us what else you run.
Square is rarely the only system. List the others and the job that eats the most time, and we'll reply with what we'd connect first.