Skip to main content
Glama

Alchemy MCP 플러그인

대장간 배지

이 MCP 플러그인은 블록체인 및 NFT 작업을 위한 Alchemy SDK와의 통합을 제공합니다.

특징

  • 지갑 주소로 NFT 받기

  • NFT 메타데이터 가져오기

  • 최신 블록 번호를 가져옵니다

  • 필요에 따라 더 많은 엔드포인트를 추가할 수 있습니다.

Related MCP server: MCP Site Manager

설정

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 alchemy-sdk-mcp를 자동으로 설치하려면:

지엑스피1

수동 설치

  1. 종속성 설치:

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

npm run build
  1. Alchemy API 키를 구성하세요.

    • Alchemy 에서 API 키 받기

    • settings.json 에서 ALCHEMY_API_KEY 업데이트하세요.

  2. 서버를 시작합니다:

npm start

사용 가능한 엔드포인트

1. 소유자를 위한 NFT 획득

POST /getNftsForOwner
{
    "owner": "wallet_address"
}

2. NFT 메타데이터 가져오기

POST /getNftMetadata
{
    "contractAddress": "contract_address",
    "tokenId": "token_id"
}

3. 블록 번호 가져오기

POST /getBlockNumber

오류 처리

모든 엔드포인트에는 적절한 오류 처리 및 로깅이 포함됩니다. 오류는 다음 형식으로 반환됩니다.

{
    "error": "Error message"
}

벌채 반출

서버는 더 나은 디버깅을 위해 console.error를 사용하여 포괄적인 로깅을 구현합니다.

  • [설정] 초기화를 위한 로그

  • [API] API 호출에 대한 로그

  • [오류] 오류 처리를 위한 로그

$env:ALCHEMY_API_KEY="KRdhdsBezoTMVajIknIxlXgBHc1Pprpw"; 노드 dist/index.js

Available Tools

22 tools
estimate_gas_priceC

Estimate current gas price

Inputs: maxFeePerGas.

get_asset_transfersC

Get asset transfers for a specific address or contract

Inputs: fromBlock, toBlock, fromAddress, toAddress, +6 more.

get_block_numberB

Get the latest block number

Inputs: no named parameters.

get_block_with_transactionsC

Get a block with its transactions

Inputs: blockNumber, blockHash.

get_contracts_for_ownerC

Get NFT contracts owned by an address

Inputs: owner (required), pageKey, pageSize, includeFilters, +1 more.

get_floor_priceC

Get floor price for an NFT collection

Inputs: contractAddress (required).

get_nft_metadataC

Get metadata for a specific NFT

Inputs: contractAddress (required), tokenId (required), tokenType, refreshCache.

get_nft_salesC

Get NFT sales data for a contract or specific NFT

Inputs: contractAddress, tokenId, fromBlock, toBlock, +4 more.

get_nfts_for_contractC

Get all NFTs for a contract

Inputs: contractAddress (required), pageKey, pageSize, tokenUriTimeoutInMs, +1 more.

get_nfts_for_ownerC

Get NFTs owned by a specific wallet address

Inputs: owner (required), pageKey, pageSize, contractAddresses, +1 more.

get_owners_for_nftC

Get owners of a specific NFT

Inputs: contractAddress (required), tokenId (required), pageKey, pageSize.

get_token_balancesC

Get token balances for a specific address

Inputs: address (required), tokenAddresses.

get_token_metadataC

Get metadata for a token contract

Inputs: contractAddress (required).

get_tokens_for_ownerC

Get tokens owned by an address

Inputs: owner (required), pageKey, pageSize, contractAddresses.

get_transactionC

Get transaction details by hash

Inputs: hash (required).

get_transaction_receiptsC

Get transaction receipts for a block

Inputs: blockHash, blockNumber.

get_transfers_for_contractC

Get transfers for an NFT contract

Inputs: contractAddress (required), pageKey, fromBlock, toBlock, +2 more.

get_transfers_for_ownerC

Get NFT transfers for an owner

Inputs: owner (required), pageKey, fromBlock, toBlock, +3 more.

lookup_addressB

Lookup the ENS name for an address

Inputs: address (required).

resolve_ensB

Resolve an ENS name to an address

Inputs: name (required), blockTag.

subscribeC

Subscribe to blockchain events

Inputs: type (required), address, topics.

unsubscribeC

Unsubscribe from blockchain events

Inputs: subscriptionId (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between get_nfts_for_owner and get_contracts_for_owner, as well as between get_asset_transfers, get_transfers_for_contract, and get_transfers_for_owner, which could cause minor confusion. However, descriptions help clarify the specific focus of each tool.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with underscores, such as get_block_number, estimate_gas_price, and lookup_address. There are no deviations in naming conventions, making the set highly predictable and readable.

    Tool Count3/5

    With 22 tools, the count is on the higher side for a blockchain-focused server, bordering on heavy but still manageable. It covers multiple aspects like NFTs, tokens, transactions, and events, but may feel slightly bloated compared to more streamlined sets.

    Completeness5/5

    The tool set provides comprehensive coverage for blockchain interactions, including data retrieval (blocks, transactions, NFTs, tokens), metadata access, transfers, ownership queries, and event subscriptions. There are no obvious gaps, and it supports full lifecycle operations for the domain.

    Related MCP Connectors

    Related MCP Servers