Back to MCP directory
publicPublicdnsLocal runtime

osmosis-agent-toolkit

Osmosis代理工具包是一个用于与Osmosis协议交互的开发工具集合,包含核心功能、AI SDK集成和MCP服务器实现。

article

README

🚀 渗透作用代理工具包

渗透作用代理工具包包含一系列用于构建 Osmosis 代理工具的软件包,借助这些工具,大型语言模型 (LLMs) 能够与 Osmosis 协议实现交互,为相关应用开发提供便利。

🚀 快速开始

安装依赖

使用 yarn 或 bun 安装依赖:

bun i

启动本地开发环境

bun run dev

构建

bun run build

✨ 主要特性

此工具包涵盖多个软件包,各有其独特功能:

@osmosis-agent-toolkit/core

核心软件包,提供其他软件包所需的基础功能,包括定义 registry 数据、查询客户端,以及处理签名和广播逻辑。

@osmosis-agent-toolkit/ai-sdk

实现了 Vercel 的 AI SDK 在 Osmosis 代理工具包中的集成。

@osmosis-agent-toolkit/mcp

实现了模型上下文协议 (MCP) 服务器在 Osmosis 代理工具包中的功能。

使用 Claude Desktop 或 Cursor

若要使用 Claude Desktop 或 Cursor,可将以下内容添加到你的 claude_desktop_config.json.cursor/mcp.json 中。更多信息请参考 这里

{
    "mcpServers": {
        "Osmosis": {
            "command": "npx",
            "args": [
                "-y",
                "@osmosis-agent-toolkit/mcp"
            ],
            "env": {
                "OSMOSIS_MNEMONIC": "<your mnemonic here>"
            }
        }
    }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client