alchemy sdk mcp
This plugin enables interaction with blockchain data and NFTs through the Alchemy SDK, allowing operations such as retrieving NFT metadata, fetching NFTs for wallet addresses, and getting the latest block number.
This plugin enables interaction with blockchain data and NFTs through the Alchemy SDK, allowing operations such as retrieving NFT metadata, fetching NFTs for wallet addresses, and getting the latest block number.
This MCP plugin provides integration with the Alchemy SDK for blockchain and NFT operations.
To install alchemy-sdk-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @itsanishjain/alchemy-sdk-mcp --client claude
Install dependencies:
npm install
Build the project:
npm run build
Configure your Alchemy API key:
Update the ALCHEMY_API_KEY
in settings.json
Start the server:
npm start
POST /getNftsForOwner
{
"owner": "wallet_address"
}
POST /getNftMetadata
{
"contractAddress": "contract_address",
"tokenId": "token_id"
}
POST /getBlockNumber
All endpoints include proper error handling and logging. Errors are returned in the format:
{
"error": "Error message"
}
The server implements comprehensive logging using console.error for better debugging: - [Setup] logs for initialization - [API] logs for API calls - [Error] logs for error handling
$env:ALCHEMY_API_KEY="KRdhdsBezoTMVajIknIxlXgBHc1Pprpw"; node dist/index.js