# 🚨 DEPRECATED: Square MCP Server (Old Version)
> **⚠️ This repository is no longer maintained.**
> **Official development has moved to [square/square-mcp-server](https://github.com/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:
```bash
uv sync
```
2. Set environment variables:
```bash
# 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
```
3. Run the server:
```bash
uv pip install .
square-mcp
```
Or for development:
```bash
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:
- Repository: [square/square-mcp-server](https://github.com/square/square-mcp-server)
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/square-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server