A favicon of Alchemy Plugin

Alchemy Plugin

Integrate blockchain and NFT operations seamlessly. Retrieve NFTs, their metadata, and the latest block number with ease. Enhance your applications with powerful blockchain capabilities using the Alchemy SDK.

Installation

Installing for Claude Desktop

Manual Configuration Required

This MCP server requires manual configuration. Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

This will open your configuration file where you can add the Alchemy Plugin MCP server manually.

Alchemy MCP Plugin

smithery badge

This MCP plugin provides integration with the Alchemy SDK for blockchain and NFT operations.

Features

  • Get NFTs for a wallet address
  • Get NFT metadata
  • Get latest block number
  • More endpoints can be added as needed

Setup

Installing via Smithery

To install alchemy-sdk-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @itsanishjain/alchemy-sdk-mcp --client claude

Manual Installation

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Configure your Alchemy API key:

    • Get an API key from Alchemy
    • Update the ALCHEMY_API_KEY in settings.json
  2. Start the server:

npm start

Available Endpoints

1. Get NFTs for Owner

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

2. Get NFT Metadata

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

3. Get Block Number

POST /getBlockNumber

Error Handling

All endpoints include proper error handling and logging. Errors are returned in the format:

{
    "error": "Error message"
}

Logging

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

Share:
Details:
  • Stars


    0
  • Forks


    3
  • Last commit


    4 months ago
  • Repository age


    4 months
View Repository

Auto-fetched from GitHub .

MCP servers similar to Alchemy Plugin:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


Alchemy Plugin: MCP Server – MCP.Bar