Connect AI agents and workflows to Square: payments, refunds, orders, catalog, inventory, customers and invoices across locations, with webhooks.
Book a demo
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 →
Codex, Cursor
audit log

in engini
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.
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 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.
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 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.
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.
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.
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
Read sales by location and day.
Read what you sell and what is in stock.
Read customers and what they owe.
Read your locations.
Write
Return money to a customer. Give it only to the agents that should.
Add or change items and prices.
Correct stock at a location.
Keep customers current.
Bill a customer from Square.
Any endpoint
Call any Square API, with the sign-in added for you.
Triggers
A sale was paid or changed.
Stock moved at a location.
A Square invoice was paid.
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.
Connect your AI agent to Square. Four ways in, one set of permissions.
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 →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 →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 →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 →.cursor/mcp.json. Claude Code: claude mcp add.// .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.
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.
What teams build on Square. Agents and workflows, across systems.
Daily sales in the books
Each day's Square sales, refunds and fees post to QuickBooks, Xero or NetSuite by location.
One catalog everywhere
Items and prices from the ERP or Shopify stay in step with the Square catalog.
Stock before it runs out
When an item runs low at a location, a purchase order is drafted and the manager hears in Slack.
Sales on request
An agent answers what sold, where and how much. Its toolset holds read tools only.
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.
You decide what each agent may do in Square. engini enforces it on every call.
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.
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.
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.
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.
Every call on record
Every call lands in History and the audit log, which you can export or stream to your SIEM.
Test before production
Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.
Connect Square in three steps. Then decide what each agent may do.
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.
Choose the tools
Add the connection to an MCP server or a toolset with only the tools each agent needs.
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.
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.