Installation guide
How to install Square MCP Server
In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.
Square offers two routes. The remote server is hosted by Block at `https://mcp.squareup.com/mcp` and uses OAuth sign-in with your Square account, so there is no token to manage. The local server runs on your machine with `npx square-mcp-server start`, needs Node.js and a Square access token, and can target Sandbox. The server is in beta and the remote route only touches production data.
Have the Square account owner or an administrator who can authorise API access do this, and sign in with the account that matches the data you want exposed. For a first test, use the local server against Sandbox with `DISALLOW_WRITES` set to `true`. Move to the remote server only after the answers look right, and approve only the scopes you need on the OAuth screen.

Before you start
- A Square account, plus a Sandbox account if you want to test first
- A Square access token for the local route (the docs point to Access Tokens and Other Square Credentials)
Node.jsinstalled, which providesnpxfor both the local server and themcp-remotehelper- For Claude.ai: an owner or primary owner on Claude Teams or Enterprise, or a Claude Max plan
- A client that Square allowlists, or a request for addition in the Square developer forum
- How it runs
- Remote or local
- Access
- Read and write
- Server address
https://mcp.squareup.com/mcp
Square MCP Server in Claude
- For Claude.ai on Teams, go to
Settings > Integrations. On Enterprise, go toSettings > Data management. On Claude Max, go toSettings > Profile. Teams and Enterprise need an owner or primary owner. - In the Integrations section, choose
Add more, enterhttps://mcp.squareup.com/mcpand chooseAdd. - Open a chat, open the
Search and toolsmenu and chooseConnect. Sign in to Square and approve only the scopes you need. - Use the same menu to enable the specific Square tools you want.
- For the Claude Desktop app, edit
claude_desktop_config.jsonand add the remote entry from the snippet. It usesmcp-remoteand OAuth. - For a Sandbox test, use the local entry instead. Replace
YOUR_SQUARE_ACCESS_TOKENand addDISALLOW_WRITESset totruefor read-only. Restart Claude Desktop after saving.
{
"mcpServers": {
"mcp_square_api": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.squareup.com/mcp"
]
}
}
}
Square MCP Server in ChatGPT
- The Square documentation does not cover ChatGPT, so there is no vendor-confirmed setup for it. ChatGPT is also not in the list of clients Square names.
- Square keeps an allowlist of MCP clients, so the remote server may reject ChatGPT. Ask in the Square developer forum if you need it added.
- If your plan supports custom MCP connectors in Developer mode, add a remote server by URL, using
https://mcp.squareup.com/mcp. - Complete the Square OAuth sign-in if the client allows it, and approve only the scopes you need.
- Run a read-only prompt first. Do not enable write actions until you have tested them in a supervised session.
https://mcp.squareup.com/mcp
Square MCP Server in Gemini
- The Square documentation does not cover Gemini CLI or Gemini app extensions. Gemini is not on the list of clients Square names.
- Gemini CLI reads an
mcpServersobject from its settings file. You can add the samemcp-remoteentry that Square shows for Claude Desktop. - The client must be on Square's allowlist for OAuth to work. If sign-in is refused, request an addition in the Square developer forum.
- For a Sandbox test, use the local entry with
ACCESS_TOKEN,SANDBOXset totrueandDISALLOW_WRITESset totrue. - Restart the CLI, then run a read-only prompt to confirm the tools are listed.
{
"mcpServers": {
"mcp_square_api": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.squareup.com/mcp"
]
}
}
}
Square MCP Server in Microsoft Copilot
- The Square documentation does not cover Microsoft Copilot Studio or GitHub Copilot in VS Code, and neither is on Square's list of clients.
- In VS Code, add a server to
.vscode/mcp.jsonunder a top-levelserversobject. You can runnpxwithmcp-remoteandhttps://mcp.squareup.com/mcp, as Square does for other clients. - In Copilot Studio, add an MCP tool or custom connector in the standard way and point it at
https://mcp.squareup.com/mcp. Check that your client can complete OAuth. - If sign-in is blocked, the client may not be on Square's allowlist. Request an addition in the Square developer forum.
- Start with read-only prompts, and test against Sandbox with the local server first.
{
"servers": {
"square": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.squareup.com/mcp"
]
}
}
}
Square MCP Server in Perplexity
- The Square documentation does not cover Perplexity, and Perplexity is not on Square's list of clients.
- In the Perplexity desktop app, open the connectors settings and add a custom remote server by URL if your plan allows it.
- Enter
https://mcp.squareup.com/mcpand complete the Square OAuth sign-in. - If sign-in is refused, the client may not be on Square's allowlist. Request an addition in the Square developer forum.
- Try a read-only prompt first and approve only the scopes you need.
https://mcp.squareup.com/mcp
Square MCP Server in Cursor
- Open Cursor's MCP settings and add a new server.
- Choose
Type: "Command". - In the
Commandfield, enternpx mcp-remote https://mcp.squareup.com/mcp. Square recommends this route for OAuth. - Save, then sign in to Square in the browser window when prompted. Approve only the scopes you need.
- For a Sandbox test, use
npx square-mcp-server startas the command. SetACCESS_TOKEN,SANDBOXset totrueandDISALLOW_WRITESset totrue. The docs do not show how to set environment variables in the Cursor UI, so check Cursor's own documentation.
npx mcp-remote https://mcp.squareup.com/mcp
Square MCP Server in Claude Code
- The Square documentation does not cover Claude Code. Use the standard
claude mcp addcommand with Square's published values. - For the remote route, run the first command in the snippet. It adds the hosted server by URL.
- Start
claude, run/mcpand complete the Square OAuth sign-in. If the client is refused, ask for an allowlist addition in the Square developer forum. - For a Sandbox test, add the local server with the second command. Replace
YOUR_SQUARE_ACCESS_TOKENwith a Sandbox token. - The
DISALLOW_WRITES=truevariable makes the local server read-only. Use it for your first session.
# Remote (OAuth)
claude mcp add --transport http square https://mcp.squareup.com/mcp
# Local, Sandbox, read-only
claude mcp add square-sandbox -e ACCESS_TOKEN=YOUR_SQUARE_ACCESS_TOKEN -e SANDBOX=true -e DISALLOW_WRITES=true -- npx square-mcp-server startCheck that it works
Start with questions that only read data. If these answer from your real account, the connection is good.
- List the first five customers in my Square account and show their creation dates.
- Show my five most recent orders with their totals and states.
- List the catalog items in my Square account with their names and variation prices.
Troubleshooting
+The OAuth sign-in is refused or my client is rejected. What now?
Square keeps an allowlist of MCP clients to block malicious client registrations. If your client is not on it, remote OAuth can fail. Request an addition in the Square developer forum, as the documentation describes. Meanwhile, use a listed client such as Claude, Cursor, Windsurf or Goose, or run the local server.
+The server connects but I see no Square data or tools. Why?
Check that you enabled the specific Square tools in the `Search and tools` menu in Claude.ai. Remote instances only see production data, so a Sandbox-only account may look empty. For the local server, check that `ACCESS_TOKEN` matches the environment you set, `SANDBOX` or `PRODUCTION`.
+Can the assistant change my Square data, and how do I prevent it?
Yes. Writes are on by default on the local server, and the remote server only works against production. For a read-only local session, set `DISALLOW_WRITES` to `true`. Approve only the scopes you need on the OAuth screen, and test prompts in Sandbox before any production use.
Written Nov 5, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.
Questions and answers (1)
Questions readers and searchers ask about installing 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: “can chatgpt integrate with square?”
Possibly, but Square's docs don't cover ChatGPT and it isn't on their list of supported assistants, so it's untested territory. The route is a custom MCP connector. Where your plan allows it, enable Developer mode in ChatGPT's connector settings and add a custom MCP connector. Enter https://mcp.squareup.com/mcp as the server URL and pick OAuth if it asks for an authentication type. Then sign in to Square and approve only the scopes you need.
The catch is Square's allowlist of MCP clients. If the sign-in is rejected, ChatGPT is probably not on it. Square's docs say to request an addition in the Square developer forum. Documented clients that should work are Claude.ai, Claude Desktop, Cursor and Windsurf.
Also note that the remote server only touches production data, and the docs show no read-only switch for it. Read-only and Sandbox are local-server options, and those use npx, which is a different setup from ChatGPT's URL connector.