Files
higress/plugins/wasm-go/mcp-servers/mcp-fund-data-query/mcp-server.yaml
2025-04-16 14:48:53 +08:00

488 lines
12 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server:
name: fund-data-query
config:
appCode: ""
tools:
- name: fund-list
description: 在售基金列表
args:
- name: limit
description: 分页条数
type: string
position: query
- name: page
description: 分页页码
type: string
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundList
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
## Original Response
- name: fund-guzhi
description: 基金估值数据
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundGuzhi
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
## Original Response
- name: fund-notice
description: 基金公告数据
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
- name: limit
description: 分页条数
type: string
position: query
- name: page
description: 分页页码
type: string
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundNotice
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
## Original Response
- name: fund-bonus
description: 基金分红送配
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundBonus
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
## Original Response
- name: fund-manager-history
description: 基金历任经理数据查询
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/getFundManagerHistory
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
## Original Response
- name: fund-history
description: 基金历史净值
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
- name: period
description: 取值说明取值1近一个月取值2近3个月取值3近6个月取值4近一年取值5近三年取值6近五年取值7今年以来取值8成立以来
type: string
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundHistory
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
## Original Response
- name: fund-detail
description: 基金基础数据查询
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/getFundDetail
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
## Original Response
- name: fund-hold
description: 基金持仓数据
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
- name: reportDate
description: 公告日期格式为2020-06-30,2020-03-31不传则默认最新
type: string
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundHold
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
## Original Response
- name: fund-rank
description: 基金收益排名
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundRank
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
## Original Response
- name: fund-manager
description: 基金基础数据查询
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/getFundManager
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
## Original Response
- name: fund-asset
description: 基金规模变化
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
- name: limit
description: 分页条数
type: string
position: query
- name: page
description: 分页页码
type: string
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundAsset
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
## Original Response
- name: fund-rate
description: 基金费率数据
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundRate
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
## Original Response
- name: fund-yield
description: 查询近三个月的历史数据
args:
- name: fundcode
description: 基金代码
type: string
required: true
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/queryFundYield
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
## Original Response
- name: fund-new
description: 新发基金列表
args:
- name: limit
description: 分页条数
type: string
position: query
- name: page
description: 分页页码
type: string
position: query
- name: saleStatus
description: 销售状态true为可售false为不可售
type: string
position: query
requestTemplate:
url: https://fund.market.alicloudapi.com/fundNew
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
## Original Response