Spring AI MCP Server for course management

Spring AI MCP Server for course management

spring-ai-mcp-server-moises-paschoalick•bymoises-paschoalick

A study project that builds an MCP server with Spring AI to expose tools for managing a list of courses.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Implements an MCP server using Spring AI with custom tools for managing courses.
  • •Runs as a server without a web interface, communicating over STDIO with logging patterns cleared from the console.
  • •Exposes a get_courses tool that returns the list of all available courses.
  • •Exposes a get_course tool that looks up a specific course by title.

BEST FOR

  • •Learning how to create custom tools with Spring AI and expose them via the MCP protocol.
  • •Understanding how to configure an MCP server without a web interface using STDIO transport.
  • •Studying a minimal functional MCP server structure built with Java and Spring Boot.

ABOUT SPRING-AI-MCP-SERVER-MOISES-PASCHOALICK

Spring AI MCP Server for course management is cataloged as an MCP server attributed to moises-paschoalick. A study project that builds an MCP server with Spring AI to expose tools for managing a list of courses. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Spring AI MCP Server for course management are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tools does the server expose?

It provides dv_get_courses to list all available courses and dv_get_course to retrieve a specific course by title.

How does the server communicate with clients?

It communicates over standard input/output via STDIO transport, with no web interface enabled.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 173874f6abde · 采集于 2026-11-13 10:44:32 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Spring AI MCP Server - Projeto de Estudo

Este é um projeto de estudo excelente para aprender como criar um MCP (Model Context Protocol) Server usando Spring AI. O projeto foi desenvolvido seguindo o curso do Dan Vega e demonstra como integrar ferramentas customizadas com modelos de IA através do protocolo MCP.

🎯 Sobre o Projeto

Este projeto implementa um servidor MCP simples que expõe ferramentas para gerenciar cursos. É um exemplo prático de como:

  • Criar um servidor MCP usando Spring AI
  • Definir ferramentas (tools) customizadas
  • Integrar com modelos de IA através do protocolo MCP
  • Configurar um servidor sem interface web (STDIO transport)

🏗️ Arquitetura do Projeto

Estrutura de Arquivos

src/main/java/com/gotocode/courses/
├── CoursesApplication.java    # Classe principal da aplicação
├── CourseService.java         # Serviço com as ferramentas MCP
└── Course.java               # Modelo de dados (Record)

Componentes Principais

  1. CoursesApplication: Classe principal que configura o servidor MCP
  2. CourseService: Serviço que expõe as ferramentas MCP para gerenciar cursos
  3. Course: Record que representa um curso com título e URL

🛠️ Tecnologias Utilizadas

  • Java 24
  • Spring Boot 3.4.5
  • Spring AI 1.0.0-M8
  • Maven

📋 Pré-requisitos

Antes de executar o projeto, certifique-se de ter instalado:

  • Java 24 ou superior
  • Maven 3.6+ ou superior

Verificando as Instalações

# Verificar versão do Java
java -version

# Verificar versão do Maven
mvn -version

🚀 Como Executar o Projeto

1. Clone o Repositório

git clone https://github.com/moises-paschoalick/spring-ai-mcp-server.git
cd spring-ai-mcp-server

2. Compile o Projeto

mvn clean compile

3. Execute o Servidor MCP

mvn spring-boot:run

4. Alternativa: Executar via JAR

# Compilar o JAR
mvn clean package

# Executar o JAR
java -jar target/courses-0.0.1-SNAPSHOT.jar

🔧 Configuração

O projeto está configurado para rodar como um servidor MCP através do arquivo application.properties:

spring.application.name=courses
spring.main.web-application-type=none
spring.ai.mcp.server.name=dan-vega-mcp
spring.ai.mcp.server.version=0.0.1
spring.main.banner-mode=off
logging.pattern.console=

Configurações Importantes:

  • spring.main.web-application-type=none: Desabilita o servidor HTTP
  • spring.ai.mcp.server.name: Define o nome do servidor MCP
  • spring.main.banner-mode=off: Desabilita o banner do Spring Boot
  • logging.pattern.console=: Remove logs do console para permitir STDIO transport

🛠️ Ferramentas MCP Disponíveis

O servidor expõe duas ferramentas principais:

1. dv_get_courses

  • Descrição: Obtém a lista de todos os cursos disponíveis
  • Retorno: Lista de cursos

2. dv_get_course

  • Descrição: Obtém um curso específico pelo título
  • Parâmetros: title (String) - Título do curso
  • Retorno: Curso específico ou null se não encontrado

📝 Exemplo de Uso

Estrutura de Dados

public record Course(String title, String url) {
}

Dados de Exemplo

O serviço é inicializado com alguns cursos de exemplo:

courses.addAll(List.of(
    new Course("Título do vídeo 01", "https://www.urlvideo01"),
    new Course("Título do vídeo 02", "https://www.urlvideo02")
));

🔍 Como Funciona

  1. Inicialização: O servidor MCP é iniciado sem interface web
  2. Registro de Ferramentas: O CourseService é registrado como ferramentas MCP
  3. Comunicação STDIO: O servidor se comunica via entrada/saída padrão
  4. Integração com IA: Modelos de IA podem usar as ferramentas através do protocolo MCP

🎓 Aprendizados do Projeto

Este projeto demonstra:

  • Como criar ferramentas customizadas com Spring AI
  • Configuração de servidor MCP sem interface web
  • Uso de anotações @Tool para expor métodos como ferramentas
  • Integração com protocolo MCP para comunicação com modelos de IA
  • Estrutura básica de um servidor MCP funcional

🤝 Contribuindo

Este é um projeto de estudo, mas contribuições são bem-vindas! Para contribuir:

  1. Faça um fork do projeto
  2. Crie uma branch para sua feature (git checkout -b feature/AmazingFeature)
  3. Commit suas mudanças (git commit -m 'Add some AmazingFeature')
  4. Push para a branch (git push origin feature/AmazingFeature)
  5. Abra um Pull Request

📚 Recursos Adicionais

📄 Licença

Este projeto está sob a licença MIT. Veja o arquivo LICENSE para mais detalhes.


Desenvolvido como projeto de estudo baseado no curso do Dan Vega 🚀

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Spring AI MCP Server for course management from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/spring-ai-mcp-server-moises-paschoalick)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent