Square MCP Server

Square MCP Server

一个服务器,它通过 Goose 实现与 Square API 的交互,支持对地点、顾客等的查询,并具有上下文保持和符合 MCP 标准的响应。

Category
访问服务器

Tools

payments

Manage payment operations using Square API Args: operation: The operation to perform. Valid operations: Payments: - list_payments - create_payment - get_payment - update_payment - cancel_payment Refunds: - refund_payment - list_refunds - get_refund Disputes: - list_disputes - retrieve_dispute - accept_dispute - create_dispute_evidence Gift Cards: - create_gift_card - link_customer_to_gift_card - retrieve_gift_card - list_gift_cards Bank Accounts: - list_bank_accounts - get_bank_account params: Dictionary of parameters for the specific operation

terminal

Manage Square Terminal operations Args: operation: The operation to perform. Valid operations: Checkout: - create_terminal_checkout - search_terminal_checkouts - get_terminal_checkout - cancel_terminal_checkout Devices: - create_terminal_device - get_terminal_device - search_terminal_devices Refunds: - create_terminal_refund - search_terminal_refunds - get_terminal_refund - cancel_terminal_refund params: Dictionary of parameters for the specific operation

orders

Manage orders and checkout operations Args: operation: The operation to perform. Valid operations: Orders: - create_order - batch_retrieve_orders - calculate_order - clone_order - search_orders - pay_order - update_order Checkout: - create_checkout - create_payment_link Custom Attributes: - upsert_order_custom_attribute - list_order_custom_attribute_definitions params: Dictionary of parameters for the specific operation

catalog

Manage catalog operations Args: operation: The operation to perform. Valid operations: - create_catalog_object - batch_delete_catalog_objects - batch_retrieve_catalog_objects - batch_upsert_catalog_objects - create_catalog_image - delete_catalog_object - retrieve_catalog_object - search_catalog_objects - update_catalog_object - update_item_modifier_lists - update_item_taxes params: Dictionary of parameters for the specific operation

inventory

Manage inventory operations Args: operation: The operation to perform. Valid operations: - batch_change_inventory - batch_retrieve_inventory_changes - batch_retrieve_inventory_counts - retrieve_inventory_adjustment - retrieve_inventory_changes - retrieve_inventory_count - retrieve_inventory_physical_count - retrieve_inventory_transfer params: Dictionary of parameters for the specific operation

subscriptions

Manage subscription operations Args: operation: The operation to perform. Valid operations: - create_subscription - search_subscriptions - retrieve_subscription - update_subscription - cancel_subscription - list_subscription_events - pause_subscription - resume_subscription - swap_plan params: Dictionary of parameters for the specific operation

invoices

Manage invoice operations Args: operation: The operation to perform. Valid operations: - create_invoice - search_invoices - get_invoice - update_invoice - cancel_invoice - publish_invoice - delete_invoice params: Dictionary of parameters for the specific operation

team

Manage team operations Args: operation: The operation to perform. Valid operations: Team Members: - create_team_member - bulk_create_team_members - update_team_member - retrieve_team_member - search_team_members Wages: - retrieve_wage_setting - update_wage_setting Labor: - create_break_type - create_shift - search_shifts - update_shift - create_workweek_config Cash Drawers: - list_cash_drawer_shifts - retrieve_cash_drawer_shift params: Dictionary of parameters for the specific operation

customers

Manage customer operations Args: operation: The operation to perform. Valid operations: Customers: - list_customers - create_customer - delete_customer - retrieve_customer - update_customer - search_customers Groups: - create_customer_group - delete_customer_group - list_customer_groups - retrieve_customer_group - update_customer_group Segments: - list_customer_segments - retrieve_customer_segment Custom Attributes: - create_customer_custom_attribute_definition - delete_customer_custom_attribute_definition - list_customer_custom_attribute_definitions params: Dictionary of parameters for the specific operation

loyalty

Manage loyalty operations Args: operation: The operation to perform. Valid operations: Programs: - create_loyalty_program - retrieve_loyalty_program Accounts: - create_loyalty_account - search_loyalty_accounts - retrieve_loyalty_account - accumulate_loyalty_points - adjust_loyalty_points - search_loyalty_events Promotions: - create_loyalty_promotion - cancel_loyalty_promotion params: Dictionary of parameters for the specific operation

bookings

Manage booking operations Args: operation: The operation to perform. Valid operations: Bookings: - create_booking - search_bookings - retrieve_booking - update_booking - cancel_booking Team Member Bookings: - bulk_retrieve_team_member_bookings - retrieve_team_member_booking_profile Location Profiles: - list_location_booking_profiles - retrieve_location_booking_profile Custom Attributes: - create_booking_custom_attribute_definition - update_booking_custom_attribute_definition params: Dictionary of parameters for the specific operation

business

Manage business operations Args: operation: The operation to perform. Valid operations: Merchants: - list_merchants - retrieve_merchant Locations: - list_locations - create_location - retrieve_location - update_location Vendors: - bulk_create_vendors - bulk_retrieve_vendors - create_vendor - search_vendors - update_vendor Sites: - list_sites params: Dictionary of parameters for the specific operation

README

Square MCP 服务器

一个模型上下文协议 (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)

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选