quanyu-1995
MCP Serverquanyu-1995public

qy framework ai

一个集成了多种大模型的 AI 框架,支持流式输出并提供 MCP 客户端和服务端扩展。

Repository Info

2
Stars
1
Forks
2
Watchers
0
Issues
Java
Language
Apache License 2.0
License

About This Server

一个集成了多种大模型的 AI 框架,支持流式输出并提供 MCP 客户端和服务端扩展。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

qy-framework-ai

结构

  • qy-framework-ai-mcp-client: 基础对话包,集成多种大模型,支持流式输出,内置MCP Client
  • qy-framework-ai-mcp-server: MCP Server扩展包
  • qy-framework-ai-example: 对话示例(含MCP Client示例)
  • qy-framework-ai-mcp-server-example: MCP Server示例

配置说明

客户端

pom文件引入

<dependencies>
    <dependency>
        <groupId>io.github.quanyu-1995</groupId>
        <artifactId>qy-framework-ai-mcp-client</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>sonatype-snapshots</id>
        <url>https://central.sonatype.com/repository/maven-snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

applicaiton.yaml配置文件参考如下:

# 端口配置
server:
  port: 8080
# qy-AI框架相关配置
quanyu:
  ai:
    # 策略: openai / ollama
    strategy: openai
    config:
      # deepseek API示例
      #      chat-url: https://api.deepseek.com/chat/completions
      #      api-key: <你的API KEY>
      #      model: deepseek-chat
      # qwen3 API示例
      chat-url: https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
      api-key: <你的API KEY>
      model: qwen3-235b-a22b
      # ollama示例
      #      chat-url: http://localhost:11434/api/chat
      #      model: qwen3:8b
    mcp:
      client:
        servers:
          server1: http://localhost:8090
# 默认缓存策略所需配置(DefaultCacheStrategy)
spring:
  data:
    redis:
      # 连接地址
      host: "localhost"
      # 端口
      port: 6379
      # 数据库
      database: 0
      # 用户名,如果有
      # username:
      # 密码,如果有
      # password:
      # 连接超时
      connect-timeout: 5s
      # 读超时
      timeout: 5s
      # Lettuce 客户端的配置
      lettuce:
        # 连接池配置
        pool:
          # 最小空闲连接
          min-idle: 0
          # 最大空闲连接
          max-idle: 8
          # 最大活跃连接
          max-active: 8
          # 从连接池获取连接 最大超时时间,小于等于0则表示不会超时
          max-wait: -1ms

服务端

pom文件引入

<dependencies>
    <dependency>
        <groupId>io.github.quanyu-1995</groupId>
        <artifactId>qy-framework-ai-mcp-server</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>sonatype-snapshots</id>
        <url>https://central.sonatype.com/repository/maven-snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

applicaiton.yaml配置文件参考如下:

# 端口配置
server:
  port: 8080

Quick Start

1

Clone the repository

git clone https://github.com/quanyu-1995/qy-framework-ai
2

Install dependencies

cd qy-framework-ai
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerquanyu-1995
Repoqy-framework-ai
LanguageJava
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation