mcp-deepseek-demo
11
The MCP DeepSeek Demonstration Project is an application for interacting with the DeepSeek AI model using the Model Context Protocol (MCP). It features a real-time chat interface and supports tool invocation through a modern UI with responsive design.
Overview
The MCP DeepSeek Demonstration Project is a client application based on the Model Context Protocol (MCP) designed to interact with the DeepSeek AI model. It demonstrates integrating the MCP protocol with the DeepSeek API to enable tool invocation and real-time communication.
Features
- Modern Chinese user interface
- Real-time chat interaction with AI assistant
- Supports various tool calls like product inquiry and inventory management
- Real-time communication based on Server-Sent Events (SSE)
- Automatic reconnection mechanism
- Responsive design adaptable to different devices
Getting Started
Prerequisites
- Node.js 16+ and npm/yarn/pnpm
- DeepSeek API Key
Installation
- Clone the repository and navigate to the directory
- Install dependencies
- Configure environment variables
Starting the Service
Start the MCP SSE server and client application using the specified commands, and access via the browser.
Usage Guide
- Connect to Server: The client will attempt to connect to the MCP server upon application startup. Connection status is displayed at the top of the page.
- Chat with AI Assistant: Enter and send messages in the chat input box. The AI assistant will analyze and respond to your requests.
- Use Tools: Available tools are shown in the left panel. Instruct the AI to use specific tools directly via chat.