Skip to main content
Glama

폴리곤 MCP 서버

Claude AI에 온체인 도구를 제공하는 MCP(Model Context Protocol) 서버로, 이를 통해 Polygon PoS 블록체인과 상호 작용할 수 있습니다.

특징

  • Polygon PoS에서 계약 함수 호출

  • ERC20 토큰 잔액을 받으세요

  • ERC20 토큰 전송

  • 현재 가스 가격을 알아보세요

Related MCP server: Solana Agent Kit MCP Server

설치

  1. 이 저장소를 복제하세요:

지엑스피1

  1. 종속성 설치:

npm install
  1. 프로젝트를 빌드하세요:

npm run build

구성

다음 변수를 사용하여 루트 디렉토리에 .env 파일을 만듭니다.

SEED_PHRASE="your twelve word seed phrase here"

용법

서버 실행

npm start

Claude와 함께 사용

Claude와 함께 이 MCP 서버를 사용하려면 MCP 설정 파일에 추가해야 합니다.

VSCode Claude 확장 프로그램의 경우:

{ "mcpServers": { "polygon": { "command": "node", "args": ["/path/to/polygon-mcp/build/index.js"], "env": { "SEED_PHRASE": "your twelve word seed phrase here" }, "disabled": false, "autoApprove": [] } } }

Claude 데스크톱 앱의 경우:

{ "mcpServers": { "polygon": { "command": "node", "args": ["/path/to/polygon-mcp/build/index.js"], "env": { "SEED_PHRASE": "your twelve word seed phrase here" }, "disabled": false, "autoApprove": [] } } }

사용 가능한 도구

호출_계약

Polygon PoS에서 계약 함수를 호출합니다.

매개변수:

  • contractAddress : 호출할 계약의 주소

  • functionName : 호출할 함수의 이름

  • functionArgs : 함수에 전달할 인수

  • abi : 계약의 ABI

  • value (선택 사항): 거래와 함께 보낼 MATIC의 값

erc20_잔액

Polygon PoS에서 ERC20 토큰의 잔액을 받으세요.

매개변수:

  • contractAddress : 잔액을 얻기 위한 계약의 주소

erc20_전송

Polygon PoS에서 ERC20 토큰을 전송합니다.

매개변수:

  • contractAddress : 토큰을 전송할 계약의 주소

  • toAddress : 수신자의 주소

  • amount : 전송할 토큰의 양

가스가격 알아보기

Polygon PoS의 현재 가스 가격을 알아보세요.

특허

MIT

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

Latest Blog Posts

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/Dablclub/polygon-mcp'

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