Mcp Server Suivi Post について
Mcp Server Suivi Post は Spring AI で構築された MCP サーバーのサンプルです。MCP サーバー開発を学ぶ開発者向けで、Docker イメージを Claude Desktop や VS Code などの MCP クライアントから利用できます。
主な機能
- 01Spring AIによるMCPサーバー例
- 02Dockerイメージのビルド手順
- 03Mavenビルドの手順
- 04Claude Desktop連携例
活用シーン
- 01Spring AIでのMCPサーバー構築を学習
- 02MCPクライアントからサーバーイメージを実行
MCP 対応
互換クライアントに MCP ツールを提供します。README では Claude Desktop または VS Code から Docker イメージを実行する方法を示しています。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
このサーバーのパッケージやリモートエンドポイントはまだ取得できていません。プロジェクトの README の手順に従ってください。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
詳細
このプロジェクトは、Spring AI を使用して MCP サーバーを構築する方法を示すサンプルです。
現在は Spring AI 1.0.0-M7 を使用して構築されています。これはマイルストーン版です。正式版は数週間以内にリリースされる予定です。
前提条件
- Java 21
- Spring Boot 3.4.x
- Maven 3.x
- ビルドには Docker(または Podman などの別のコンテナエンジン)
ビルド
プロジェクトをビルドするには、次のコマンドを実行します。
mvn clean install
then, we need to build the docker image:
cd docker
build.sh or build.cmd
It will build a docker image named scottin/mcp-suivi-suivi-post with the tag latest.
Then, you can use this image in a MCP client application like Claude Desktop or VS Code 1.99+.
Integration with Claude Desktop
To use MCP servers with Claude Desktop, you need to install the MCP plugin. You can find the installation instructions here: https://modelcontextprotocol.io/quickstart/user
You have to edit the Claude Desktop configuration file claude_desktop_config.json to add the MCP server:
{
"mcpServers": {
"mcp-suivi-suivi-post": {
"command": "podman",
"args": ["run", "-i", "--rm", "scottin/mcp-suivi-suivi-post"]
}
}
}
Note: Don't forget to quit and restart Claude Desktop to apply the changes.
You will the avaibles tools, provided by the MCP servers, in the "Tools" menu of Claude Desktop.

Then, you could ask a question through the chat prompt, and the MCP server(s) will be called with the right tools to provide the answer:

コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。