Square MCP Server

A server that enables interaction with Square's API via Goose, supporting queries for locations, customers, and more with context preservation and MCP-compliant responses.

Visit Website
Square MCP Server

Introduction

Square MCP Server

A Model Context Protocol (MCP) server that provides access to Square API functionality.

Setup

  1. Install dependencies:
uv sync
  1. Set environment variables:
# Required
export SQUARE_ACCESS_TOKEN=your_access_token_here

# Optional - defaults to 'sandbox' if not set
export SQUARE_ENVIRONMENT=sandbox  # or 'production' for production environment
  1. Run the server:
uv pip install .
square-mcp

Or for development:

source .venv/bin/activate
mcp dev src/square_mcp/server.py

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | SQUARE_ACCESS_TOKEN | Yes | - | Your Square API access token | | SQUARE_ENVIRONMENT | No | sandbox | Square API environment (sandbox or production) |