Akash MCP Server

Apache 2.0
  • Apple

Integrations

  • Mentioned as a community platform for the Akash Network, with a badge linking to Discord for user support.

  • Used for repository hosting and integration with awesome-akash repository to retrieve SDL templates.

  • Required as a runtime environment for the MCP server, with version 18 or later needed to run the application.

Akash MCP 服务器

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

笔记

该项目仍在开发中,部分工具尚未开放。我们正在努力添加更多工具并改进服务器。我们欢迎大家贡献代码!更多详情请参阅CONTRIBUTING.md

概述

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

特征

  • 钱包和客户端管理:处理 Akash 钱包身份验证和客户端初始化
  • 证书管理:管理 Akash 证书
  • Akash 交互工具
    • 账户地址检索
    • 部署创建和管理
    • SDL(堆栈定义语言)操作
    • 投标管理
    • 租赁创建
    • 清单部署

先决条件

  • Node.js(v18 或更高版本)
  • Akash 钱包(与 Akash 网络交互所需的助记词)
  • Akash 网络基础知识

安装

  1. 克隆存储库:
    git clone https://github.com/akash-network/mcp.git cd mcp
  2. 安装依赖项:
    npm install
  3. 构建项目:
    npm run build

与 Claude Desktop 或 Cursor 一起使用

将以下内容添加到你的claude_desktop_config.json.cursor/mcp.json中。更多详情请参见此处

确保将<path to dist/index.js>替换为您构建的dist/index.js文件的路径。

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

用法

开发模式

使用 MCP 检查器运行服务器进行开发:

npm run dev

对于开发期间的监视模式:

npm run dev:watch

将服务器与 AI 模型一起使用

该服务器公开了一个标准的 MCP 接口,可供 AI 模型与 Akash 网络交互。它默认使用 stdio 传输,使其与大多数 MCP 客户端兼容。

可用工具

服务器为AI代理提供以下工具:

  • GetAccountAddrTool :检索您的 Akash 帐户地址
  • GetBidsTool :获取部署出价
  • CreateDeploymentTool :在 Akash 网络上创建新的部署
  • GetSDLsTool :获取可用 SDL 列表(来自 awesome-akash 存储库)
  • GetSDLTool :通过名称获取特定的 SDL
  • SendManifestTool :向提供商发送清单
  • CreateLeaseTool :与提供商创建租约
  • GetServicesTool :获取有关活动服务的信息

发展

代码检查和格式化

# Run linter npm run lint # Fix linting issues npm run lint:fix # Format code npm run format

执照

查看许可证

致谢

-
security - not tested
A
license - permissive license
-
quality - not tested

实现模型上下文协议的 TypeScript 服务器使 AI 代理能够与 Akash 网络交互,从而允许它们部署应用程序、创建租约、管理部署以及通过类型化工具访问其他 Akash 服务。

  1. Note
    1. Overview
      1. Features
        1. Prerequisites
          1. Installation
            1. Usage with Claude Desktop or Cursor
              1. Usage
                1. Development Mode
                2. Using the Server with AI Models
              2. Available Tools
                1. Development
                  1. Linting and Formatting
                2. License
                  1. Acknowledgements

                    Related MCP Servers

                    • -
                      security
                      A
                      license
                      -
                      quality
                      A TypeScript implementation of a Model Context Protocol server that provides a frictionless framework for developers to build and deploy AI tools and prompts, focusing on developer experience with zero boilerplate and automatic tool registration.
                      Last updated -
                      6
                      TypeScript
                      MIT License
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A TypeScript server that enhances AI assistants' capabilities when working with Starwind UI components, providing tools for project initialization, component installation, documentation access, and more.
                      Last updated -
                      6
                      15
                      TypeScript
                      MIT License
                    • A
                      security
                      A
                      license
                      A
                      quality
                      A TypeScript-based Model Context Protocol toolkit that enables AI to interact with code files, manage translations, build projects, and search for files and code content.
                      Last updated -
                      33
                      40
                      5
                      TypeScript
                      MIT License
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A TypeScript template for creating Model Context Protocol servers that enable AI models to utilize external tools, including example operations and simple number addition functionality.
                      Last updated -
                      2
                      TypeScript

                    View all related MCP servers

                    ID: rm6yvliy15