MCP.so
ログイン

Template project to build MCP server using SpringBoot

@GopinathMR

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

GopinathMR

Template project to build MCP server using SpringBoot について

概要はまだありません

Template project to build MCP server using SpringBoot の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Template project to build MCP server using SpringBoot のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Template project to build MCP server using SpringBoot?

A starter template for building a Model Context Protocol (MCP) server with Spring Boot. It includes a structure that exposes features as REST endpoints for testing outside an MCP client, along with an example task feature that serves as a guideline for creating new tools and resources. Unit and integration tests are provided.

How to use Template project to build MCP server using SpringBoot?

Configure it in an MCP client (e.g., Claude Desktop) by adding a JSON entry to ~/Library/Application Support/Claude/claude_desktop_config.json with the command /usr/bin/java and arguments including the Spring profile, web application type set to none, and the path to the built JAR file.

Key features of Template project to build MCP server using SpringBoot

  • Exposes features as REST endpoints for external testing.
  • Example task feature to guide creation of new tools and resources.
  • Includes unit and integration tests for the example.
  • Built on Spring Boot, leveraging its dependency injection and configuration.

Use cases of Template project to build MCP server using SpringBoot

  • Kick-starting a new MCP server project with a standardized structure.
  • Testing MCP tools and resources locally via REST before connecting to an MCP client.
  • Learning how to implement MCP features by following the provided task example.
  • Rapidly prototyping Spring Boot–based MCP servers with ready-made test coverage.

よくある質問

1

How do I test the MCP server outside of an MCP client?

The template exposes features as REST endpoints, allowing you to test them with any HTTP client (e.g., curl, Postman) before using the server with an MCP client.

2

How do I add new tools or resources?

Use the provided `task` feature as a guideline. It includes complete implementation, unit tests, and integration tests that you can replicate for your own tools and resources.

3

What runtime dependencies are required?

The server requires a Java runtime (the configuration uses `/usr/bin/java`) and the Spring Boot framework. The built JAR file must be available at the path specified in the client configuration.

4

Does the template include tests?

Yes, both unit and integration tests are included for the example `task` feature, demonstrating how to test your own tools and resources.

5

How is the MCP server started in the client configuration?

The MCP client runs the JAR directly using the `java` command with Spring profiles and an embedded web application type set to `none` (since MCP communicates via stdio).

コメント

「開発者ツール」の他のコンテンツ