K1

kvr-10/mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

0 stars 0 forks 품질 37 트렌드 8

This repository contains an example of a Java server implementing the Model Context Protocol (MCP). It includes a basic shopping list example.

개요

This repository contains an example of a Java server implementing the Model Context Protocol (MCP). It includes a basic shopping list example. - src/main/java: Contains the main Java source code. - src/main/resources: Contains application resources like properties files. - model-context-protocol/weather/starter-stdio-server: Seems to be related to a weather MCP server example. Open your terminal in the project's root directory and run: (Or mvn spring-boot:run if you don't have the Maven wrapper, or use your IDE's run command). You should see some Spring Boot startup logs (which will be minimal on the console due to our application.properties settings). If there are no major errors, your MCP server is running and waiting for an MCP client to connect via STDIO.

README

Java MCP Server Example

This repository contains an example of a Java server implementing the Model Context Protocol (MCP). It includes a basic shopping list example.

Project Structure

  • src/main/java: Contains the main Java source code.
  • src/main/resources: Contains application resources like properties files.
  • model-context-protocol/weather/starter-stdio-server: Seems to be related to a weather MCP server example.

Getting Started

Open your terminal in the project’s root directory and run:

./mvnw spring-boot:run

(Or mvn spring-boot:run if you don’t have the Maven wrapper, or use your IDE’s run command).

You should see some Spring Boot startup logs (which will be minimal on the console due to our application.properties settings). If there are no major errors, your MCP server is running and waiting for an MCP client to connect via STDIO.

GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →