Square MCP Server
A Model Context Protocol (MCP) server that provides access to Square API functionality.
Setup
- Install dependencies:
uv sync- 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- Run the server:
uv pip install .
square-mcpOr for development:
source .venv/bin/activate
mcp dev src/square_mcp/server.pyEnvironment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SQUARE_ACCESS_TOKEN | Yes | - | Your Square API access token |
SQUARE_ENVIRONMENT | No | sandbox | Square API environment (sandbox or production) |
Last updated on