Safe MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides tools for interacting with Safe (formerly Gnosis Safe) smart contract wallets, enabling querying of wallet transactions, fetching multisig transaction details, and decoding transaction data through the Safe Transaction API.

안전한 MCP 서버

Safe(이전 명칭 Gnosis Safe) 스마트 계약 지갑과 상호작용하기 위한 MCP(Model Context Protocol) 서버 구현입니다.

특징

  • 모든 안전 주소에 대한 안전 거래 쿼리
  • 멀티시그 거래 세부 정보 가져오기
  • 거래 데이터 디코딩
  • 안전한 API 통합

설치

지엑스피1

용법

npm run build npm start

구성이 필요하지 않습니다. 서버는 기본적으로 Safe Transaction API 메인넷 엔드포인트를 사용합니다.

사용 가능한 도구

getSafeTransactions

모든 안전 주소에 대한 모든 거래를 가져옵니다. 안전 주소는 LLM이 대화의 맥락을 기반으로 런타임에 결정합니다.

// Example tool call getSafeTransactions({ address: "0x123...", // Safe address determined by LLM limit: 100, // optional offset: 0, // optional });

getMultisigTransaction

특정 멀티시그 거래에 대한 세부 정보를 얻으세요.

getMultisigTransaction({ safeTxHash: "0x456...", // Transaction hash to query });

decodeTransactionData

Safe API를 사용하여 거래 데이터를 디코딩합니다.

decodeTransactionData({ data: "0x789...", // Transaction data to decode to: "0xabc...", // Optional contract address });

구성(선택 사항)

기본적으로 서버는 Safe Transaction API 메인넷 엔드포인트를 사용합니다.

https://safe-transaction-mainnet.safe.global/api/v1

다른 엔드포인트(예: 테스트넷)를 사용해야 하는 경우 환경 변수를 통해 설정할 수 있습니다.

SAFE_API_URL=https://safe-transaction-goerli.safe.global/api/v1 npm start

개발

npm run dev

특허

MIT

You must be authenticated.

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

Safe(이전 명칭 Gnosis Safe) 스마트 계약 지갑과 상호 작용할 수 있는 MCP 서버로, 사용자가 거래를 쿼리하고, 다중 서명 세부 정보를 얻고, 자연어를 통해 거래 데이터를 디코딩할 수 있도록 합니다.

  1. Features
    1. Installation
      1. Usage
        1. Available Tools
          1. getSafeTransactions
          2. getMultisigTransaction
          3. decodeTransactionData
        2. Configuration (Optional)
          1. Development
            1. License
              ID: 764w75qinj