Square

v1.0.0Finance & Fintechstable

Enables AI assistants to interact with Square's Connect API through the Model Context Protocol standard, allowing for operations like managing customers, processing payments, and handling inventory.

square-model-context-protocol-servermcpai-integration
Share:
100
Stars
0
Downloads
0
Weekly
0/5

What is Square?

Square is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to interact with square's connect api through the model context protocol standard, allowing for operations like managing customers, processing payments, and handling inventory.

Enables AI assistants to interact with Square's Connect API through the Model Context Protocol standard, allowing for operations like managing customers, processing payments, and handling inventory.

This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI assistants to interact with Square's Connect API

Use Cases

Manage customers, process payments, and handle inventory via Square API. Interact with payment processing through AI assistants.
square

Maintainer

LicenseApache 2.0
Languagetypescript
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx square-model-context-protocol-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Square

The Square MCP Server bridges AI assistants to Square's Connect API, giving them access to over 40 business domains including payments, catalog management, customer records, inventory, loyalty programs, appointments, and workforce management. It exposes three meta-tools — get_service_info, get_type_info, and make_api_request — that together let an AI discover available operations, inspect required parameters, and execute API calls against Square. Merchants and developers use it to automate back-office tasks, answer questions about sales data, or build AI-driven point-of-sale workflows.

Prerequisites

  • Node.js 18 or higher installed
  • A Square developer account with an Access Token (sandbox or production) from https://developer.squareup.com
  • An MCP-compatible client such as Claude Desktop or Cursor
1

Obtain a Square Access Token

Log in to the Square Developer Dashboard at https://developer.squareup.com, create an application, and copy either your sandbox or production Access Token. Keep it secret.

2

Test the server runs via npx

Run the server once from the command line to verify your Node.js version and network access are correct before wiring it into an MCP client.

ACCESS_TOKEN=YOUR_SQUARE_ACCESS_TOKEN SANDBOX=true npx square-mcp-server start
3

Add the server to your MCP client configuration

Open your claude_desktop_config.json and add the Square MCP server entry. Set SANDBOX to false and use your production token when you are ready to work with live data.

{
  "mcpServers": {
    "square": {
      "command": "npx",
      "args": ["square-mcp-server", "start"],
      "env": {
        "ACCESS_TOKEN": "YOUR_SQUARE_ACCESS_TOKEN",
        "SANDBOX": "true"
      }
    }
  }
}
4

Alternatively, use the hosted remote MCP endpoint

Square also provides a hosted remote MCP server at https://mcp.squareup.com/sse that uses OAuth instead of a static token. Add it as a remote server in supporting clients.

5

Restart your MCP client

Restart Claude Desktop or your MCP client to load the new configuration and confirm the Square tools appear.

Square Examples

Client configuration

Add this to your claude_desktop_config.json. Use SANDBOX=true for testing against Square's sandbox environment and your sandbox Access Token.

{
  "mcpServers": {
    "square": {
      "command": "npx",
      "args": ["square-mcp-server", "start"],
      "env": {
        "ACCESS_TOKEN": "EAAAl...",
        "SANDBOX": "true",
        "DISALLOW_WRITES": "false"
      }
    }
  }
}

Prompts to try

Use these prompts with Claude Desktop or another MCP client after connecting to the Square server.

- "What Square services are available for managing catalog items?"
- "List all customers in my Square account."
- "Create a new catalog item called 'Cold Brew Coffee' priced at $4.50."
- "Show me recent payments from this week."
- "What are my current inventory counts for all items?"
- "Search for customer John Smith in my Square account."

Troubleshooting Square

API calls return 401 Unauthorized errors

Double-check that your ACCESS_TOKEN matches the environment you are targeting. A sandbox token will not work against production endpoints. Regenerate the token in the Square Developer Dashboard if needed.

DISALLOW_WRITES is not set and you want to prevent accidental changes

Add DISALLOW_WRITES=true to the env block in your config. This restricts the server to read-only operations so the AI cannot create, update, or delete data.

npx square-mcp-server fails with a version error

Ensure Node.js 18+ is installed. Run 'node --version' to check. Also try clearing the npx cache with 'npx clear-npx-cache' and retry.

Frequently Asked Questions about Square

What is Square?

Square is a Model Context Protocol (MCP) server that enables ai assistants to interact with square's connect api through the model context protocol standard, allowing for operations like managing customers, processing payments, and handling inventory. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Square?

Follow the installation instructions on the Square GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Square?

Square works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Square free to use?

Yes, Square is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.

Browse More Finance & Fintech MCP Servers

Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "square-model-context-protocol-server": { "command": "npx", "args": ["-y", "square-model-context-protocol-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Square?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides