Back to MCP directory
publicPublicdnsLocal runtime

asset-price-mcp

资产价格查询MCP服务器

article

README

🚀 资产价格 MCP 服务器(asset-price-mcp)

一个用于获取和展示当前资产价格信息的 Model Context Protocol 服务器,能实时获取多种资产(如贵金属和加密货币)价格,助力大型语言模型轻松访问并展示相关数据。

🚀 快速开始

许多代码编辑器和其他 AI 客户端使用配置文件来管理 MCP 服务器。你可以通过在配置文件中添加以下内容,来配置 asset-price-mcp 服务器。

📦 安装指南

使用 Smithery 安装

要通过 Smithery 自动安装 asset-price-mcp 以供 Claude Desktop 使用,可执行以下命令:

npx -y @smithery/cli install @mk965/asset-price-mcp --client claude

MacOS/Linux

在配置文件中添加如下内容:

{
  "mcpServers": {
    "Asset Price MCP": {
      "command": "npx",
      "args": ["-y", "asset-price-mcp"]
    }
  }
}

Windows

在配置文件中添加如下内容:

{
  "mcpServers": {
    "Asset Price MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "asset-price-mcp"]
    }
  }
}

🔨 构建

执行以下命令进行项目构建:

npm run build

🧪 测试

使用以下命令进行项目测试:

npm test

📄 许可证

此 MCP 服务器基于 MIT License 许可证。你可以自由使用、修改和分发该软件,但需遵守 MIT License 的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。

⚠️ 重要提示

asset-price-mcp 目前还处于早期开发阶段。随着开发和改进的推进,其功能和可用工具可能会发生变化并扩展。

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