Back to MCP directory
publicPublicdnsLocal runtime

square-mcp

Square MCP服务器旧版(已弃用),提供Square API功能访问,官方维护已迁移至新仓库。

article

README

🚀 已归档信息(仅供参考)

这是一个模型上下文协议(MCP)服务器,可提供对Square API功能的访问。

🚀 快速开始

📦 安装指南

  1. 安装依赖:
uv sync
  1. 设置环境变量:
# 必填
export SQUARE_ACCESS_TOKEN=your_access_token_here

# 可选 - 默认为'sandbox',如果未设置
export SQUARE_ENVIRONMENT=sandbox  # 或 'production' 使用生产环境
  1. 运行服务器:
uv pip install .
square-mcp

或在开发环境中使用:

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

🌐 环境变量说明

| 变量名 | 是否必填 | 默认值 | 描述 | |------------------|----------|----------|----------------------------| | SQUARE_ACCESS_TOKEN | 是 | - | 您的Square API访问令牌 | | SQUARE_ENVIRONMENT | 否 | sandbox | Square API环境(sandboxproduction) |

🔗 迁移至新服务器:

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client