MCP Ecommerce
Square logo

Payments

Square MCP Server

Square's beta MCP server bridges AI assistants to the full Square API (customers, orders, catalog items, payments). Square recommends the hosted server with OAuth; a local server can target Sandbox.

Square MCP Server setup guide: Square's MCP documentation page on developer.squareup.com, shown in a browser frame (payments MCP server for e-commerce)
Square MCP Server setup guide preview: Square’s documentation on developer.squareup.com, captured Nov 5, 2026. The page may have changed since; the link opens the live version.

What it is and why it matters

Square's MCP server is an official, beta connector between AI assistants and the Square API platform. Once connected, an assistant can look up customers, orders and catalog items, and it can create or update Square records. Square hosts a remote server, and you can also run a local copy on your own computer. For a retailer that sells through Square POS and online checkout, this means questions like "which items sold most this week" can be asked in plain language instead of through reports or developer tools. It suits merchants and agencies who are comfortable testing before they go live. Three things decide whether it works well. The first is the version you choose. The remote server only touches production data, so real records are at stake from the first prompt. The local server can target Sandbox, but writes are on by default there. The second is whether your AI client is on Square's allowlist of MCP clients. The third is how carefully you scope the permissions you approve at sign-in.

Square recommends the remote server because it uses OAuth sign-in with granular permissions and no manual token handling. The local server needs a Square access token and Node.js. It is the better place to rehearse prompts, because it can use the Sandbox and can be set to read-only. The server is in beta, so behaviour may change. Square asks for feedback and bug reports through GitHub issues.

What it does

  • Query customers, orders and catalog items
  • Create and update Square records
  • Run against Sandbox locally for safe testing
  • A flag makes the local server read-only

Best for

Omnichannel retailers using Square POS plus online checkout.

How to connect it

  1. Decide where to start. As described in the documentation, Square recommends testing prompts against a Sandbox account before using production. Sandbox needs the local server, which requires Node.js installed on your computer.
  2. For a safe first run, start the local server as described in the documentation with npx square-mcp-server start. Set ACCESS_TOKEN to your Square access token, SANDBOX to true, and DISALLOW_WRITES to true so it is read-only. Follow Square's documentation on access tokens to get the token.
  3. To use the local server in Claude Desktop, add an entry under mcpServers in claude_desktop_config.json that runs npx with the arguments square-mcp-server and start, and put the same variables in its env block. Cursor and Windsurf use similar settings, as described in the documentation.
  4. For production, use the remote server at https://mcp.squareup.com/mcp. In Claude.ai, an owner adds that URL under Integrations (the menu location differs for Teams, Enterprise and Max plans). Then open a chat, use the Search and tools menu, choose Connect and sign in with your Square account.
  5. In Claude Desktop, Cursor or Windsurf, the remote option runs npx mcp-remote https://mcp.squareup.com/mcp. This starts the OAuth sign-in. When Square asks which permissions to grant, approve only what the task needs.
  6. If your AI client will not connect, it may not be on Square's allowlist. The documentation says to request an addition in the Square developer forum.

Exact commands and addresses change. Use the official documentation for the current steps.

Installation guide for Square MCP Server

Client-by-client steps, what to prepare, the first prompts to run and fixes for common errors.

ClaudeChatGPTGeminiMicrosoft CopilotPerplexityCursorClaude Code
→

Questions you can ask it

  • List the ten customers who created accounts most recently and show their contact details.
  • Show my open orders from the last seven days and group them by fulfillment status.
  • Which catalog items have no description or category assigned? Give me a list I can review.
  • Summarize the items in my catalog by category and tell me how many are in each.

What it cannot do

  • The remote server cannot be pointed at Sandbox. It only reaches production resources, so you cannot rehearse write actions on it.
  • It does not work with every AI client. Square keeps an allowlist of MCP clients, and a client that is not on it may be blocked until Square adds it.
  • It is a beta release, so it is not a guaranteed stable reporting tool. Behaviour and available tools may change, and this guide does not claim a fixed list of supported actions.

Staying safe

  • Start read-only. On the local server, set `DISALLOW_WRITES=true`, because writes are on by default. The remote server can create and update records, so approve only the scopes you need and review each change a prompt proposes.
  • Test in Sandbox first. Use `SANDBOX=true` locally with a Sandbox token. Move to production only after your prompts behave as expected, and only with supervised write tasks.
  • Treat the access token as a password. Locally it sits in a config file or environment variable, so do not share the file or paste the token into chats. Prefer the remote OAuth sign-in, which avoids manual token handling, and disconnect the integration when someone leaves your team.

Watch out for: The remote server only touches production data, writes are on by default locally and Square keeps an allowlist of MCP clients.

Frequently asked questions

+

Should I use the remote or local Square MCP server?

Square recommends the remote server. It uses OAuth sign-in with granular permissions, so you do not manage tokens. It only accesses production data, though. The local server needs Node.js and an access token, but it can target Sandbox and can be set to read-only. Many teams rehearse locally first, then move to remote.

+

How do I make the Square MCP server read-only?

On the local server, set the `DISALLOW_WRITES` environment variable to `true`, as described in the documentation. Writes are on by default locally. The documentation does not describe an equivalent switch for the remote server, so limit the scopes you approve at sign-in and review every action it proposes.

+

Can I try the Square MCP server without touching live data?

Yes, with the local server. Install Node.js, get a Square access token for your Sandbox, and set `SANDBOX=true` when you run `npx square-mcp-server start`. Square advises testing prompts in Sandbox before production. The remote server cannot do this, because it only accesses production resources.

Step-by-step: install Square MCP Server in Claude, ChatGPT, Gemini, Copilot and more →

Questions and answers (1)

Questions readers and searchers ask about Square MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.

  • MCP Ecommerce editorSite editor

    People search for: “square mcp claude”

    Yes, Square's MCP server (beta) works with Claude.ai and Claude Desktop. The remote server address is https://mcp.squareup.com/mcp, and Square recommends it because it uses OAuth sign-in with granular permissions.

    In Claude.ai, Teams and Enterprise owners add the URL under Settings > Integrations (Teams) or Settings > Data management (Enterprise). Claude Max users use Settings > Profile. Then open a chat, use the Search and tools menu, choose Connect to sign in to Square, and enable the Square tools you want.

    In Claude Desktop, add an entry to claude_desktop_config.json that runs npx with mcp-remote and the URL. A local option uses npx square-mcp-server start with your access token and SANDBOX set to true.

    Two cautions: the remote server only touches production data, and Square keeps an allowlist of MCP clients. Our install guide covers Claude step by step: https://mcpecommerce.com/directory/square-mcp/install

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.

Related guides

Other servers to compare