Skip to main content
Glama
Safe MCP Server

Safe MCP Server

by 5ajaki

안전한 MCP 서버

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

특징

  • 모든 안전 주소에 대한 안전 거래 쿼리

  • 멀티시그 거래 세부 정보 가져오기

  • 거래 데이터 디코딩

  • 안전한 API 통합

Related MCP server: Hermes Blockchain Oracle

설치

지엑스피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

Available Tools

3 tools
decodeTransactionDataC

Decode transaction data using Safe API

Inputs: data (required), to.

getMultisigTransactionC

Get details of a specific multisig transaction

Inputs: safeTxHash (required).

getSafeTransactionsC

Get all transactions for a Safe address

Inputs: address (required), limit, offset.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: decodeTransactionData handles data decoding, getMultisigTransaction retrieves a specific transaction, and getSafeTransactions lists all transactions for a Safe. There is no overlap in functionality, making tool selection straightforward.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern with camelCase (e.g., decodeTransactionData, getMultisigTransaction). However, the verb 'get' is used for two tools while 'decode' is used for one, which is a minor deviation from perfect uniformity.

    Tool Count3/5

    With only 3 tools, the set feels thin for a Safe MCP server, as it lacks operations like creating or executing transactions, which are core to multisig workflows. The count is borderline for the apparent scope of Safe management.

    Completeness2/5

    The tool surface is significantly incomplete for Safe management, missing essential CRUD operations such as creating, proposing, or executing transactions. This will likely cause agent failures when trying to perform full lifecycle actions on Safes.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers