Command Palette

Search for a command to run...

UnylyUnyly
Browse all

DeepSeek Sample

FreeNot checked

A Node.js + TypeScript MCP server that proxies to DeepSeek's Chat, Image, and TTS APIs for conversation, image generation, and text-to-speech.

GitHubEmbed

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)

快速开始:

  1. 安装依赖

    npm install

  2. 在项目根目录创建 .env 文件,添加:

    DEEPSEEK_API_KEY=your_deepseek_api_key

  3. 开发运行

    npm run dev

  4. 打包并运行

    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 快速启动

  1. 安装依赖

    npm install

  2. 在项目根创建 .env 文件,添加:

    DEEPSEEK_API_KEY=your_deepseek_api_key

  3. 启动后端(开发模式)

    npm run dev

  4. 启动静态服务器查看 demo

    npx http-server demo -p 8080

    然后在浏览器打开 http://localhost:8080

  5. 使用页面交互

    • Chat:输入 prompt,点击发送,页面会调用 /chat 并展示返回 JSON
    • Image:输入 prompt,点击生成,页面会预览返回的图片 URL 或 base64
    • TTS:输入文本,点击播放,页面会播放返回的音频

注意事项:

  • 若没有合法的 DEEPSEEK_API_KEY,后端会将请求转发到占位接口并返回错误。建议先在本地使用 Mock 数据调试页面交互。
  • 如果你准备将此项目用于申请 Xiaomi MiMo 或其他平台激励,建议将仓库保持为私有,并在申请材料中附上 demo 链接(或录制的演示视频)以保护源码。

from github.com/aberry-h/mcp

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/mcp

FAQ

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

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