MCP ExplorerExplorer

Spring Boot Shell Mcp Client 2025

@nlinhvuon 10 months ago
2 MIT
FreeCommunity
AI Systems
A demonstration of A Spring Boot/AI MCP Client used together with Spring Shell to simulate Claude Code

Overview

What is Spring Boot Shell Mcp Client 2025

spring-boot-shell-mcp-client-2025 is a demonstration project that integrates Spring Boot and Spring Shell to create an MCP client, simulating interactions with Claude Code. It can connect to the Bitcoin MCP Server for various functionalities.

Use cases

Use cases include simulating AI-driven conversations, integrating AI capabilities into existing applications, and developing tools for cryptocurrency trading that leverage AI insights.

How to use

To use spring-boot-shell-mcp-client-2025, clone the bitcoin-mcp-server repository, build it, and set your API key. Then, build the shell-mcp-client service and run it using Gradle commands.

Key features

Key features include integration with Spring Shell for command-line interactions, support for Claude and ChatGPT APIs, and the ability to connect to a Bitcoin MCP Server for enhanced functionalities.

Where to use

spring-boot-shell-mcp-client-2025 can be used in software development environments, particularly for applications that require AI interactions, such as chatbots or automated trading systems.

Content

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers