onchain-mcp

onchain-mcp

42

The Bankless Onchain MCP Server enables secure and efficient access to blockchain data via the Bankless API. Utilizing the Model Context Protocol, it supports AI models in seamlessly interacting with smart contracts, event logs, and transaction histories. Its robust feature set includes reading contract states and managing proxy addresses.

What is the Bankless Onchain MCP Server?

It is a server that provides a framework for interacting with on-chain data via the Bankless API, implementing the Model Context Protocol (MCP) for AI models.

What operations can be performed with this server?

The server supports contract operations, event operations, and transaction operations, including reading contract states and fetching event logs.

How do I set up the environment for using the server?

You need to set your Bankless API token using the command export BANKLESS_API_TOKEN=your_api_token_here.

How can I integrate this server with AI models?

You can integrate it by configuring your app's server settings to include the MCP server with the necessary command and environment variables.

What are the error types provided by the server?

The server provides specific error types such as BanklessValidationError, BanklessAuthenticationError, BanklessResourceNotFoundError, and BanklessRateLimitError.