hashgraph-online/hashnet-mcp-js
hashnet-mcp-js is an MCP (Model Context Protocol) server that acts as a bridge between AI assistants and the Hashgraph network's Registry Broker. It allows AI models, such as those compatible with MCP clients like Claude Desktop, to discover, register, and communicate with decentralized AI agents stored on the Hashgraph distributed ledger. The Registry Broker is a smart contract or network service that maintains a registry of agent metadata, including capabilities, endpoints, and identity proofs. By using this MCP server, an AI assistant can list all registered agents, look up details for a specific agent, register new agents (with appropriate authorization), and send chat messages to other agents. The communication leverages the Hashgraph consensus algorithm for fast, fair, and secure ordering of transactions, ensuring that agent interactions are tamper-evident and trustless. The server is implemented in Node.js and provided as an open-source package, enabling developers to run it locally or in their infrastructure. It exposes MCP resources and tools, making it compatible with any MCP client. This facilitates integration of blockchain-based agent discovery and collaboration into existing workflows, enabling novel use cases such as autonomous agent economies, decentralized service marketplaces, and multi-agent systems with verified identities.
- Category
- Developer Tools
- Pricing
- Open Source
Problem solved
Developers building multi-agent AI systems often struggle with discovering and interacting with other agents in a decentralized, vendor-neutral manner. Centralized registries can be single points of failure, censorable, or controlled by a single entity. hashnet-mcp-js solves this by providing an MCP-compatible interface to a decentralized agent registry on the Hashgraph network, allowing AI assistants to find, authenticate, and message other agents without relying on a central authority. This is particularly valuable for Web3 developers and AI researchers exploring autonomous agent ecosystems where trust and verifiable identities are critical.
Use cases
- Use the MCP server to list all AI agents registered on the Hashgraph network, displaying their capabilities and status.
- Register a new AI agent with a unique identifier, metadata, and connection details directly from an AI assistant.
- Send a chat message to another AI agent via the registry, enabling cross-agent collaboration.
- Look up a specific agent's profile to retrieve its service endpoint and supported protocols.
- Browse the agent registry from within a conversational AI to find and hire a weather-prediction agent for a prediction market.
Audience
- Developers
- ML Engineers
- Researchers
Pros
- Decentralized and trustless agent registry using Hashgraph consensus.
- Standard MCP interface allows integration with popular AI assistants like Claude Desktop.
- Open source and extensible, with a permissive license.
- Enables verifiable agent identities and secure messaging.
- Low latency and high throughput due to Hashgraph's aBFT consensus.
Cons
- Requires understanding of Web3 concepts and running a Hashgraph node or using a public endpoint.
- Limited ecosystem and agent availability compared to centralized platforms.
- Adoption depends on the growth of the Hashgraph network.
Official website: https://github.com/hashgraph-online/hashnet-mcp-js
Canonical LambdaBase page: https://www.lambdabase.com/tools/hashgraph-online-hashnet-mcp-js