Akash Network

by akash-network

5 stars
Not rated
GitHub

About

Bridges AI agents with the Akash Network, enabling deployment and management of decentralized applications on blockchain-based cloud computing infrastructure.

Details

Author
akash-network
Repository
akash-network/mcp
GitHub stars
5
License
Apache License 2.0
Categories
Cloud Service, Infrastructure, Other, Design, Developer Tools, AI, Frontend, Security, Knowledge Base

- Wallet and Client Management: Handles Akash wallet authentication and client initialization
- Certificate Management: Manages Akash certificates
- Tools for Akash Interaction:
- Account address retrieval
- Deployment creation, querying, updating, and termination
- SDL (Stack Definition Language) operations
- Bid management
- Lease creation
- Manifest deployment

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Akash Network
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 <path to dist/index.js>
    Environment
    • AKASH_RPC_URL https://rpc.akashnet.net:443
    • AKASH_MNEMONIC <your mnemonic here>

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Add the following to your claude_desktop_config.json or .cursor/mcp.json. See here for more details.

Make sure to replace <path to dist/index.js> with the path to the dist/index.js file you built.

{
  "mcpServers": {
    "Akash": {
      "command": "node",
      "args": ["<path to dist/index.js>"],
      "env": {
        "AKASH_MNEMONIC": "<your mnemonic here>", // OR "AKASH_PRIVATE_KEY": "<your 64-character hex string>"
        "AKASH_RPC_URL": "https://rpc.akashnet.net:443" // optional, defaults to https://rpc.akashnet.net:443
      }
    }
  }
}

GetAccountAddrTool

Retrieve your Akash account address.

GetBalancesTool

Get the AKT (uakt) and other balances for a given Akash account address.

GetBidsTool

Get bids for deployments.

CreateDeploymentTool

Create a new deployment on Akash Network.

GetDeploymentTool

Get deployment details including status, groups, and escrow account.

CloseDeploymentTool

Close/terminate a deployment on Akash Network.

AddFundsTool

Deposit additional AKT (uakt) into a deployment escrow account.

GetSDLsTool

Get a list of available SDLs (from awesome-akash repository).

GetSDLTool

Get a specific SDL by name.

SendManifestTool

Send a manifest to a provider.

CreateLeaseTool

Create a lease with a provider.

GetServicesTool

Get information about active services.

UpdateDeploymentTool

Update a deployment on Akash Network.

The server provides the following tools for AI agents:

- GetAccountAddrTool: Retrieve your Akash account address
- GetBalancesTool: Get the AKT (uakt) and other balances for a given Akash account address
- GetBidsTool: Get bids for deployments
- CreateDeploymentTool: Create a new deployment on Akash Network
- GetDeploymentTool: Get deployment details including status, groups, and escrow account
- CloseDeploymentTool: Close/terminate a deployment on Akash Network
- AddFundsTool: Deposit additional AKT (uakt) into a deployment escrow account
- GetSDLsTool: Get a list of available SDLs (from awesome-akash repository)
- GetSDLTool: Get a specific SDL by name
- SendManifestTool: Send a manifest to a provider
- CreateLeaseTool: Create a lease with a provider
- GetServicesTool: Get information about active services
- UpdateDeploymentTool: Update a deployment on Akash Network

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "akash network": {
            "env": {
                "AKASH_RPC_URL": "https://rpc.akashnet.net:443",
                "AKASH_MNEMONIC": "<your mnemonic here>"
            },
            "args": [
                "<path to dist/index.js>"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "AKASH_RPC_URL": "https://rpc.akashnet.net:443",
        "AKASH_MNEMONIC": "<your mnemonic here>"
    },
    "args": [
        "<path to dist/index.js>"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "AKASH_RPC_URL": "https://rpc.akashnet.net:443",
        "AKASH_MNEMONIC": "<your mnemonic here>"
    },
    "args": [
        "<path to dist/index.js>"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "AKASH_RPC_URL": "https://rpc.akashnet.net:443",
        "AKASH_MNEMONIC": "<your mnemonic here>"
    },
    "args": [
        "<path to dist/index.js>"
    ],
    "command": "node"
}

<div align="left">

<a href="https://akash.network/" target="_blank">
Akash logo
</a>

# Akash MCP Server

Akash MCP Server is a TypeScript implementation of a Model Context Protocol (MCP) server for interacting with the Akash Network.

License
X (formerly Twitter) Follow
Discord

</div>

Note

This project is still under development and not all tools are available. We are working on adding more tools and improving the server.
We are open to contributions! See CONTRIBUTING.md for more details.

Overview

This server provides a bridge between AI agents and the Akash Network, allowing AI models to deploy applications, create leases, manage deployments, and interact with other Akash services directly through typed tools. It implements the Model Context Protocol, making it compatible with various AI platforms and tools.

Features

- Wallet and Client Management: Handles Akash wallet authentication and client initialization
- Certificate Management: Manages Akash certificates
- Tools for Akash Interaction:
- Account address retrieval
- Deployment creation, querying, updating, and termination
- SDL (Stack Definition Language) operations
- Bid management
- Lease creation
- Manifest deployment

Prerequisites

- Node.js (v18 or later)
- An Akash wallet (a mnemonic or a hex-encoded private key is required for interaction with Akash Network)
- Basic knowledge of Akash Network

Installation

1. Clone the repository:

   git clone https://github.com/akash-network/mcp.git
   cd mcp
   

2. Install dependencies:

   npm install
   

3. Build the project:

   npm run build
   

Usage with Claude Desktop or Cursor

Add the following to your claude_desktop_config.json or .cursor/mcp.json. See here for more details.

Make sure to replace <path to dist/index.js> with the path to the dist/index.js file you built.

{
  "mcpServers": {
    "Akash": {
      "command": "node",
      "args": ["<path to dist/index.js>"],
      "env": {
        "AKASH_MNEMONIC": "<your mnemonic here>", // OR "AKASH_PRIVATE_KEY": "<your 64-character hex string>"
        "AKASH_RPC_URL": "https://rpc.akashnet.net:443" // optional, defaults to https://rpc.akashnet.net:443
      }
    }
  }
}

Usage

Development Mode

Run the server with the MCP inspector for development:

npm run dev

For watch mode during development:

npm run dev:watch

Using the Server with AI Models

The server exposes a standard MCP interface that can be used by AI models to interact with the Akash Network. It uses the stdio transport by default, making it compatible with most MCP clients.

Available Tools

The server provides the following tools for AI agents:

- GetAccountAddrTool: Retrieve your Akash account address
- GetBalancesTool: Get the AKT (uakt) and other balances for a given Akash account address
- GetBidsTool: Get bids for deployments
- CreateDeploymentTool: Create a new deployment on Akash Network
- GetDeploymentTool: Get deployment details including status, groups, and escrow account
- CloseDeploymentTool: Close/terminate a deployment on Akash Network
- AddFundsTool: Deposit additional AKT (uakt) into a deployment escrow account
- GetSDLsTool: Get a list of available SDLs (from awesome-akash repository)
- GetSDLTool: Get a specific SDL by name
- SendManifestTool: Send a manifest to a provider
- CreateLeaseTool: Create a lease with a provider
- GetServicesTool: Get information about active services
- UpdateDeploymentTool: Update a deployment on Akash Network

Development

Linting and Formatting

# Run linter
npm run lint

Fix linting issues

npm run lint:fix

Format code

npm run format

License

See LICENSE

Acknowledgements

- Akash Network
- Model Context Protocol
- awesome-akash (included as a submodule)

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.