AN

akash-network/mcp

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

13 stars 13 forks 质量 78 趋势 13Apache-2.0

是 TypeScript 实现的模型上下文协议(MCP)服务器,用于与 Akash 网络交互。

概览

是 TypeScript 实现的模型上下文协议(MCP)服务器,用于与 Akash 网络交互。 该项目仍在开发中,并非所有工具都已可用。我们正在努力添加更多工具并改进服务器。我们欢迎大家参与!详情请参见 CONTRIBUTING.md。 该服务器为 AI 代理与 Akash 网络之间提供了桥梁,使 AI 模型能够部署应用程序、创建租约、管理部署,并通过类型化工具直接与其他 Akash 服务交互。它实现了模型上下文协议,使其兼容多种 AI 平台和工具。 - : 处理 Akash 钱包认证和客户端初始化 - : 管理 Akash 证书 - : - 账户地址检索 - 部署创建、查询、更新和终止 - SDL(堆栈定义语言)操作 - 投标管理 - 租约创建 - 清单部署 - 节点。

概述(AI 翻译)

Akash MCP 服务器 是 TypeScript 实现的模型上下文协议(MCP)服务器,用于与 Akash 网络交互。

注释

该项目仍在开发中,并非所有工具都可用。我们正在添加更多工具并改进服务器。 我们欢迎捐助!详情请参见 CONTRIBUTING.md。

概述

该服务器为 AI 代理与 Akash 网络之间提供了桥梁,使 AI 模型能够部署应用程序、创建租约、管理部署,并通过类型化工具直接与其他 Akash 服务交互。它实现了模型上下文协议,使其兼容多种 AI 平台和工具。

特色

  • 钱包与客户端管理:处理Akash钱包认证和客户端初始化
  • 证书管理:管理Akash证书
  • Akash交互工具:
  • 账户地址检索
  • 部署创建、查询、更新和终止
  • SDL(堆栈定义语言)操作
  • 投标管理
  • 租约创建
  • 清单部署

先修条件

  • Node.js(v18或更高版本)

本页由 AI 翻译,技术细节请以原文为准。

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
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 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 } } } }