폴리곤 MCP 서버
Claude AI에 온체인 도구를 제공하는 MCP(Model Context Protocol) 서버로, 이를 통해 Polygon PoS 블록체인과 상호 작용할 수 있습니다.
특징
Polygon PoS에서 계약 함수 호출
ERC20 토큰 잔액을 받으세요
ERC20 토큰 전송
현재 가스 가격을 알아보세요
Related MCP server: Solana Agent Kit MCP Server
설치
이 저장소를 복제하세요:
지엑스피1
종속성 설치:
npm install프로젝트를 빌드하세요:
npm run build구성
다음 변수를 사용하여 루트 디렉토리에 .env 파일을 만듭니다.
SEED_PHRASE="your twelve word seed phrase here"용법
서버 실행
npm startClaude와 함께 사용
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: 계약의 ABIvalue(선택 사항): 거래와 함께 보낼 MATIC의 값
erc20_잔액
Polygon PoS에서 ERC20 토큰의 잔액을 받으세요.
매개변수:
contractAddress: 잔액을 얻기 위한 계약의 주소
erc20_전송
Polygon PoS에서 ERC20 토큰을 전송합니다.
매개변수:
contractAddress: 토큰을 전송할 계약의 주소toAddress: 수신자의 주소amount: 전송할 토큰의 양
가스가격 알아보기
Polygon PoS의 현재 가스 가격을 알아보세요.
특허
MIT
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.