thirdweb区块链工具
STDIO用于集成thirdweb服务的MCP服务器
用于集成thirdweb服务的MCP服务器
A Model Context Protocol (MCP) server implementation for thirdweb services integration. This server allows you to integrate thirdweb's tools with any MCP-compatible client.
thirdweb MCP provides a unified interface to access thirdweb's suite of blockchain tools and services through the standardized Model Context Protocol. It supports multiple communication transports and can be integrated with various thirdweb services:
THIRDWEB_SECRET_KEY=... \ uvx thirdweb-mcp
pipx install thirdweb-mcp THIRDWEB_SECRET_KEY=... \ thirdweb-mcp
git clone https://github.com/thirdweb-dev/ai.git thirdweb-ai cd thirdweb-ai/python/thirdweb-mcp uv sync
The thirdweb MCP server requires configuration based on which services you want to enable:
You can provide these through command-line options or environment variables.
# Basic usage with default settings (stdio transport with Nebula and Insight) THIRDWEB_SECRET_KEY=... thirdweb-mcp # Using SSE transport on a custom port THIRDWEB_SECRET_KEY=... thirdweb-mcp --transport sse --port 8080 # Enabling all services with specific chain IDs THIRDWEB_SECRET_KEY=... thirdweb-mcp --chain-id 1 --chain-id 137 \ --engine-url YOUR_ENGINE_URL \ --engine-auth-jwt YOUR_ENGINE_JWT \ --engine-backend-wallet-address YOUR_ENGINE_BACKEND_WALLET_ADDRESS \ --vault-access-token YOUR_VAULT_ACCESS_TOKEN
You can also configure the MCP server using environment variables:
THIRDWEB_SECRET_KEY
: Your thirdweb API secret keyTHIRDWEB_ENGINE_URL
: URL endpoint for thirdweb Engine serviceTHIRDWEB_ENGINE_AUTH_JWT
: Authentication JWT token for EngineTHIRDWEB_ENGINE_BACKEND_WALLET_ADDRESS
: Wallet address for Engine backendTHIRDWEB_VAULT_ACCESS_TOKEN
: Vault access token for EngineCloud server wallet operationsTo add this MCP server to Claude Desktop:
Install the MCP: pipx install thirdweb-mcp
Create or edit the Claude Desktop configuration file at:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
Add the following configuration:
{ "mcpServers": { "thirdweb-mcp": { "command": "thirdweb-mcp", "args": [], // add `--chain-id` optionally "env": { "THIRDWEB_SECRET_KEY": "your thirdweb secret key from dashboard", "THIRDWEB_ENGINE_URL": "(OPTIONAL) your engine url", "THIRDWEB_ENGINE_AUTH_JWT": "(OPTIONAL) your engine auth jwt", "THIRDWEB_ENGINE_BACKEND_WALLET_ADDRESS": "(OPTIONAL) your engine backend wallet address", "THIRDWEB_VAULT_ACCESS_TOKEN": "(OPTIONAL) your vault access token for EngineCloud" }, } } }
Restart Claude Desktop for the changes to take effect.
Read more on MCP Quickstart
This server can be integrated with any client that supports the Model Context Protocol:
Autonomous onchain execution and analysis:
Offers blockchain data analysis capabilities:
Integrates with thirdweb's backend infrastructure:
Cloud-based engine operations with advanced capabilities:
Provides decentralized storage functionality:
For questions or support, please contact [email protected] or visit thirdweb.com.