✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Hashkey MCP Server: Bridging AI and Blockchain with UBOS

In the rapidly evolving landscape of artificial intelligence, the ability for AI models to access and interact with real-world data is paramount. The Hashkey MCP (Model Context Protocol) Server emerges as a critical component, acting as a secure and extensible bridge between AI applications and the decentralized world of blockchain. Integrated seamlessly with the UBOS (Unified Business Orchestration System) platform, Hashkey MCP empowers AI agents to leverage on-chain data, execute transactions, and interact with smart contracts, opening up a new realm of possibilities for AI-driven innovation.

What is Hashkey MCP?

At its core, the Hashkey MCP Server is an open-source implementation of the Model Context Protocol. MCP standardizes how applications provide context to Large Language Models (LLMs). This server provides on-chain tools specifically designed for AI applications, such as Claude Desktop and Cursor, enabling them to interact with the Hashkey Network. It’s a crucial piece of infrastructure for developers looking to integrate AI with blockchain, offering a secure and standardized way for AI agents to access and utilize on-chain data and functionalities.

Key Features and Benefits

  • On-Chain Interaction: Enables AI applications to directly interact with blockchain networks, executing transactions, querying data, and interacting with smart contracts.
  • Extensibility: Designed to be highly extensible, allowing developers to add custom tools, protocols, and data sources to tailor the server to their specific needs. This is achieved through a modular architecture, making it easy to integrate new functionalities.
  • Open Source: Being open-source, the Hashkey MCP Server promotes transparency, community collaboration, and continuous improvement. Developers can contribute to the project, audit the code, and customize it to meet their unique requirements.
  • Integration with UBOS: Seamlessly integrates with the UBOS platform, providing a comprehensive environment for developing, deploying, and managing AI agents that interact with blockchain. This integration simplifies the development process and provides a unified platform for AI-powered blockchain applications.
  • Secure and Standardized: Provides a secure and standardized interface for AI agents to access on-chain resources, mitigating the risks associated with direct access to blockchain networks.
  • Compatibility with AI Tools: Specifically designed to work with popular AI tools like Claude Desktop and Cursor, allowing developers to leverage their existing AI workflows with blockchain technology.
  • Variety of Available Tools: The server comes equipped with a range of pre-built tools, including:
    • get-address: Retrieves the wallet address.
    • list-balances: Lists all wallet balances.
    • transfer-funds: Transfers funds to another address.
    • deploy-contract: Deploys smart contracts.
    • check-address-reputation: Checks the reputation of an address.
    • get_morpho_vaults: Gets vaults for a given asset on Morpho.
    • call_contract: Calls contract functions.
    • get_onramp_assets: Gets assets available for onramping.
    • onramp: Gets a URL for onramping funds via Coinbase.
    • erc20_balance: Gets the balance of an ERC20 token.
    • erc20_transfer: Transfers ERC20 tokens.
    • list_nfts: Lists NFTs owned by an address.
    • transfer_nft: Transfers an NFT to another address.
    • buy_openrouter_credits: Buys OpenRouter credits with USDC.

Use Cases

The Hashkey MCP Server unlocks a wide range of use cases, including:

  • AI-Powered DeFi: AI agents can analyze on-chain data to identify profitable DeFi opportunities, execute trades, and manage portfolios.
  • Automated Smart Contract Management: AI can automate the deployment, monitoring, and maintenance of smart contracts, reducing the risk of errors and improving efficiency.
  • AI-Driven NFT Management: AI agents can manage NFT collections, identify valuable assets, and execute trades based on market analysis.
  • Reputation and Risk Management: AI can analyze on-chain data to assess the reputation of addresses and identify potential risks associated with interacting with them.
  • Enhanced Customer Service: AI-powered chatbots can access on-chain data to provide customers with personalized support and information about their transactions and holdings.
  • Fraud Detection: AI algorithms can monitor on-chain transactions to detect and prevent fraudulent activities.
  • Supply Chain Optimization: AI agents can track the movement of goods along the supply chain, ensuring transparency and efficiency.

Extending Hashkey MCP

One of the key strengths of Hashkey MCP is its extensibility. Developers can easily add new tools and protocols to the server, tailoring it to their specific needs. The server follows a modular architecture, making it easy to integrate new functionalities. To add a new tool, you simply need to create a new directory in the src/tools directory, implement the tool following the existing patterns, and add it to the list of available tools.

Installation and Configuration

The Hashkey MCP Server can be installed either from npm or from source. The recommended approach is to install it from npm, which simplifies the installation process and ensures that you’re using the latest version of the server. Once installed, you need to configure the server with your credentials, including your Coinbase API keys, wallet seed phrase, Alchemy API key, and OpenRouter API key (optional). These credentials are used to interact with various blockchain networks and services.

Integration with Claude Desktop

The Hashkey MCP Server seamlessly integrates with Claude Desktop, allowing you to use natural language to interact with blockchain. To integrate the server with Claude Desktop, you need to add a configuration entry to the Claude Desktop configuration file, specifying the command to run the server, the environment variables to pass to the server, and the list of auto-approved tools.

UBOS: The Full-Stack AI Agent Development Platform

UBOS is a full-stack AI Agent Development Platform designed to bring AI Agents to every business department. It complements the Hashkey MCP Server by providing a comprehensive environment for developing, deploying, and managing AI agents. With UBOS, you can orchestrate AI Agents, connect them with your enterprise data, build custom AI Agents with your LLM model, and create Multi-Agent Systems.

Key Benefits of Using UBOS with Hashkey MCP:

  • Simplified Development: UBOS provides a user-friendly interface for developing and deploying AI agents that interact with the Hashkey MCP Server.
  • Enhanced Security: UBOS provides a secure environment for managing API keys and other sensitive credentials.
  • Scalability: UBOS is designed to scale to meet the needs of enterprise-level applications.
  • Integration with Enterprise Data: UBOS allows you to connect AI agents with your enterprise data, enabling them to access and utilize valuable information.
  • Multi-Agent Systems: UBOS supports the creation of Multi-Agent Systems, allowing you to build complex AI applications that involve multiple interacting agents.

Conclusion

The Hashkey MCP Server, in conjunction with the UBOS platform, provides a powerful and versatile solution for integrating AI with blockchain. By providing a secure and standardized interface for AI agents to access on-chain resources, the Hashkey MCP Server unlocks a wide range of use cases and empowers developers to build innovative AI-powered blockchain applications. Whether you’re building AI-powered DeFi applications, automating smart contract management, or managing NFT collections, the Hashkey MCP Server and UBOS provide the tools and infrastructure you need to succeed.

Featured Templates

View More

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.