Skip to main content
Glama

Square Model Context Protocol Server

Official
by square

Square 모델 컨텍스트 프로토콜 서버(베타)

이 프로젝트는 모델 컨텍스트 프로토콜 표준을 따르므로 AI 어시스턴트가 Square의 Connect API와 상호 작용할 수 있습니다.

빠른 시작

npx를 사용하여 Square MCP 서버를 시작하고 실행하세요.

지엑스피1

YOUR_SQUARE_ACCESS_TOKEN 실제 Square 액세스 토큰으로 바꾸세요. Square 액세스 토큰 가이드에 따라 액세스 토큰을 얻을 수 있습니다. 명령을 실행하기 전에 환경 변수를 설정할 수도 있습니다.

원격 MCP 서버

Square는 이제 다음 위치에서 호스팅되는 원격 MCP 서버를 제공합니다.

https://mcp.squareup.com/sse

원격 MCP는 OAuth 인증을 사용하므로 액세스 토큰을 수동으로 만들거나 관리하지 않고도 Square 계정으로 직접 로그인할 수 있으므로 권장됩니다.

구성 옵션

환경 변수

목적

ACCESS_TOKEN

Square API 액세스 토큰

ACCESS_TOKEN=sq0atp-...

SANDBOX

Square 샌드박스 환경 사용

SANDBOX=true

PRODUCTION

Square 프로덕션 환경 사용

PRODUCTION=true

DISALLOW_WRITES

읽기 전용 작업으로 제한

DISALLOW_WRITES=true

SQUARE_VERSION

Square API 버전 지정

SQUARE_VERSION=2025-04-16

AI 어시스턴트와의 통합

구스 통합

Goose 로 Square MCP 서버를 구성하려면:

원격 MCP

Goose에 Square 원격 MCP를 설치하려면 Goose가 설치된 컴퓨터에서 이 URL을 클릭하세요.

goose://extension?cmd=npx&arg=mcp-remote&arg=https%3A%2F%2Fmcp.squareup.com%2Fsse&id=square_mcp_production_remote&name=Square%20MCP%20Remote&description=Square%20Production%20MCP%20Remote

또는 URL을 복사하여 브라우저의 주소창에 붙여넣으세요.

# Automatic installation npx square-mcp-server install # Get URL for manual installation npx square-mcp-server get-goose-url

install 명령은 자동으로 Goose 구성을 업데이트합니다.

Claude 데스크톱 통합

Claude Desktop 통합에 대한 자세한 내용은 모델 컨텍스트 프로토콜 빠른 시작 가이드를 참조하세요. claude_desktop_config.json 파일에 다음 구성을 추가하세요.

원격 MCP

{ "mcpServers": { "mcp_square_api": { "command": "npx", "args": ["mcp-remote", "https://mcp.squareup.com/sse"] } } }

이 접근 방식을 사용하면 액세스 토큰을 관리할 필요 없이 Square 계정 자격 증명으로 직접 인증할 수 있습니다.

지역 MCP

{ "mcpServers": { "mcp_square_api": { "command": "npx", "args": ["square-mcp-server", "start"], "env": { "ACCESS_TOKEN": "YOUR_SQUARE_ACCESS_TOKEN", "SANDBOX": "true" } } } }

도구 참조

Square MCP 서버는 Square API와 상호 작용하기 위한 간소화된 도구 세트를 제공합니다.

도구

설명

주요 용도

get_service_info

서비스에 사용 가능한 방법을 알아보세요

탐험과 발견

get_type_info

자세한 매개변수 요구 사항을 확인하세요

요청 준비

make_api_request

Square에 API 호출을 실행합니다.

작업 수행

서비스 카탈로그

Square MCP 서버는 Square의 전체 API 생태계 에 대한 액세스를 제공합니다. 각 서비스에 대한 자세한 내용은 Square API 문서를 참조하세요.

서비스

설명

applepay

Apple Pay 통합

bankaccounts

은행 계좌 관리

bookingcustomattributes

예약을 위한 사용자 정의 속성

bookings

약속 예약 관리

cards

결제 카드 관리

cashdrawers

금전함 관리

catalog

카탈로그 관리(품목, 카테고리 등)

checkout

체크아웃 및 결제 처리

customercustomattributes

고객을 위한 사용자 정의 속성

customergroups

고객 그룹화

customersegments

고객 세분화

customers

고객 관리

devices

스퀘어 기기 관리

disputes

결제 분쟁 처리

events

이벤트 추적

giftcardactivities

기프트 카드 활동 추적

giftcards

기프트 카드 관리

inventory

재고 추적

invoices

송장 관리

labor

인력 관리

locationcustomattributes

위치에 대한 사용자 정의 속성

locations

위치 관리

loyalty

로열티 프로그램 관리

merchantcustomattributes

판매자를 위한 사용자 정의 속성

merchants

가맹점 계정 관리

oauth

입증

ordercustomattributes

주문에 대한 사용자 정의 속성

orders

주문 관리

payments

결제 처리

payouts

지급 관리

refunds

환불 관리

sites

웹사이트 통합

snippets

Square Online 코드 통합

subscriptions

구독 관리

team

직원 관리

terminal

스퀘어 터미널 관리

vendors

공급업체 관리

webhooksubscriptions

이벤트 알림

사용 패턴

MCP를 통해 Square API와 최적의 상호작용을 위해:

  1. 발견 : get_service_info 사용하여 사용 가능한 방법을 탐색합니다.

    get_service_info(service: "catalog")
  2. 이해 : get_type_info 사용하여 매개변수 요구 사항을 알아보세요

    get_type_info(service: "catalog", method: "list")
  3. 실행 : make_api_request 사용하여 작업을 수행합니다.

    make_api_request(service: "catalog", method: "list", request: {})

개발 및 디버깅

MCP Inspector 사용

MCP Inspector는 테스트를 위한 시각적 인터페이스를 제공합니다.

# Build the project npm run build # Start the inspector with the Square MCP Server npx @modelcontextprotocol/inspector node dist/index.js start

개발 워크플로

  1. 저장소를 복제합니다

  2. 종속성 설치: npm install

  3. 개발 모드 시작: npm run watch

  4. 서버를 실행합니다: node dist/index.js start

  5. MCP 검사기를 사용하여 변경 사항을 테스트하세요

기여하다

이 저장소는 Square의 OpenAPI 사양을 기반으로 자동 생성됩니다. 기여는 환영하지만, 변경 사항은 이 코드를 생성하는 생성기에 반영되어야 합니다. 풀 리퀘스트를 제출하기 전에 이슈를 열어 제안된 변경 사항에 대해 논의해 주세요.

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI 어시스턴트가 Model Context Protocol 표준을 통해 Square의 Connect API와 상호 작용할 수 있도록 하여 고객 관리, 결제 처리, 재고 처리와 같은 작업이 가능합니다.

  1. 빠른 시작
    1. 원격 MCP 서버
      1. 구성 옵션
        1. AI 어시스턴트와의 통합
          1. 구스 통합
          2. Claude 데스크톱 통합
        2. 도구 참조
          1. 서비스 카탈로그
            1. 사용 패턴
              1. 개발 및 디버깅
                1. MCP Inspector 사용
                2. 개발 워크플로
              2. 기여하다

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  Implements the Model Context Protocol to allow AI models to access and interact with blockchain data, including reading contract states, retrieving events, and accessing transaction information across various networks.
                  Last updated -
                  10
                  65
                  64
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.
                  Last updated -
                  8
                  3
                • -
                  security
                  F
                  license
                  -
                  quality
                  Enables AI models to interact with Linear for issue tracking and project management through the Model Context Protocol, supporting capabilities like creating issues, searching, managing sprints, and bulk updating statuses.
                  Last updated -
                  5
                • -
                  security
                  A
                  license
                  -
                  quality
                  Enables AI assistants to interact with Slack workspaces through the Model Context Protocol, providing tools for reading/sending messages, managing channels, and accessing Slack API functionality.
                  Last updated -
                  1
                  MIT License

                View all related MCP servers

                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/square/square-mcp-server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server