使用说明
MCP演示(DeepSeek作为客户的LLM)
如何跑步
-
配置
.env文件添加
.env在项目根目录中创建文件并添加DeepSeek api密钥:# DeepSeek DEEPSEEK_API_KEY= -
运行MCP客户端和服务器
$ pip install -r requirements.txt $ python client.py weather.py
基于DeepSeek-V3开发的MCP天气查询智能体,提供天气信息查询功能。
配置 .env 文件
添加 .env 在项目根目录中创建文件并添加DeepSeek api密钥:
# DeepSeek
DEEPSEEK_API_KEY=
运行MCP客户端和服务器
$ pip install -r requirements.txt
$ python client.py weather.py