# localagent **Repository Path**: wujiang-j/localagent ## Basic Information - **Project Name**: localagent - **Description**: 创建本地agent - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-26 - **Last Updated**: 2026-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Spring AI Local Agent - 彩票助手 大乐透 / 双色球信息录入数据库,通过 MCP stdio 模式集成 AI 工具调用。 ## 项目结构 | 模块 | 说明 | |------|------| | `lottery-mcp-server` | MCP Server,以 stdio 模式提供工具(机选、购买、查询订单) | | `localagenthost` | Spring AI 主应用(8080 端口),通过 stdio 连接 MCP Server | | `qianduan` | 前端(Vue.js) | ## 启动方式 ### 1. 打包 MCP Server ```bash cd lottery-mcp-server mvn clean package -DskipTests ``` ### 2. 启动 Spring AI 应用(stdio 模式) 应用通过 `application.yml` 中的 stdio 配置自动启动 MCP Server 进程,无需手动启动独立端口服务。 ```bash cd localagenthost mvn spring-boot:run ``` 应用启动后访问 http://localhost:8080 ### 3. 启动前端 ```bash cd qianduan npm install npm run dev ``` ## 技术栈 - Spring AI 1.0.0(MCP stdio 连接) - Spring Boot - MyBatis-Plus + MySQL - Vue.js + Element Plus