Skip to main content
Glama

Blockscout MCP Server

Official
README.md3.95 kB
# Blockscout MCP Server Desktop Extension ## General DXT Specification A Desktop Extension (.dxt file) bundle an entire MCP server — including all dependencies — into a single package that can be effortlessly installed in the Claude Desktop. - [DXT architecture overview, capabilities, and integration patterns](https://github.com/anthropics/dxt/blob/main/README.md) - [Complete extension manifest structure and field definitions](https://github.com/anthropics/dxt/blob/main/MANIFEST.md) - [Reference implementations including a "Hello World" example](https://github.com/anthropics/dxt/tree/main/examples) ## Technical Details The blockscout MCP Server Desktop Extension doesn't include the original Python package. Instead, it uses [mcp-remote](https://github.com/geelen/mcp-remote) to proxy all requests to [the official Blockscout MCP Server](http://mcp.blockscout.com/) (see configuration details in the `server` section of the [manifest.json](manifest.json) file). The reasons for this are: - **Upgradeless improvements**: the stable version of the Blockscout MCP Server with the newest functionality is always deployed on `http://mcp.blockscout.com/mcp`, therefore users don't need to upgrade the extension to get access to the newest features. - **Simplify the distribution**: while Claude Desktop supports installing Python-based extensions, Python is not shipped with the application whereas Node.js (which is required for `mcp-remote`) is. Reducing assumptions about the software stack makes the extension more accessible to a wider range of users. If a user is experienced enough to install Python/Docker, they can easily install the original MCP server on the local machine by themselves. - **Simplify the development**: there is no need to adapt the MCP server to comply with the DXT specification. - **Open source in action**: the Blockscout MCP server code does not need to implement its own proxy functionality; instead, community-tested and trusted `mcp-remote` is used. ## Packaging instructions ### Automated Build (Recommended) For automated building using the provided build script: **Production mode (default):** ```shell docker run --rm -it -v "$(pwd)"/dxt:/workspace -w /workspace node:20-slim bash -c "./build.sh" # or explicitly: docker run --rm -it -v "$(pwd)"/dxt:/workspace -w /workspace node:20-slim bash -c "./build.sh prod" ``` **Development mode:** ```shell docker run --rm -it -v "$(pwd)"/dxt:/workspace -w /workspace node:20-slim bash -c "./build.sh dev" ``` #### Build Modes - **Production (`prod`)**: Uses `manifest.json` and connects to the official `https://mcp.blockscout.com/mcp` server. Creates `blockscout-mcp.dxt`. - **Development (`dev`)**: Uses `manifest-dev.json` with configurable URL and creates `blockscout-mcp-dev.dxt`. Users can configure the Blockscout MCP server URL during installation in Claude Desktop. This will automatically handle all the steps below and create the extension at `dxt/_build/blockscout-mcp[--dev].dxt`. ### Manual Build For manual building or if you prefer step-by-step control: 1. This step is optional and required only if there is no local Node.js installation. For the project directory run: ```shell docker run --rm -it -v "$(pwd)"/dxt:/workspace -w /workspace node:20-slim bash ``` In the interactive session then execute the following steps: ```shell apt-get update apt-get install -y openssl ``` 2. Install the DXT CLI: ```shell npm install -g @anthropic-ai/dxt ``` 3. Package the extension: ```shell mkdir _build cp manifest.json blockscout.png _build/ cd _build npm install mcp-remote@0.1.18 dxt pack . blockscout-mcp.dxt dxt sign blockscout-mcp.dxt --self-signed ``` 4. Verify the extension: ```shell dxt verify blockscout-mcp.dxt dxt info blockscout-mcp.dxt ``` Finally the built extension will be in `dxt/_build/blockscout-mcp.dxt`.

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/blockscout/mcp-server'

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