spring-boot-shell-mcp-client-2025

A demonstration of A Spring Boot/AI MCP Client used together with Spring Shell to simulate Claude Code

GitHubスター

3

ユーザー評価

未評価

お気に入り

0

閲覧数

5

フォーク

1

イシュー

0

README
Bitcoin MCP Server

A demonstration of A Spring Boot/AI MCP Client used together with Spring Shell to simulate Claude Code (you can connect it to IntelliJ MCP Server)

Note: This sample requires a jar file of bitcoin-mcp-server

Prerequisites
  • Java 17 or later
  • Maven 3.6 or later
  • Claude Account with a usable API Key (or ChatGPT Account with a usable API Key)
Build

Clone bitcoin-mcp-server

git clone https://github.com/nlinhvu/spring-boot-bitcoin-mcp-server-2025.git

Build bitcoin-mcp-server

cd spring-boot-bitcoin-mcp-server-2025
./gradlew clean build -x test

Replace your API Key or set environment variable for your API KEY:

spring:
  ai:
    anthropic:
      api-key: {CLAUDE_API_KEY}
      chat:
        options:
          model: claude-3-7-sonnet-latest
#    openai:
#      api-key: {CHATGPT_API_KEY}
#      chat:
#        options:
#          model: gpt-4o-mini

Replace the absolute path to bitcoin-mcp-server in

spring:
  ai:
    mcp:
      client:
        stdio:
          connections:
            bitcoin-mcp-server:
              command: java
              args: -jar,/your/absolute/path/to/bitcoin-mcp-server-0.0.1-SNAPSHOT.jar

Build this shell-mcp-client service

cd ..
./gradlew clean build -x test

Run shell-mcp-client service

./gradlew bootRun
Additional Resources