BM

blockscout/mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

46 stars 29 forks 品質 75 トレンド 20NOASSERTION

blockcout/mcp-server は [https://github.com/blockscout/mcp-server. からインポートされた MCP サーバーの候補です

概要

blockcout/mcp-server は [https://github.com/blockscout/mcp-server. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Model Context Protocol (MCP) は、AI エージェント、IDE、および自動化ツールが、コンテクスト・アウェア API を通じて構造化されたデータを消費、クエリ、解析できるように設計されたオープン・プロトコルです。

このサーバーは、Blockscout API をラップし、ブロックチェーンデータをバランス、トークン、NFT、コントラクトメタデータを MCP でラップし、AI エージェントやツール (Claude、Cursor、IDE など) がコンテキストでアクセスして解析できるようにします。

主な特徴:

  • AIツールのコンテキストブロックチェーンデータアクセス
  • Chainscout メタデータ強化による Blockscout PRO API 設定によるマルチチェーンサポート -Versioned REST API: すべてのMCPツールに標準、Webフレンドリーなインターフェイスを提供します。 完全なドキュメントについては、API.md を参照してください。
  • MCP ホストのカスタム指示でサーバーを使用する
  • データアクセシビリティを維持しながらLMトークンを節約するためのインテリジェントなコンテキスト最適化
  • コンテキストオーバーフローを防ぐため、設定可能なページサイズでスマートな応答スライシング
  • 複雑なパラメータの代わりにBase64URLエンコードされた文字列を使用して不透明カーソルのペグネーション
  • 明確な指標およびアクセスの指導の大きいデータ フィールドの自動tuncation
  • 構造化されたJSON応答およびフォローアップの指示の標準化されたToolResponseモデル

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Blockscout MCP Server

The Model Context Protocol (MCP) is an open protocol designed to allow AI agents, IDEs, and automation tools to consume, query, and analyze structured data through context-aware APIs.

This server wraps Blockscout APIs and exposes blockchain data—balances, tokens, NFTs, contract metadata—via MCP so that AI agents and tools (like Claude, Cursor, or IDEs) can access and analyze it contextually.

Key Features:

  • Contextual blockchain data access for AI tools
  • Multi-chain support via Blockscout PRO API configuration with Chainscout metadata enrichment
  • Versioned REST API: Provides a standard, web-friendly interface to all MCP tools. See API.md for full documentation.
  • Custom instructions for MCP host to use the server
  • Intelligent context optimization to conserve LLM tokens while preserving data accessibility
  • Smart response slicing with configurable page sizes to prevent context overflow
  • Opaque cursor pagination using Base64URL-encoded strings instead of complex parameters
  • Automatic truncation of large data fields with clear indicators and access guidance
  • Standardized ToolResponse model with structured JSON responses and follow-up instructions
  • Enhanced observability with MCP progress notifications and periodic updates for long-running operations

Enhanced Analysis with Agent Skills

For more powerful and efficient blockchain analysis, install the Blockscout Analysis skill from the agent-skills repository. This skill provides AI agents with structured guidance for execution strategies, response handling, security best practices, and workflow orchestration.

Learn more: See the agent-skills README for full capabilities and installation instructions.

Configuring MCP Clients

Blockscout PRO API Key

Configuring the Blockscout MCP server with an AI agent requires a Blockscout PRO API key. Most of the data tools route their requests through the authenticated Blockscout PRO API gateway, so without a valid key those tools fail fast before making any upstream request.

To obtain a key, register on the Blockscout Developer Portal (the free tier does not require a credit card) and generate an API key; keys are prefixed proapi_. Then supply it when configuring your client, as shown in the sections below.

GitHub で README 全文を見る

インストール

docker run --rm -i ghcr.io/blockscout/mcp-server:latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "blockscout": { "url": "https://mcp.blockscout.com/mcp", "timeout": 180000, "headers": { "Blockscout-MCP-Pro-Api-Key": "proapi_your_key_here" } } } }