Analyzes smart contract code to provide insights and explanations
Executes interactions with deployed smart contracts
Queries on-chain data across multiple blockchain networks
Analyzes blockchain transactions, blocks, and smart contract events
Deploys smart contracts using thirdweb's backend infrastructure
Manages wallet connections and transactions
Uploads files, directories, and JSON data to IPFS
Retrieves content from IPFS using thirdweb gateway
thirdweb MCP provides a unified interface to access thirdweb's suite of blockchain tools and services through the standardized Model Context Protocol. It enables seamless integration with Nebula for autonomous onchain execution, Insight for blockchain data analysis, Engine for contract deployments and interactions, and Storage for decentralized file management via IPFS. With this MCP, you can analyze smart contracts, query on-chain data across multiple networks, deploy and interact with contracts, and manage decentralized storage—all through a consistent interface that works with any MCP-compatible client.
Using pipx (recommended):
pipx install thirdweb-mcp
Using uvx:
THIRDWEB_SECRET_KEY=your_secret_key uvx thirdweb-mcp
From source:
git clone https://github.com/thirdweb-dev/ai.git thirdweb-ai
cd thirdweb-ai/python/thirdweb-mcp
uv sync
The thirdweb MCP server can be configured through command-line options or 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 backendRun the MCP server with your thirdweb secret key:
THIRDWEB_SECRET_KEY=your_secret_key thirdweb-mcp
Customize the transport and enable specific services:
# Using SSE transport on a custom port
THIRDWEB_SECRET_KEY=your_secret_key thirdweb-mcp --transport sse --port 8080
# Enabling all services with specific chain IDs
THIRDWEB_SECRET_KEY=your_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
Provides autonomous onchain execution and analysis capabilities:
Offers blockchain data analysis capabilities:
Integrates with thirdweb's backend infrastructure:
Provides decentralized storage functionality:
For questions or support, please contact support@thirdweb.com or visit thirdweb.com.