square

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

🚨 DEPRECATED: Square MCP Server (Old Version)

⚠️ This repository is no longer maintained.
Official development has moved to square/square-mcp-server.
Please use the new repository for the latest, officially supported Square MCP Server.


Archived Information (for reference)

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)

🔗 Migrate to the new server: