
MCP Server for Deepseek Integration
This repository contains a Model Control Protocol (MCP) server implementation that allows Claude Desktop to use Deepseek models running in Docker.
Copy & paste โ that's it
pip install -r requirements.txtBefore it works, you'll need: DEEPSEEK_API_KEY
Prerequisites
- Docker
- Python 3.11 or later
- A Deepseek API key
- Claude Desktop
Installation
- Clone the repository:
git clone https://github.com/vincentf305/mcp-server-deepseek.git
cd mcp-server-deepseek- Install dependencies:
pip install -r requirements.txtSetup Environment Variables
Create a .env file in the root directory of the project and add the following environment variable:
DEEPSEEK_API_KEY=your_api_key_hereMake sure to replace your_api_key_here with your actual Deepseek API key.
Running the Server
Using Docker
- Build the Docker image:
docker build -t mcp_server_deepseek .- Run the container:
docker run -d \
--name mcp-server-deepseek \
-p 8765:8765 \
-e DEEPSEEK_API_KEY=your_api_key_here \
mcp-server-deepseekRunning Locally
python -m mcp_server_deepseek.serverUsage with Claude Desktop
-
Ensure you have a Deepseek API key
-
Add the following to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"deepseek-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DEEPSEEK_API_KEY",
"mcp_server_deepseek"
],
"env": {
"DEEPSEEK_API_KEY": "your_api_key_here"
}
}
}
}- Restart Claude Desktop to load the new configuration
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
License
MIT License - see the LICENSE file for details