EM

ezehmilton/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 30 趋势 0

MCP Course Management System is a Spring-based MCP server application that provides course management functionality with AI-powered features.

概览

MCP Course Management System is a Spring-based MCP server application that provides course management functionality with AI-powered features. This project leverages Spring AI tools to enhance the course management experience. - Course management capabilities - AI-powered tools integration using Spring AI - RESTful API endpoints for course operations The project follows a standard Spring Boot architecture: - com.chikere.mcp.config - Configuration classes - com.chikere.mcp.service - Service layer with business logic The application uses Spring AI tools through the CourseMCPServerConfig class which registers service methods annotated with @Tool to be available as AI tool callbacks. Connecting to Claude Desktop To use our MCP server with Claude Desktop, we need to register it in the Claude Desktop configuration file. On macOS, this is located at: ~/Library/Application Support/Claude/claude_desktop_config.

README

MCP Course Management Server

Overview

MCP Course Management System is a Spring-based MCP server application that provides course management functionality with AI-powered features. This project leverages Spring AI tools to enhance the course management experience.

Features

  • Course management capabilities
  • AI-powered tools integration using Spring AI
  • RESTful API endpoints for course operations

Technologies

  • Java
  • Spring Boot
  • Spring AI
  • Git

Project Structure

The project follows a standard Spring Boot architecture:

  • com.chikere.mcp.config - Configuration classes
  • com.chikere.mcp.service - Service layer with business logic

Getting Started

Prerequisites

  • Java JDK 23
  • Maven or Gradle
  • Git

Installation

  1. Clone the repository

    git clone 
    cd mcp
    
  2. Build the project

    ./mvnw clean install
    
  3. Run the application

    ./mvnw spring-boot:run
    

Configuration

The application uses Spring AI tools through the CourseMCPServerConfig class which registers service methods annotated with @Tool to be available as AI tool callbacks.

Connecting to Claude Desktop To use our MCP server with Claude Desktop, we need to register it in the Claude Desktop configuration file. On macOS, this is located at: ~/Library/Application Support/Claude/claude_desktop_config.json

Add our MCP server to the configuration:

{ "dan-vega-mcp": { "command": "/path/to/java", "args": [ "-jar", "/path/to/your/jar/courses-0.0.1-SNAPSHOT.jar" ] } }

Make sure to update the paths to match your environment:

Replace /path/to/java with the path to your Java executable

Replace /path/to/your/jar/courses-0.0.1-SNAPSHOT.jar with the path to your built JAR file

Save the configuration file and restart Claude Desktop. You should now see your MCP server listed in the Claude Desktop interface, along with the tools it provides.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →