MCP ExplorerExplorer

Spring Ai Mcp Deepseek

@firefly0512on 9 months ago
7 MIT
FreeCommunity
AI Systems
# Integrating MCP Services with Spring AI This project integrates MCP services, including the MCP server and the deepseek client, using Spring AI.

Overview

What is Spring Ai Mcp Deepseek

spring-ai-mcp-deepseek is a project that integrates MCP services using Spring AI, including both MCP server and deepseek client functionalities.

Use cases

Use cases include building AI-driven applications, enhancing data analysis capabilities, and developing tools that leverage MCP services for improved performance.

How to use

To use spring-ai-mcp-deepseek, configure the application.properties file in the mcp-client module with your Deepseek API key in JSON format.

Key features

Key features include seamless integration with MCP services, support for Deepseek client functionalities, and easy configuration through application properties.

Where to use

spring-ai-mcp-deepseek can be used in various fields such as artificial intelligence, data processing, and application development that require integration with MCP services.

Content

说明

使用 Spring AI 1.0.0 整合 MCP 服务,包括 MCP server 和 deepseek AI client

1、mcp-client 和 call-mcp 模块中的 application.properties 配置文件:

spring.ai.openai.api-key=你的deepseek api key

2、mcp-servers-config.json 中的部分 key 信息补充完善

MCP 服务端

启动 mcp-server 模块,端口 8085

http://localhost:8085/sse

MCP 客户端

★ 文本客户端:

启动 mcp-client 模块,端口 8082

示例:http://localhost:8082/api/chat?message=今日杭州天气

img1.png

示例:http://localhost:8082/chat?message=今日杭州天气

img2.png

★ 页面客户端(call + stream), MCP tool 主动控制调用

启动 mcp-tool-client 模块,端口 8083

访问入口:http://localhost:8083/

img3.png

说明:右侧展示了当前 client 客户端注册的 MCP 工具列表。

img4.png

img5.png

工具调用的效果,格式化如下:

img_3.png

img_1.png

img_2.png

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers