MCP cover image
See in Github
2025-04-07

Trying out new MCP server feature using spring boot

1

Github Watches

0

Github Forks

1

Github Stars

Model Context Protocol (MCP) + Spring Boot Integration

🔗 Useful Links


How to Run Your Spring Boot Application with Goose

Step 1: Create JAR File

Build your Spring Boot application using:

./gradlew clean build

The JAR will be located in target/.

Step 2: Install and Set Up Goose

Follow the official Goose documentation to install and configure the AI Agent.


Running Goose with WSL (Windows Subsystem for Linux)

If you're using WSL and face issues running Goose sessions, follow these steps:

1. Create a Shell Script

Inside your WSL terminal, create a file named run-extension.sh:

nano run-extension.sh

Paste the following content:

#!/bin/bash
java -jar "FULL_PATH_OF_JAR_FILE/target/mcp_feature-0.0.1-SNAPSHOT.jar"

Replace FULL_PATH_OF_JAR_FILE with the actual path to your JAR file.

2. Ensure Java is Installed in WSL

If you encounter issues related to Java, ensure JDK is installed:

java -version

If not installed, you can install OpenJDK via:

sudo apt update
sudo apt install openjdk-21-jdk

3. Make the Script Executable

chmod +x run-extension.sh

4. Start Goose Session with Your Extension

goose session --with-extension="./run-extension.sh"

You're now ready to run your Spring Boot application integrated with MCP and the Goose AI Agent! 🧠🚀

Simple flow diagram :

Alt Text

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • metorial
  • Containerized versions of hundreds of MCP servers 📡 🧠

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

    Reviews

    3 (1)
    Avatar
    user_k0MstzyC
    2025-04-17

    I have been using mcp_Server for a while now and it's fantastic! Created by yash-a11y, it efficiently manages server-side tasks and integrates seamlessly with my projects. Highly recommended for anyone looking to streamline their server management. Check it out at https://github.com/yash-a11y/mcp_Server!