Square MCP Server
Published
At a glance
- Category
- Business & payments
- GitHub repository
- square/square-mcp-server
- Watch out for
- Square's docs say remote instances only access production resources, so sandbox testing requires the local server with SANDBOX=true.
Square's official MCP server, which Square labels as beta, lets an AI assistant call Square's Connect API. That covers payments, orders, catalog, customers, inventory, invoices, bookings, loyalty, gift cards, payouts, team and labor data, and most of the rest of the Square API.
Square runs a hosted remote server at https://mcp.squareup.com/mcp with OAuth sign-in, and its README says most people should use that one. The square/square-mcp-server repository is the local, self-hosted version: you run it with npx and give it an access token. An older SSE endpoint at https://mcp.squareup.com/sse is still served for existing setups.
The design is unusual. Rather than one tool per endpoint, the server exposes three generic tools: one to discover the methods a service offers, one to fetch parameter types, and one to make the API call. The agent explores the API and then builds requests itself, which keeps the tool list short but means any API method is reachable.
How it connects
Your AI app
An assistant or agent that supports MCP
Square MCP Server
Runs as
- npx (Node.js)
- Remote (HTTP)
Gives the agent
- Service discovery
- Request preparation
- API execution
- Broad service coverage
- Read-only mode
Square
Signs in with
- Token
What it can do
- Service discovery
- get_service_info lists the methods available for a service such as catalog, payments or customers.
- Request preparation
- get_type_info returns the detailed parameter requirements for a method before the agent builds a call.
- API execution
- make_api_request runs the actual call against Square, reads or writes, across services like orders, refunds, inventory and invoices.
- Broad service coverage
- The README lists services from payments, refunds, payouts and disputes through bookings, loyalty, gift cards, vendors, team and webhook subscriptions.
- Read-only mode
- On the local server, DISALLOW_WRITES=true restricts it to read-only operations.
Setting it up
For the hosted server in Claude Desktop, add an mcpServers entry with command "npx" and args ["mcp-remote", "https://mcp.squareup.com/mcp"], restart, and sign in with your Square account when prompted. On claude.ai, owners add the URL under Settings > Integrations (Teams), Settings > Data management (Enterprise) or Settings > Profile (Max), then choose Connect from the Search and tools menu. Cursor takes the same mcp-remote command with Type set to Command, and Windsurf uses the same npx args in mcp_config.json. For the local server, run npx square-mcp-server start with ACCESS_TOKEN set to your Square access token and SANDBOX=true for testing; in Claude Desktop that is command "npx", args ["square-mcp-server", "start"] and those two values in env. Optional variables are PRODUCTION=true, DISALLOW_WRITES=true and SQUARE_VERSION (for example 2025-04-16). Goose users can run npx square-mcp-server install.
claude mcp add --transport http square https://mcp.squareup.com/mcpIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Look up today's orders and payments for a location and summarize sales.
- Check inventory counts for catalog items and flag what is running low.
- Find a customer record and review their loyalty and gift card activity.
- Create test catalog items and orders in the sandbox while building an integration.
- Pull dispute details for a payment so a person can decide how to respond.
Limitations and things to watch
- Square's docs say remote instances only access production resources, so sandbox testing requires the local server with SANDBOX=true.
- make_api_request can reach write methods such as payments, refunds, payouts and catalog changes, so a mistaken call on production affects real money and real customer data.
- Read-only mode through DISALLOW_WRITES is a local server option; on the hosted server you rely on OAuth permissions and reviewing each tool call.
- The server is marked beta, and Square recommends testing prompts in a sandbox before production use.
- Remote OAuth uses an allowlist of client redirect hostnames, so some clients need Square to allowlist them through a request form first.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /square/square-mcp-server
- developer.squareup.com /docs/mcp
- github.com /square/square-mcp-server/releases
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.