DeepSeek Sample
FreeNot checkedA Node.js + TypeScript MCP server that proxies to DeepSeek's Chat, Image, and TTS APIs for conversation, image generation, and text-to-speech.
About
A Node.js + TypeScript MCP server that proxies to DeepSeek's Chat, Image, and TTS APIs for conversation, image generation, and text-to-speech.
README
这是一个 Node.js + TypeScript 的 MCP (simple server) 示例项目,演示如何调用 DeepSeek 平台的 Chat、Image、TTS 接口。
主要内容:
- /chat: 聊天接口代理(POST)
- /image: 图片生成接口代理(POST)
- /tts: 文本转语音接口代理(POST)
快速开始:
安装依赖
npm install
在项目根目录创建 .env 文件,添加:
DEEPSEEK_API_KEY=your_deepseek_api_key
开发运行
npm run dev
打包并运行
npm run build npm start
示例请求:
curl -X POST http://localhost:3000/chat -H 'Content-Type: application/json' -d '{"prompt":"Hello DeepSeek"}'
注意:本项目使用的 API URL 为占位符(api.deepseek.example)。请根据实际 DeepSeek 文档调整接口路径与参数。
Demo 快速启动
安装依赖
npm install
在项目根创建 .env 文件,添加:
DEEPSEEK_API_KEY=your_deepseek_api_key
启动后端(开发模式)
npm run dev
启动静态服务器查看 demo
npx http-server demo -p 8080
然后在浏览器打开 http://localhost:8080
使用页面交互
- Chat:输入 prompt,点击发送,页面会调用 /chat 并展示返回 JSON
- Image:输入 prompt,点击生成,页面会预览返回的图片 URL 或 base64
- TTS:输入文本,点击播放,页面会播放返回的音频
注意事项:
- 若没有合法的 DEEPSEEK_API_KEY,后端会将请求转发到占位接口并返回错误。建议先在本地使用 Mock 数据调试页面交互。
- 如果你准备将此项目用于申请 Xiaomi MiMo 或其他平台激励,建议将仓库保持为私有,并在申请材料中附上 demo 链接(或录制的演示视频)以保护源码。
Installing DeepSeek Sample
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/aberry-h/mcpFAQ
Is DeepSeek Sample MCP free?
Yes, DeepSeek Sample MCP is free — one-click install via Unyly at no cost.
Does DeepSeek Sample need an API key?
No, DeepSeek Sample runs without API keys or environment variables.
Is DeepSeek Sample hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install DeepSeek Sample in Claude Desktop, Claude Code or Cursor?
Open DeepSeek Sample on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Compare DeepSeek Sample with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
