✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

智能客服示例

这是一个基于MCP框架的智能客服系统示例项目,用于演示如何构建和部署智能客服应用。

文档:https://mp.weixin.qq.com/s/gz3ZL_3XD8sfxustNQvK2g

功能特点

  • 智能问答服务
  • 人工客服转接
  • 订单信息查询
  • 产品知识库管理

系统要求

  • Python >= 3.10
  • MCP框架 >= 1.6.0

安装

  1. 创建并激活虚拟环境(推荐):
uv venv 
source .venv/bin/activate  # Linux/macOS
  1. 安装依赖:
uv pip install .

使用方法

  1. 使用inspector:
npx @modelcontextprotocol/inspector uv --directory /opt/apps/python_project/SmartCustomerSupportMCP run mcp-smart-customer-support
  1. 使用Vscode或Claude等桌面应用
{
  "mcpServers": {
    "SmartCustomerSupportMCP": {
    "command": "uv",
    "args": [
      "--directory", 
    "/opt/apps/python_project/SmartCustomerSupportMCP",
      "run",
      "mcp-smart-customer-support"
    ]}
  }
}

项目结构

src/mcp_smart_customer_support/
├── __init__.py          # 包初始化文件
├── mcp_server.py        # MCP服务器实现
├── human_customer_service.py  # 人工客服处理模块
├── order_operations.py  # 订单操作相关功能
└── product_knowledge.py # 产品知识库管理

作者

ggguo (admin@precariat.tech)

许可证

本项目采用MIT许可证。

Featured Templates

View More
Verified Icon
AI Assistants
Speech to Text
137 1880
AI Assistants
Image to text with Claude 3
151 1364
AI Engineering
Python Bug Fixer
119 1430
AI Assistants
Talk with Claude 3
158 1521
AI Agents
AI Video Generator
250 2006 5.0

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.