Back to MCP directory
publicPublicdnsLocal runtime

spring-boot-bitcoin-mcp-server-2025

一个基于Spring Boot/AI的比特币价格追踪MCP服务,通过CoinGecko API获取数据,支持与Claude Desktop集成

article

README

🚀 比特币 MCP 服务器

这是一个使用 Spring Boot/AI 构建的示范性 MCP 服务器。其主要功能是跟踪比特币价格,通过 CoinGecko APIs(api.coingecko.com/api/v3)来获取相关数据。

⚠️ 重要提示

BitcoinServiceClient 类中的实现由 Claude 3.7 Sonnet 自动生成

🚀 快速开始

✅ 先决条件

  • Java 17 或更高版本
  • Maven 3.6 或更高版本
  • 安装了 Claude Desktop 并且拥有 Claude 账户

🛠️ 构建

要与 Claude Desktop 集成,需要构建一个 jar 文件,可使用以下命令:

./gradlew clean build -x test

🔗 Claude Desktop 集成

要与 Claude Desktop 集成,请将以下配置添加到您的 Claude Desktop 设置中:

{
  "mcpServers": {
    "bitcoin-mcp-server": {
      "command": "java",
      "args": [
        "-jar",
        "/absolute/path/to/bitcoin-mcp-server-0.0.1-SNAPSHOT.jar"
      ]
    }
  }
}

📚 详细文档

🔗 额外资源

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