Skip to main content
Glama

Alchemy MCP プラグイン

鍛冶屋のバッジ

この MCP プラグインは、ブロックチェーンおよび NFT 操作用の Alchemy SDK との統合を提供します。

特徴

  • ウォレットアドレスでNFTを取得する

  • NFTメタデータを取得する

  • 最新のブロック番号を取得する

  • 必要に応じてエンドポイントを追加できます

Related MCP server: MCP Etherscan Server

設定

Smithery経由でインストール

Smithery経由で Claude Desktop 用の alchemy-sdk-mcp を自動的にインストールするには:

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

手動インストール

  1. 依存関係をインストールします:

npm install
  1. プロジェクトをビルドします。

npm run build
  1. Alchemy API キーを設定します。

    • AlchemyからAPIキーを取得する

    • settings.jsonALCHEMY_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

Install Server
F
license - not found
B
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/itsanishjain/alchemy-sdk-mcp'

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