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,44 @@
# Zodiac Analysis
The APP Code required for API authentication can be applied for on the Alibaba Cloud API Marketplace: https://market.aliyun.com/apimarket/detail/cmapi011529
# Zodiac Analysis Server Function Introduction Document
This document aims to provide a detailed explanation of the Zodiac Analysis server and its tools, helping users better understand their functions and application scenarios.
## Function Overview
The Zodiac Analysis server is a service platform specifically designed for querying zodiac horoscopes. It can return corresponding horoscope information based on user request parameters, such as a specific zodiac sign and the desired time range (e.g., day, week, month, or year). This service is particularly useful for those who wish to obtain personalized horoscope predictions through technical means, such as astrology enthusiasts, app developers, or website operators looking to enhance user experience.
## Tool Introduction
### Zodiac Horoscope Query
- **Purpose**: This tool allows users to query the horoscope for a specified zodiac sign over different time periods.
- **Use Cases**:
- When individual users want to know about their own or others' recent horoscope trends;
- Application developers can integrate this service to increase the interactivity and appeal of their products;
- Website administrators can embed this feature to boost visitor engagement.
- **Request Parameters**:
- `needMonth` (whether data for the current month is needed, 1 for yes)
- `needTomorrow` (whether data for tomorrow is needed, 1 for yes)
- `needWeek` (whether data for the current week is needed, 1 for yes)
- `needYear` (whether data for the current year is needed, 1 for yes)
- `star` (one of the twelve zodiac signs, required)
> Note: All parameters are located in the URL's query section.
- **API Call Example**:
- Request template URL: `https://luck141219.market.alicloudapi.com/star`
- Method: GET
- HTTP headers that need to be set include Authorization (the value is determined by the appCode in the configuration) and X-Ca-Nonce (dynamically generated).
- **Response Structure Overview**:
- Response content type: application/json
- Main fields:
- `showapi_res_body.day_notice`: Today's reminder
- `showapi_res_body.day.general_txt`: General horoscope review
- `showapi_res_body.day.love_star`: Love index (out of 5 points)
- For more details, please refer to the complete response structure description provided above.
From the above introduction, it can be seen that the Zodiac Analysis server not only provides flexible zodiac horoscope query functionality but also supports various customization options, meeting the diverse needs of both general users and professional developers.

View File

@@ -0,0 +1,55 @@
# 星座分析
API认证需要的APP Code请在阿里云API市场申请: https://market.aliyun.com/apimarket/detail/cmapi011529
## 什么是云市场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服务的可用额度如您免费试用额度已用完您可以选择重新订阅。
# Zodiac Analysis Server 功能简介文档
本文件旨在提供对Zodiac Analysis服务器及其工具的详细说明帮助用户更好地理解其功能和应用场景。
## 功能简介
Zodiac Analysis服务器是一个专为查询星座运势设计的服务平台。它能够根据用户的请求参数如特定星座以及所需的具体时间范围例如日、周、月或年来返回相应的运势信息。此服务对于那些希望通过技术手段获取个性化运势预测的人群非常有用比如占星爱好者、应用开发者或是希望增强用户体验的网站运营者等。
## 工具简介
### 星座运势查询
- **用途**:此工具允许用户查询指定星座在不同时间段内的运势情况。
- **使用场景**
- 当个人用户想要了解自己或其他人近期的运势走向时;
- 应用程序开发人员可以集成这项服务以增加他们产品的互动性和吸引力;
- 网站管理员通过嵌入该功能提升访客参与度。
- **请求参数**:
- `needMonth` (是否需要本月运势的数据, 1为需要)
- `needTomorrow` (是否需要明天的数据, 1为需要)
- `needWeek` (是否需要本周运势的数据, 1为需要)
- `needYear` (是否需要本年运势的数据, 1为需要)
- `star` (十二星座之一, 必填项)
> 注意所有参数均位于URL的查询部分。
- **API调用示例**:
- 请求模板URL: `https://luck141219.market.alicloudapi.com/star`
- 方法: GET
- 需要设置的HTTP头信息包括Authorization值由配置中的appCode决定和X-Ca-Nonce动态生成
- **响应结构概览**:
- 响应内容类型: application/json
- 主要字段介绍:
- `showapi_res_body.day_notice`: 今日提醒
- `showapi_res_body.day.general_txt`: 运势简评
- `showapi_res_body.day.love_star`: 爱情指数满分5分
- 更多详情请参考上方提供的完整响应结构描述。
通过上述介绍可以看出Zodiac Analysis服务器不仅提供了灵活的星座运势查询功能而且支持多种定制化选项满足了从普通用户到专业开发者的多样化需求。

View File

@@ -0,0 +1,196 @@
{
"info": {
"description": "本数据包含十二星座的每日运势,明日运势,每周运势,当年运势以及星座配对。具体包括缘份星座、吉利颜色、幸运数字、爱情提醒、运势简评、爱情运势、工作运势、财富运势、健康运势、情欲分析等。可用于微信公众号、小程序、网站等引流及增加与用户的联系等场景。",
"title": "【万维易源】星座运势-每日星座查询-星座分析-占星预测-每周运势-星座配对",
"version": "1.0.0"
},
"openapi": "3.0.1",
"paths": {
"/star": {
"get": {
"operationId": "星座运势查询",
"summary": "星座运势查询",
"parameters": [
{
"description": "是否需要本月运势的数据1为需要其他不需要",
"example": "0",
"in": "query",
"name": "needMonth",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "十二星座,其值分别为 baiyang jinniu shuangzi juxie shizi chunv tiancheng tianxie sheshou mojie shuiping shuangyu",
"example": "baiyang",
"in": "query",
"name": "star",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "是否需要本周运势的数据1为需要其他不需要",
"example": "0",
"in": "query",
"name": "needWeek",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "是否需要明天的数据1为需要其他不需要",
"example": "0",
"in": "query",
"name": "needTomorrow",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "是否需要本年运势的数据1为需要其他不需要",
"example": "0",
"in": "query",
"name": "needYear",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"showapi_res_code": {
"type": "integer",
"description": "响应状态码",
"example": 0
},
"showapi_res_error": {
"type": "string",
"description": "错误信息",
"example": ""
},
"showapi_res_body": {
"type": "object",
"properties": {
"ret_code": {
"type": "integer",
"description": "返回码",
"example": 0
},
"star": {
"type": "string",
"description": "星座",
"example": "shizi"
},
"day": {
"type": "object",
"properties": {
"love_txt": {
"type": "string",
"description": "爱情运势",
"example": "单身者多注意自己的穿着打扮,可提升异性缘;恋爱中的人有机会拜见双方父母。"
},
"work_txt": {
"type": "string",
"description": "工作运势",
"example": "重复、乏味的工作会让你显得无精打采,事业中需要新挑战或新事物进行调剂。"
},
"work_star": {
"type": "integer",
"description": "工作指数最高5分",
"example": 3
},
"money_star": {
"type": "integer",
"description": "财富指数最高5分",
"example": 2
},
"lucky_color": {
"type": "string",
"description": "吉色",
"example": "草根白"
},
"lucky_time": {
"type": "string",
"description": "吉时",
"example": "下午5:00--6:00"
},
"love_star": {
"type": "integer",
"description": "爱情指数最高5分",
"example": 4
},
"lucky_direction": {
"type": "string",
"description": "吉利方位",
"example": "正西方"
},
"summary_star": {
"type": "integer",
"description": "综合指数最高5分",
"example": 3
},
"time": {
"type": "string",
"description": "时间",
"example": "20161011"
},
"money_txt": {
"type": "string",
"description": "财富运势",
"example": "财气不稳定,外力干扰多,不利于投资买卖。有金钱耗损的迹象,趁今日去吃吃喝喝,把钱花在享受上吧!"
},
"general_txt": {
"type": "string",
"description": "运势简评",
"example": "单身者与性情直率的人颇合得来,而恋爱中的人则在小打小闹中增进了彼此的情谊。切莫因喜好而盲目消费,今天财运犯小人,谨慎为妙。越是忙碌反而越觉得空虚,人也变得有些焦躁,找家人聊聊,可解除烦恼。"
},
"grxz": {
"type": "string",
"description": "贵人星座",
"example": "天蝎座"
},
"lucky_num": {
"type": "string",
"description": "幸运数字",
"example": "8"
},
"day_notice": {
"type": "string",
"description": "今日提醒",
"example": "工作情绪起伏不断。"
}
}
},
"day_notice": {
"type": "string",
"example": "aa"
}
}
}
}
}
}
},
"description": "成功响应"
}
}
}
}
},
"servers": [
{
"url": "https://luck141219.market.alicloudapi.com"
}
]
}

View File

@@ -0,0 +1,75 @@
server:
name: zodiac-analysis
config:
appCode: ""
tools:
- name: zodiac-analysis
description: 星座运势查询
args:
- name: needMonth
description: 是否需要本月运势的数据1为需要其他不需要
type: string
position: query
- name: needTomorrow
description: 是否需要明天的数据1为需要其他不需要
type: string
position: query
- name: needWeek
description: 是否需要本周运势的数据1为需要其他不需要
type: string
position: query
- name: needYear
description: 是否需要本年运势的数据1为需要其他不需要
type: string
position: query
- name: star
description: 十二星座,其值分别为 baiyang jinniu shuangzi juxie shizi chunv tiancheng tianxie sheshou mojie shuiping shuangyu
type: string
required: true
position: query
requestTemplate:
url: https://luck141219.market.alicloudapi.com/star
method: GET
headers:
- 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
- **showapi_res_body**: (Type: object)
- **showapi_res_body.day**: (Type: object)
- **showapi_res_body.day.day_notice**: 今日提醒 (Type: string)
- **showapi_res_body.day.general_txt**: 运势简评 (Type: string)
- **showapi_res_body.day.grxz**: 贵人星座 (Type: string)
- **showapi_res_body.day.love_star**: 爱情指数最高5分 (Type: integer)
- **showapi_res_body.day.love_txt**: 爱情运势 (Type: string)
- **showapi_res_body.day.lucky_color**: 吉色 (Type: string)
- **showapi_res_body.day.lucky_direction**: 吉利方位 (Type: string)
- **showapi_res_body.day.lucky_num**: 幸运数字 (Type: string)
- **showapi_res_body.day.lucky_time**: 吉时 (Type: string)
- **showapi_res_body.day.money_star**: 财富指数最高5分 (Type: integer)
- **showapi_res_body.day.money_txt**: 财富运势 (Type: string)
- **showapi_res_body.day.summary_star**: 综合指数最高5分 (Type: integer)
- **showapi_res_body.day.time**: 时间 (Type: string)
- **showapi_res_body.day.work_star**: 工作指数最高5分 (Type: integer)
- **showapi_res_body.day.work_txt**: 工作运势 (Type: string)
- **showapi_res_body.day_notice**: (Type: string)
- **showapi_res_body.ret_code**: 返回码 (Type: integer)
- **showapi_res_body.star**: 星座 (Type: string)
- **showapi_res_code**: 响应状态码 (Type: integer)
- **showapi_res_error**: 错误信息 (Type: string)
## Original Response