GemSuite MCP:Gemini API 集成工具
专业的 Gemini API 集成,支持智能模型选择与高级文件处理,兼容所有 MCP 主机。
快速入门
安装方式
方法 1:Smithery.ai 推荐
运行以下命令安装: npx -y @smithery/cli@latest install @PV-Bhat/gemsuite-mcp --client claude
方法 2:手动安装
克隆仓库并安装依赖: git clone https://github.com/PV-Bhat/gemsuite-mcp.git cd gemsuite-mcp npm install 设置 Gemini API 密钥: echo "GEMINI_API_KEY=your_api_key_here" > .env 构建项目并启动服务: npm run build npm start
使用示例
调用 gem_search
进行搜索:
const response = await gem_search({ query: "最新量子计算发展", enable_thinking: true });
分析文件使用 gem_analyze
:
const response = await gem_analyze({ file_path: "/path/to/image.jpg", instruction: "描述图片内容" });