AN

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

13 stars 13 forks Качество 78 Тренд 13Apache-2.0

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

Обзор

is a TypeScript implementation of a Model Context Protocol (MCP) server for interacting with the Akash Network. 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. 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. - : Handles Akash wallet authentication and client initialization - : Manages Akash certificates - : - Account address retrieval - Deployment creation, querying, updating, and termination - SDL (Stack Definition Language) operations - Bid management - Lease creation - Manifest deployment - Node.

README

Показан фрагмент оригинального README. Открыть оригинал.

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 `` with the path to the dist/index.js file you built.

{
  "mcpServers": {
    "Akash": {
      "command": "node",
      "args": [""],
      "env": {
        "AKASH_MNEMONIC": "", // OR "AKASH_PRIVATE_KEY": ""
        "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
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "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 } } } }