add mcp servers (#2076)

This commit is contained in:
澄潭
2025-04-16 14:48:53 +08:00
committed by GitHub
parent 4f0834d817
commit 8cce7f5d50
150 changed files with 34544 additions and 3 deletions

View File

@@ -0,0 +1,45 @@
# Traditional Chinese Medicine Tongue Diagnosis
The APP Code required for API authentication can be applied for on the Alibaba Cloud API Marketplace: https://market.aliyun.com/apimarket/detail/cmapi00069588
# MCP Server Configuration Document for Traditional Chinese Medicine Tongue Diagnosis
## Overview of Features
### 1. Project Summary
- **Name**: `traditional-chinese-medicine-tongue-diagnosis`
- **Main Function**: Provides AI-based traditional Chinese medicine tongue image recognition, constitution detection, and health advice services.
- **Application Scenarios**: Suitable for user groups who wish to obtain personal health status assessments through non-invasive means. It is particularly suitable for individuals who are concerned about their health but are unwilling or unable to go to a hospital for a comprehensive check-up.
### 2. Key Features
- Supports automatic analysis of user's constitutional features based on uploaded tongue photos.
- Provides detailed interpretation of diagnostic results, including but not limited to acupoint treatment recommendations, lifestyle adjustment guidance, etc.
- Offers dietary therapy recommendations tailored to different constitutions.
- User-friendly interface design, easy to integrate into existing applications.
## Tool Introduction
In this MCP server configuration, a core tool named "AI Tongue Diagnosis - Tongue Image Recognition - Constitution Detection - Health Report" is defined, which handles all requests related to traditional Chinese medicine tongue diagnosis.
### AI Tongue Diagnosis - Tongue Image Recognition - Constitution Detection - Health Report
- **Description**: This tool can receive personal information and the URL of a tongue image provided by the user, and after AI algorithm analysis, it returns a detailed health report.
- **Input Parameters**:
- `customerAge` (Customer Age): Required, integer type, used to more accurately assess health status.
- `customerSex` (Customer Gender): Required, string type, helps the system understand individual differences.
- `frontRear` (Front/Back Position Identifier): Required, string type, indicates the shooting angle.
- `situation` (Current Situation Identifier): Required, integer type, describes factors that may affect the result under special conditions.
- `tonguePic` (URL of the Tongue Picture): Required, string type, should point to a clear and visible front-facing picture of the tongue.
- **API Call Information**:
- **Request Method**: POST
- **Target URL**: https://aizong.market.alicloudapi.com/symptomDiagnose/cloudResult
- **Header Information**:
- `Content-Type`: application/json
- `Authorization`: Use the preset application code as the authentication token
- `X-Ca-Nonce`: A uniquely generated identifier to ensure the security of each request
- **Response Structure**:
- Contains an operation status code (`code`) and specific result data (`data`).
- The result data lists in detail various characteristic analyses of the user's constitution, related acupoint information, recommended food therapies, etc.
- Each item is accompanied by clear Chinese explanations, making it easy to understand and apply.
From the above introduction, it can be seen that this MCP server not only provides powerful data analysis capabilities but also places great emphasis on user experience, striving to make complex medical knowledge accessible and understandable.

View File

@@ -0,0 +1,56 @@
# 中医舌诊
API认证需要的APP Code请在阿里云API市场申请: https://market.aliyun.com/apimarket/detail/cmapi00069588
## 什么是云市场API MCP服务
阿里云云市场是生态伙伴的交易服务平台我们致力于为合作伙伴提供覆盖上云、商业化和售卖的全链路服务帮助客户高效获取、部署和管理优质生态产品。云市场的API服务涵盖以下几个类目应用开发、身份验证与金融、车辆交通与物流、企业服务、短信与运营商、AI应用与OCR、生活服务。
云市场API依托Higress提供MCP服务您只需在云市场完成订阅并获取AppCode通过Higress MCP Server进行配置即可无缝集成云市场API服务。
## 如何在使用云市场API MCP服务
1. 进入API详情页订阅该API。您可以优先使用免费试用。
2. 前往云市场用户控制台使用阿里云账号登陆后查看已订阅API服务的AppCode并配置到Higress MCP Server的配置中。注意在阿里云市场订阅API服务后您将获得AppCode。对于您订阅的所有API服务此AppCode是相同的您只需使用这一个AppCode即可访问所有已订阅的API服务。
3. 云市场用户控制台会实时展示已订阅的预付费API服务的可用额度如您免费试用额度已用完您可以选择重新订阅。
# 传统中医舌诊MCP服务器配置文档
## 功能简介
### 1. 项目概述
- **名称**`traditional-chinese-medicine-tongue-diagnosis`
- **主要功能**:提供基于人工智能的中医舌象识别、体质检测及健康建议服务。
- **应用场景**:适用于希望通过非侵入方式获取个人健康状况评估的用户群体。特别适合于关注自身健康状态但又不愿意或不方便前往医院进行全面检查的人士。
### 2. 关键特性
- 支持根据上传的舌头照片自动分析用户的体质特征。
- 提供详细的诊断结果解读,包括但不限于穴位治疗建议、生活习惯调整指导等。
- 针对不同体质给出相应的饮食疗法推荐。
- 用户友好型接口设计,易于集成到现有应用中。
## 工具简介
在本MCP服务器配置中定义了一个核心工具——“AI舌诊-舌象识别-体质检测-健康报告”,用于处理所有与中医舌诊相关的请求。
### AI舌诊-舌象识别-体质检测-健康报告
- **描述**该工具能够接收用户提供的个人信息及舌像图片URL经过AI算法分析后返回一份详尽的健康报告。
- **输入参数**
- `customerAge` (顾客年龄): 必填项,整数类型,用于更准确地评估健康状况。
- `customerSex` (顾客性别): 必填项,字符串类型,帮助系统理解个体差异。
- `frontRear` (前后位置标识): 必填项,字符串类型,指明拍摄角度。
- `situation` (当前情况标识): 必填项,整数类型,描述特殊条件下可能影响结果的因素。
- `tonguePic` (舌头图片的URL地址): 必填项,字符串类型,需指向一张清晰可见的舌头正面照片。
- **API调用信息**:
- **请求方法**: POST
- **目标URL**: https://aizong.market.alicloudapi.com/symptomDiagnose/cloudResult
- **头部信息**:
- `Content-Type`: application/json
- `Authorization`: 使用预设的应用代码作为认证令牌
- `X-Ca-Nonce`: 自动生成的唯一标识符以确保每次请求的安全性
- **响应结构**:
- 包含操作状态码 (`code`) 及具体的结果数据 (`data`)。
- 结果数据内详细列出了针对用户体质的各种特征分析、相关穴位信息、推荐食物疗法等内容。
- 每个条目均附有明确的中文解释说明,便于理解和应用。
通过上述介绍可以看出此MCP服务器不仅提供了强大的数据分析能力同时也非常注重用户体验力求使复杂的医学知识变得通俗易懂。

View File

@@ -0,0 +1,295 @@
{
"info": {
"description": "中医智能舌象辨证API集成舌象处理、舌象分析、智能问询、内容与产品定制等能力接口功能丰富多维数据融合分析及定制化健康方案输出生成精准个性化中医健康评估报告结合动态产品推荐功能为合作伙伴提供高附加值服务闭环助力企业优化产品服务体系。\n识图准确、舌象参数更多、症状推荐科学有效、康养方案出自经典名家、结合中西医理论等是本产品卓越非凡的根本。",
"title": "【医宗卓越版】AI舌诊-体质检测-健康报告-超强定制商业版",
"version": "1.0.0"
},
"openapi": "3.0.1",
"paths": {
"/symptomDiagnose/cloudResult": {
"post": {
"operationId": "AI舌诊-舌象识别-体质检测-健康报告",
"summary": "AI舌诊-舌象识别-体质检测-健康报告",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"tonguePic": {
"type": "string",
"description": "舌头图片的URL地址"
},
"customerSex": {
"type": "string",
"description": "顾客性别"
},
"customerAge": {
"type": "integer",
"description": "顾客年龄"
},
"frontRear": {
"type": "string",
"description": "前后位置标识"
},
"situation": {
"type": "integer",
"description": "当前情况标识"
}
},
"required": [
"tonguePic",
"customerSex",
"customerAge",
"frontRear",
"situation"
]
}
}
}
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"msg": {
"type": "string",
"description": "操作结果信息",
"example": "操作成功"
},
"code": {
"type": "integer",
"description": "操作状态码",
"example": 200
},
"data": {
"type": "object",
"properties": {
"scoring": {
"type": "string",
"description": "评分"
},
"faceTongueFeatures": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"termBroadHeading": {
"type": "string",
"description": "术语大类"
},
"terminology": {
"type": "string",
"description": "术语"
},
"feature": {
"type": "string",
"description": "特征"
},
"clinicalSignificance": {
"type": "string",
"description": "临床意义"
},
"normalStatus": {
"type": "string",
"description": "正常状态"
}
}
}
},
"diagnoseFeatures": {
"type": "array",
"items": {
"type": "object",
"properties": {
"typeName": {
"type": "string",
"description": "类型名称"
},
"skillName": {
"type": "string",
"description": "技能名称"
},
"skillEffect": {
"type": "string",
"description": "技能效果"
},
"acupointName": {
"type": "string",
"description": "穴位名称"
},
"acupointEffect": {
"type": "string",
"description": "穴位效果"
},
"medicatedFoods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"genus": {
"type": "string",
"description": "类别"
},
"foodName": {
"type": "string",
"description": "食物名称"
},
"formula": {
"type": "string",
"description": "配方"
},
"effect": {
"type": "string",
"description": "效果"
},
"prescriptionAnalysis": {
"type": "string",
"description": "处方分析"
},
"source": {
"type": "string",
"description": "来源"
},
"provenance": {
"type": "string",
"description": "出处"
},
"attention": {
"type": "string",
"description": "注意事项"
},
"usage": {
"type": "string",
"description": "使用方法"
},
"apply": {
"type": "string",
"description": "适用症状"
}
}
}
},
"living": {
"type": "string",
"description": "生活习惯"
},
"causesFormation": {
"type": "string",
"description": "形成原因"
},
"thisExplain": {
"type": "string",
"description": "解释"
},
"scoring": {
"type": "string",
"description": "评分"
}
}
}
},
"recommendSymptoms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"symptom": {
"type": "string",
"description": "症状"
},
"probility": {
"type": "string",
"description": "概率"
}
}
}
},
"physiqueFeatures": {
"type": "array",
"items": {
"type": "object",
"properties": {
"syndromeName": {
"type": "string",
"description": "体质名称"
},
"pathologyExplain": {
"type": "string",
"description": "病理解释"
},
"susceptibilityDisease": {
"type": "string",
"description": "易感疾病"
},
"syndromeExplain": {
"type": "string",
"description": "体质解释"
},
"physiologyExplain": {
"type": "string",
"description": "生理解释"
},
"scoring": {
"type": "string",
"description": "评分"
}
}
}
},
"viscera": {
"type": "array",
"items": {
"type": "object",
"properties": {
"syndromeName": {
"type": "string",
"description": "脏腑名称"
},
"pathologyExplain": {
"type": "string",
"description": "病理解释"
},
"susceptibilityDisease": {
"type": "string",
"description": "易感疾病"
},
"syndromeExplain": {
"type": "string",
"description": "脏腑解释"
},
"physiologyExplain": {
"type": "string",
"description": "生理解释"
},
"scoring": {
"type": "string",
"description": "评分"
}
}
}
}
}
}
}
}
}
},
"description": "成功响应"
}
}
}
}
},
"servers": [
{
"url": "https://aizong.market.alicloudapi.com"
}
]
}

View File

@@ -0,0 +1,108 @@
server:
name: traditional-chinese-medicine-tongue-diagnosis
config:
appCode: ""
tools:
- name: AI-tongue-diagnosis
description: AI舌诊-舌象识别-体质检测-健康报告
args:
- name: customerAge
description: 顾客年龄
type: integer
required: true
position: body
- name: customerSex
description: 顾客性别
type: string
required: true
position: body
- name: frontRear
description: 前后位置标识
type: string
required: true
position: body
- name: situation
description: 当前情况标识
type: integer
required: true
position: body
- name: tonguePic
description: 舌头图片的URL地址
type: string
required: true
position: body
requestTemplate:
url: https://aizong.market.alicloudapi.com/symptomDiagnose/cloudResult
method: POST
headers:
- key: Content-Type
value: application/json
- key: Authorization
value: APPCODE {{.config.appCode}}
- key: X-Ca-Nonce
value: '{{uuidv4}}'
responseTemplate:
prependBody: |+
# API Response Information
Below is the response from an API call. To help you understand the data, I've provided:
1. A detailed description of all fields in the response structure
2. The complete API response
## Response Structure
> Content-Type: application/json
- **code**: 操作状态码 (Type: integer)
- **data**: (Type: object)
- **data.diagnoseFeatures**: (Type: array)
- **data.diagnoseFeatures[].acupointEffect**: 穴位效果 (Type: string)
- **data.diagnoseFeatures[].acupointName**: 穴位名称 (Type: string)
- **data.diagnoseFeatures[].causesFormation**: 形成原因 (Type: string)
- **data.diagnoseFeatures[].living**: 生活习惯 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods**: (Type: array)
- **data.diagnoseFeatures[].medicatedFoods[].apply**: 适用症状 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].attention**: 注意事项 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].effect**: 效果 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].foodName**: 食物名称 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].formula**: 配方 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].genus**: 类别 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].prescriptionAnalysis**: 处方分析 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].provenance**: 出处 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].source**: 来源 (Type: string)
- **data.diagnoseFeatures[].medicatedFoods[].usage**: 使用方法 (Type: string)
- **data.diagnoseFeatures[].scoring**: 评分 (Type: string)
- **data.diagnoseFeatures[].skillEffect**: 技能效果 (Type: string)
- **data.diagnoseFeatures[].skillName**: 技能名称 (Type: string)
- **data.diagnoseFeatures[].thisExplain**: 解释 (Type: string)
- **data.diagnoseFeatures[].typeName**: 类型名称 (Type: string)
- **data.faceTongueFeatures**: (Type: array)
- **data.faceTongueFeatures[].clinicalSignificance**: 临床意义 (Type: string)
- **data.faceTongueFeatures[].feature**: 特征 (Type: string)
- **data.faceTongueFeatures[].normalStatus**: 正常状态 (Type: string)
- **data.faceTongueFeatures[].status**: (Type: string)
- **data.faceTongueFeatures[].termBroadHeading**: 术语大类 (Type: string)
- **data.faceTongueFeatures[].terminology**: 术语 (Type: string)
- **data.physiqueFeatures**: (Type: array)
- **data.physiqueFeatures[].pathologyExplain**: 病理解释 (Type: string)
- **data.physiqueFeatures[].physiologyExplain**: 生理解释 (Type: string)
- **data.physiqueFeatures[].scoring**: 评分 (Type: string)
- **data.physiqueFeatures[].susceptibilityDisease**: 易感疾病 (Type: string)
- **data.physiqueFeatures[].syndromeExplain**: 体质解释 (Type: string)
- **data.physiqueFeatures[].syndromeName**: 体质名称 (Type: string)
- **data.recommendSymptoms**: (Type: array)
- **data.recommendSymptoms[].probility**: 概率 (Type: string)
- **data.recommendSymptoms[].symptom**: 症状 (Type: string)
- **data.scoring**: 评分 (Type: string)
- **data.viscera**: (Type: array)
- **data.viscera[].pathologyExplain**: 病理解释 (Type: string)
- **data.viscera[].physiologyExplain**: 生理解释 (Type: string)
- **data.viscera[].scoring**: 评分 (Type: string)
- **data.viscera[].susceptibilityDisease**: 易感疾病 (Type: string)
- **data.viscera[].syndromeExplain**: 脏腑解释 (Type: string)
- **data.viscera[].syndromeName**: 脏腑名称 (Type: string)
- **msg**: 操作结果信息 (Type: string)
## Original Response