MCP Coinbase Commerce Server

Integrations

  • Manages environment variables for the MCP server, particularly for securely storing the Coinbase Commerce API key.

  • Connects to the Coinbase Commerce API, allowing the generation of cryptocurrency payment links with customizable amount, currency, and description, as well as retrieval of information about existing charges.

  • Provides access to the repository hosting the MCP server code, allowing users to clone and set up the server from the GitHub repository.

MCP 코인베이스 커머스 서버

이는 Coinbase Commerce API에 연결되는 MCP(Model Context Protocol) 서버로, Claude와 같은 AI 도우미가 암호화폐 결제 링크를 생성할 수 있도록 합니다.

특징

  • 사용자 정의 가능한 금액, 통화 및 설명을 사용하여 Coinbase Commerce 결제 링크를 생성합니다.
  • 기존 요금에 대한 정보를 검색합니다
  • 안전한 API 키 관리
  • Claude 및 기타 MCP 호환 AI 어시스턴트와의 간편한 통합

필수 조건

설정

  1. 이 저장소를 복제하세요:지엑스피1
  2. 종속성 설치:
    npm install
  3. .env.example``.env 로 복사하고 Coinbase Commerce API 키를 추가하세요.
    cp .env.example .env # Edit .env file with your API key
  4. 프로젝트를 빌드하세요:
    npm run build
  5. 서버를 시작합니다:
    npm start

데스크톱용 Claude 사용

서버가 실행되면 데스크톱용 Claude에 연결할 수 있습니다.

  1. 데스크톱용 Open Claude
  2. Claude 메뉴 → 설정 → 개발자를 클릭하세요.
  3. "구성 편집"을 클릭하여 claude_desktop_config.json 엽니다.
  4. MCP 서버 구성을 추가합니다.
{ "mcpServers": { "coinbase-commerce": { "command": "node", "args": ["/path/to/mcp-coinbase-commerce/dist/index.js"], "env": { "COINBASE_COMMERCE_API_KEY": "your_api_key_here" } } } }
  1. 파일을 저장하고 Claude for Desktop을 다시 시작하세요.
  2. 이제 채팅 인터페이스에 사용 가능한 도구를 나타내는 망치 아이콘이 표시됩니다.

클로드에 대한 예시 프롬프트

연결되면 Claude에게 결제 링크를 생성하도록 요청할 수 있습니다.

  • "제 프로젝트에 10달러를 기부할 수 있는 결제 링크를 만들어 주실 수 있나요?"
  • "내 커피숍에 대한 Coinbase Commerce 결제 링크를 5.50달러 가격으로 생성해 주세요."
  • "청구 ID 93e23c3e-8220-4e6c-9bc3-ea3548339621에 대한 결제 상태를 조회하세요"

클로드는 이러한 요청을 충족하기 위해 적절한 도구를 사용하여 고객과 공유할 수 있는 결제 링크를 생성합니다.

API 도구

create-charge

다음 매개변수를 사용하여 새로운 결제 링크를 생성합니다.

  • name : 결제/상품명
  • description : 지불 대상에 대한 설명
  • amount : 결제 금액 (예: "10.00")
  • currency : 통화 코드(예: "USD", "EUR", "BTC")
  • redirectUrl (선택사항): 결제 완료 후 리디렉션할 URL

get-charge

다음을 사용하여 기존 요금에 대한 정보를 검색합니다.

  • chargeId : 검색할 요금의 ID

개발

개발 모드에서 서버를 실행하려면:

npm run dev

MCP Inspector로 테스트

MCP Inspector를 사용하여 서버를 테스트할 수 있습니다.

npx @modelcontextprotocol/inspector node dist/index.js

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Coinbase Commerce API에 연결하여 Claude와 같은 AI 도우미가 암호화폐 결제 링크를 생성할 수 있습니다.

  1. Features
    1. Prerequisites
      1. Setup
        1. Usage with Claude for Desktop
          1. Example Prompts for Claude
            1. API Tools
              1. create-charge
              2. get-charge
            2. Development
              1. Testing with MCP Inspector
                1. License
                  ID: p7ysbwvbea