Square▌

by square
Connect with Square API for seamless e-commerce, orders, inventory, and payment processing via conversational interfaces
Provides a bridge between Square's complete API ecosystem and conversational interfaces, enabling comprehensive e-commerce and payment processing capabilities including payments, orders, inventory, and customer management.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / E-commerce businesses automating operations
- / Developers building payment workflows
- / Merchants managing Square integrations
- / Analytics teams monitoring transaction data
capabilities
- / Process Square payments
- / Manage orders and transactions
- / Query inventory and catalog data
- / Access customer information
- / Monitor payment analytics
- / Handle refunds and disputes
what it does
Connects AI assistants to Square's payment and e-commerce APIs for processing payments, managing orders, inventory, and customer data.
about
Square is an official MCP server published by square that provides AI assistants with tools and capabilities via the Model Context Protocol. Connect with Square API for seamless e-commerce, orders, inventory, and payment processing via conversational interfaces It is categorized under finance, developer tools.
how to install
You can install Square in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.
license
Apache-2.0
Square is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
Square Model Context Protocol Server (Beta)
This project follows the Model Context Protocol standard, allowing AI assistants to interact with Square's connect API.
<a href="https://glama.ai/mcp/servers/@square/square-mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@square/square-mcp-server/badge" alt="Square Model Context Protocol Server MCP server" /> </a>Quick Start
Get up and running with the Square MCP server using npx:
# Basic startup
npx square-mcp-server start
# With environment configuration
ACCESS_TOKEN=YOUR_SQUARE_ACCESS_TOKEN SANDBOX=true npx square-mcp-server start
# local runs
npx /path/to/project/square-mcp-server
Replace YOUR_SQUARE_ACCESS_TOKEN with your actual Square access token. You can obtain your access token by following the guide at Square Access Tokens. You can also set environment variables before running the command.
Remote MCP Server
Square now offers a hosted remote MCP server at:
https://mcp.squareup.com/sse
The remote MCP is recommended as it uses OAuth authentication, allowing you to log in with your Square account directly without having to create or manage access tokens manually.
Configuration Options
| Environment Variable | Purpose | Example |
|---|---|---|
ACCESS_TOKEN | Your Square API access token | ACCESS_TOKEN=sq0atp-... |
SANDBOX | Use Square sandbox environment | SANDBOX=true |
PRODUCTION | Use Square production environment | PRODUCTION=true |
DISALLOW_WRITES | Restrict to read-only operations | DISALLOW_WRITES=true |
SQUARE_VERSION | Specify Square API version | SQUARE_VERSION=2025-04-16 |
Integration with AI Assistants
Goose Integration
To configure the Square MCP Server with Goose:
Remote MCP
To install the Square remote MCP in Goose, click this URL on a computer where Goose is installed:
Or copy and paste the URL into your browser's address bar.
# Automatic installation
npx square-mcp-server install
# Get URL for manual installation
npx square-mcp-server get-goose-url
The install command automatically updates your Goose configuration.
Claude Desktop Integration
For Claude Desktop integration, see the Model Context Protocol Quickstart Guide. Add this configuration to your claude_desktop_config.json:
Remote MCP
{
"mcpServers": {
"mcp_square_api": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.squareup.com/sse"]
}
}
}
This approach allows you to authenticate directly with your Square account credentials without needing to manage access tokens.
Local MCP
{
"mcpServers": {
"mcp_square_api": {
"command": "npx",
"args": ["square-mcp-server", "start"],
"env": {
"ACCESS_TOKEN": "YOUR_SQUARE_ACCESS_TOKEN",
"SANDBOX": "true"
}
}
}
}
Tool Reference
The Square MCP Server provides a streamlined set of tools for interacting with Square APIs:
| Tool | Description | Primary Use |
|---|---|---|
get_service_info | Discover methods available for a service | Exploration and discovery |
get_type_info | Get detailed parameter requirements | Request preparation |
make_api_request | Execute API calls to Square | Performing operations |
Service Catalog
Square MCP Server provides access to Square's complete API ecosystem. Check out the Square API Documentation for detailed information about each service:
| Service | Description |
|---|---|
applepay | Apple Pay integration |
bankaccounts | Bank account management |
bookingcustomattributes | Custom attributes for bookings |
bookings | Appointment booking management |
cards | Payment card management |
cashdrawers | Cash drawer management |
catalog | Catalog management (items, categories, etc.) |
checkout | Checkout and payment processing |
customercustomattributes | Custom attributes for customers |
customergroups | Customer grouping |
customersegments | Customer segmentation |
customers | Customer management |
devices | Square device management |
disputes | Payment dispute handling |
events | Event tracking |
giftcardactivities | Gift card activity tracking |
giftcards | Gift card management |
inventory | Inventory tracking |
invoices | Invoice management |
labor | Workforce management |
locationcustomattributes | Custom attributes for locations |
locations | Location management |
loyalty | Loyalty program management |
merchantcustomattributes | Custom attributes for merchants |
merchants | Merchant account management |
oauth | Authentication |
ordercustomattributes | Custom attributes for orders |
orders | Order management |
payments | Payment processing |
payouts | Payout management |
refunds | Refund management |
sites | Website integration |
snippets | Square Online Code integration |
subscriptions | Subscription management |
team | Staff management |
terminal | Square Terminal management |
vendors | Supplier management |
webhooksubscriptions | Event notifications |
Usage Pattern
For optimal interaction with the Square API through MCP:
-
Discover: Use
get_service_infoto explore available methodsget_service_info(service: "catalog") -
Understand: Use
get_type_infoto learn parameter requirementsget_type_info(service: "catalog", method: "list") -
Execute: Use
make_api_requestto perform the operationmake_api_request(service: "catalog", method: "list", request: {})
Development and Debugging
Using MCP Inspector
The MCP Inspector provides a visual interface for testing:
# Build the project
npm run build
# Start the inspector with the Square MCP Server
npx @modelcontextprotocol/inspector node dist/index.js start
Development Workflow
- Clone the repository
- Install dependencies:
npm install - Start development mode:
npm run watch - Run the server:
node dist/index.js start - Test your changes using the MCP Inspector
Contributing
This repository is auto-generated from Square's OpenAPI Specification. While contributions are welcome, please note that changes will need to be incorporated into the generator that produces this code. Please open an issue to discuss proposed changes before submitting a pull request.
FAQ
- What is the Square MCP server?
- Square is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Square?
- This profile displays 57 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★57 reviews- ★★★★★Aanya Thompson· Dec 28, 2024
We wired Square into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Pratham Ware· Dec 20, 2024
Square has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★James Abebe· Dec 20, 2024
According to our notes, Square benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Lucas Tandon· Dec 16, 2024
Square reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Kwame Sethi· Dec 16, 2024
Useful MCP listing: Square is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Zaid Lopez· Nov 19, 2024
We evaluated Square against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Yash Thakker· Nov 11, 2024
According to our notes, Square benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Yuki Iyer· Nov 11, 2024
Square has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Aditi Verma· Nov 7, 2024
Useful MCP listing: Square is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Aanya Gonzalez· Nov 7, 2024
Square reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 57