Skip to main content
Glama

MCP + DeepSeek AI Integration Server

by CYCWEB01

MCP + DeepSeek AI 集成服务器

本项目是一个基于 Node.js 的 FastMCP 协议服务器,集成 DeepSeek AI 智能对话与代码分析能力。


功能概览

  • 🛠️ MCP 协议服务:通过 FastMCP 提供工具调用能力
  • 🤖 DeepSeek AI 工具:支持智能对话、代码诊断与重构建议

快速开始

1. 获取 DeepSeek API 密钥

  1. 访问 DeepSeek 平台
  2. 注册或登录账户,创建 API 密钥
  3. 复制 API 密钥

2. 配置环境变量

  • Windows PowerShell:
    $env:DEEPSEEK_API_KEY="your-api-key-here"
  • Windows CMD:
    set DEEPSEEK_API_KEY=your-api-key-here
  • Linux/Mac:
    export DEEPSEEK_API_KEY="your-api-key-here"

3. 安装依赖

npm install

4. 启动服务器

npm start

服务端口

  • MCP 服务: http://localhost:4001/mcp

内置 MCP 工具

1. add

  • 描述: 计算两个数字的和
  • 参数: a (数字), b (数字)
  • 返回: 结果字符串

2. deepseek_chat

  • 描述: 调用 DeepSeek AI 进行智能对话或代码分析
  • 参数
    • message (必需): 用户输入内容
    • system_prompt (可选): 系统提示词,定义AI角色
    • model (可选): 模型名称,默认 deepseek-chat
    • temperature (可选): 随机性,默认 0.7
    • max_tokens (可选): 最大生成token数,默认 1000
  • 返回: AI 回复内容

3. get_prompts

  • 描述: 获取可用的AI提示词模板
  • 参数: template (可选): 模板名称
  • 返回: 模板详情或全部列表

AI 提示词模板

frontend_architect

  • 名称: 前端架构师
  • 描述: 专业的前端代码质量优化和Vue项目重构专家
  • 内容摘要:
    • 深度扫描JavaScript和Vue代码,识别性能缺陷、可维护性问题、Vue反模式、JS坏味道
    • 自动检测Vue版本并提供版本兼容的重构方案
    • 生成完整可运行的重构代码片段

故障排查

  • 检查 DEEPSEEK_API_KEY 是否正确设置
  • 检查网络连接
  • 查看控制台日志获取详细错误信息
  • 端口冲突可修改 server.js 中端口号

技术栈

  • Node.js
  • FastMCP
  • DeepSeek AI
  • Zod
  • Axios
  • dotenv

许可证

ISC

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Node.js-based FastMCP protocol server that integrates DeepSeek AI capabilities for intelligent conversations and code analysis, providing tool invocation abilities through the MCP protocol.

  1. 功能概览
    1. 快速开始
      1. 1. 获取 DeepSeek API 密钥
      2. 2. 配置环境变量
      3. 3. 安装依赖
      4. 4. 启动服务器
    2. 服务端口
      1. 内置 MCP 工具
        1. 1. add
        2. 2. deepseek_chat
        3. 3. get_prompts
      2. AI 提示词模板
        1. frontend_architect
      3. 故障排查
        1. 技术栈
          1. 许可证

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A high-performance FastAPI server supporting Model Context Protocol (MCP) for seamless integration with Large Language Models, featuring REST, GraphQL, and WebSocket APIs, along with real-time monitoring and vector search capabilities.
              Last updated -
              9
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              Node.js server that allows searching Discourse forum posts through the Model Context Protocol (MCP), enabling AI assistants to retrieve content from Discourse forums.
              Last updated -
              564
              5
              JavaScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              A FastMCP server that enables AI agents to safely execute shell commands, run code in Python/Node.js/Go, and install packages, all packaged in Docker for secure deployment.
              Last updated -
              Python
              • Apple
            • -
              security
              A
              license
              -
              quality
              Model Context Protocol (MCP) server that provides AI assistants with advanced web research capabilities, including Google search integration, intelligent content extraction, and multi-source synthesis.
              Last updated -
              27
              2
              TypeScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/CYCWEB01/my_mcp_service'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server