< Back to all integrations
ERP & Finance

Connect AI agents and workflows to Square: payments, refunds, orders, catalog, inventory, customers and invoices across locations, with webhooks.

Book a demo
[ Square + engini ]

Square for AI agents and workflows.

engini lets your AI agents and workflows work in Square: read payments and orders from every location, issue refunds, keep the catalog and inventory in step with the ERP, manage customers, send invoices, and start a workflow the moment Square reports a payment or an inventory change. Stores, restaurants and service businesses close the day with the books already done. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

Connect Square to Claude, Claude Code, ChatGPT, Codex and Cursor: one engini MCP server, CLI or SDK, with only the Square tools you choose. How it works →

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Sign-inSign in with Square (OAuth 2), or an access token
ReachPayments, refunds, orders, catalog, inventory, customers, invoices and locations
TriggersSquare webhooks, as payments and inventory change
[ AI clients ]

Connect Square to Claude, Claude Code, ChatGPT, Codex and Cursor. One connection, only the tools you choose.

Looking for an MCP server for Square, or a way to let Claude Code or ChatGPT work in Square? Connect Square to engini once, choose the Square tools each agent may use, and add engini to the AI client you already work in.

Claude

Connect Claude to Square

Create an MCP server in engini with your Square connection and only the tools you choose. In Claude, open Settings, Connectors, Add custom connector, paste the server address and sign in through engini.

Claude and your business systems →
Claude Code

Claude Code and Square

Add the same server with claude mcp add --transport sse and sign in with /mcp. Or install the engini CLI and let Claude Code run Square tools from the terminal.

MCP client setup →
ChatGPT

ChatGPT and Square

Add the engini MCP server to ChatGPT as a custom MCP server, where your ChatGPT workspace allows them, and sign in through engini. ChatGPT sees only the Square tools on that server.

ChatGPT and your business systems →
Codex

Codex and Square

Install the engini CLI (npm install -g @engini/cli) and Codex runs Square tools from the terminal, with machine-readable output. The engini skills plugin for Codex builds engini workflows from a plain-language request.

engini skills for Claude Code and Codex →
Cursor

Cursor and Square

Add the server address to .cursor/mcp.json and sign in through engini on first use. VS Code and other MCP clients take the same address.

MCP client setup →
Your own agent

Python, TypeScript or REST

The SDK hands OpenAI and Anthropic models the Square tools in the format they expect and runs the ones they pick. The REST API calls the same tools with no model in the loop.

SDK guide →

Every client goes through the same Agent Policy: the toolset decides which Square tools it may call, credentials stay in engini, and every call is in the audit log. Setup for each client: MCP client setup.

[ 01 / What agents can do ]

What your agent can do in Square. Every tool is one you allow or leave out.

The Square tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Payments, Get Orders

Read sales by location and day.

Read
Get Catalog Items, Get Inventory Counts

Read what you sell and what is in stock.

Read
Get Customers, Get Invoices

Read customers and what they owe.

Read
Get Locations

Read your locations.

Read

Write

Refund Payment

Return money to a customer. Give it only to the agents that should.

Write
Upsert Catalog Item

Add or change items and prices.

Write
Adjust Inventory

Correct stock at a location.

Write
Create or Update Customer

Keep customers current.

Write
Create Invoice, Publish Invoice

Bill a customer from Square.

Write

Any endpoint

Send API Request

Call any Square API, with the sign-in added for you.

Any call

Triggers

Payment Created, Payment Updated

A sale was paid or changed.

Event
Inventory Count Updated

Stock moved at a location.

Event
Invoice Paid

A Square invoice was paid.

Event

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Square. Four ways in, one set of permissions.

MCP

Claude, Claude Code, ChatGPT, Cursor

Create an MCP server in engini with your Square connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Square tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

Claude Code, Codex

The engini CLI connects Square and runs its tools from a terminal, with machine-readable output, so an AI coding agent such as Claude Code or Codex can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Square tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Square and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Square through engini
// .cursor/mcp.json: Cursor, connected to Square through engini
{
"mcpServers": {
"engini-square": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Square connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“What did each location sell yesterday?”
“Refund the last payment from this customer.”
“Which items are below 5 units at the downtown store?”
“Update the price of the house blend to $16.”
“Send an invoice to Acme Catering for Friday's order.”
“Who are our top customers this month?”

Each request runs through the Square tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Square. Agents and workflows, across systems.

Finance

Daily sales in the books

Each day's Square sales, refunds and fees post to QuickBooks, Xero or NetSuite by location.

SquareQuickBooksNetSuite
Operations

One catalog everywhere

Items and prices from the ERP or Shopify stay in step with the Square catalog.

NetSuiteShopifySquare
Purchasing

Stock before it runs out

When an item runs low at a location, a purchase order is drafted and the manager hears in Slack.

SquareSlack
Owners

Sales on request

An agent answers what sold, where and how much. Its toolset holds read tools only.

ClaudeSquare

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Square and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Square. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Square tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Square account and engini acts as that person, with their Square permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRHIPAA compliantSecurity at engini →
[ 05 / Set up ]

Connect Square in three steps. Then decide what each agent may do.

Step 01

Sign in to Square

Add a Square connection and sign in with Square, choosing the scopes the workflows need. Use a sandbox account to test first.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Square from Claude, Claude Code, ChatGPT, Codex, Cursor or your own code.

[ 06 / Questions ]

Square and engini. Straight answers.

Can an AI agent write to Square, or only read?

Both. engini has tools to refund payments, update the catalog, adjust inventory, keep customers current and create and publish invoices. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Can I connect Claude or Claude Code to Square?

Yes, through engini. Create an MCP server in engini with your Square connection and the tools Claude may use. In Claude, add it under Settings, Connectors, Add custom connector; in Claude Code, run claude mcp add --transport sse with the server address, or use the engini CLI. Claude signs in through engini, sees only the Square tools you chose, and every call is in the audit log.

Is there an MCP server for Square?

Yes. engini gives you an MCP server for Square: create one in engini with your Square connection and only the tools you choose, and Claude, Claude Code, ChatGPT, Cursor, VS Code and other MCP clients connect to it and sign in through engini over OAuth, with no key to copy. MCP client setup.

How do I connect ChatGPT or Codex to Square?

ChatGPT: add the engini MCP server as a custom MCP server, where your ChatGPT workspace allows them, and sign in through engini. Codex: install the engini CLI and Codex runs Square tools from the terminal; the engini skills plugin for Codex also builds engini workflows from a plain-language request. In your own code, the SDK hands OpenAI models the Square tools.

Does the agent act as me in Square?

It acts as the Square seller who signed in, with the scopes granted. Every run is recorded under the person who started it.

Can a change in Square start work?

Yes. Square notifies engini when payments are created or change, when inventory counts move and when invoices are paid. A workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any Square API endpoint through the same connection, and give it only to the agents that need it.