Quarkus MCP 基础工具服务器
一个基于 Quarkus 的基础 MCP 工具服务器,支持 CLI 执行和配置。
快速入门
-
克隆本仓库: git clone https://github.com/burrsutter/quarkus-mcp-server-basic-tool
-
使用 Maven 打包应用: ./mvnw install
-
安装 jbang(用于 CLI 执行): brew install jbang
-
配置 mcp-cli 工具:
- 克隆 mcp-cli 仓库:git clone https://github.com/chrishayuk/mcp-cli
- 安装 uv 工具:brew install uv
- 进入目录并同步依赖:cd mcp-cli && uv sync --reinstall
-
设置 OPENAI_API_KEY 环境变量: export OPENAI_API_KEY=your_api_key
-
编辑 server_config.json 文件,添加运行命令。
-
启动服务: uv run mcp-cli --server burrhello --provider openai --model gpt-4o-mini