Get the FREE Ultimate OpenClaw Setup Guide →

hts

MCP server from hedera-dev/hts-mcp-server

How to use

The hts MCP server from the hedera-dev repository provides a robust framework for developers working with the Hedera Hashgraph network. This server enables seamless interactions with the Model Context Protocol, allowing you to manage and query various asset types efficiently. With its capabilities, you can streamline operations related to token transactions and ensure your applications leverage the advanced features of the Hedera ecosystem.

To interact with the hts MCP server, you can establish a connection using standard HTTP requests. Once connected, you can perform various operations such as querying token balances, creating new tokens, and transferring tokens between accounts. Make sure to structure your queries according to the API documentation provided in the repository to ensure compatibility with the server's capabilities.

How to install

Prerequisites

Before installing the hts MCP server, ensure you have Node.js installed on your machine since it is required for running the server.

Option A: Quick Start with npx

You can quickly start using the hts MCP server without installing it globally by running:

npx -y hedera-dev/hts-mcp-server  

Option B: Global Install Alternative

If you prefer a global installation, you can clone the repository and install it manually:

git clone https://github.com/hedera-dev/hts-mcp-server  
cd hts-mcp-server  
npm install  

After installation, you can start the server using:

node index.js  

Additional notes

For optimal performance, consider configuring environment variables for API keys and network settings to enhance security and flexibility. Additionally, be aware that the server may require specific permissions for certain operations, so ensure your Hedera account has the necessary roles assigned. Common issues include network connectivity problems, so verify your connection to the Hedera network if you encounter errors.

Related MCP Servers

Sponsor this space

Reach thousands of developers