mcpField
M
Mcp Server Suivi Post

Mcp Server Suivi Post

本地服务
github.com/stephanecot开发工具157 周前更新

关于 Mcp Server Suivi Post

Mcp Server Suivi Post 是使用 Spring AI 构建的 MCP 服务示例,面向探索 MCP 服务开发的开发者。项目说明了如何构建 Docker 镜像,并在 Claude Desktop 或 VS Code 等 MCP 客户端中使用。

主要功能

  1. 01Spring AI MCP 服务示例
  2. 02Docker 镜像构建说明
  3. 03Maven 构建流程
  4. 04Claude Desktop 集成示例

适用场景

  1. 01探索使用 Spring AI 构建 MCP 服务
  2. 02从 MCP 客户端运行服务镜像

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.

alt text

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:

alt text

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。