# Tiger CLI — Tiger Cloud + MCP Server > Tiger CLI is the command-line interface for Tiger Cloud, including an integrated MCP server so AI assistants can help manage Postgres services safely. ## Install Copy the content below into your project: ## Quick Use ```bash # macOS/Linux/WSL install script curl -fsSL https://cli.tigerdata.com | sh tiger auth login tiger service list tiger mcp install ``` ## Intro Tiger CLI is the command-line interface for Tiger Cloud, including an integrated MCP server so AI assistants can help manage Postgres services safely. - **Best for:** DB platform operations with a CLI-first workflow and AI assistance - **Works with:** Tiger Cloud account; `tiger` CLI; optional MCP server install (per README) - **Setup time:** 5–15 minutes ## Practical Notes - GitHub: 107 stars · 9 forks; pushed 2026-05-11 (verified via GitHub API). - README includes install scripts for macOS/Linux/WSL and Windows, plus `brew install --cask ...` and `go install ...@latest`. - README quick start includes `tiger auth login`, `tiger service list`, and `tiger mcp install`. ## Main A good “AI + CLI” pattern: - Keep the CLI as the source of truth (commands are auditable and replayable). - Let the agent draft the next command, then you review and run it. - Persist the command history in your runbook so future incidents start from a known baseline. If you enable the MCP server, treat it like any other privileged integration: limit scope, log tool calls, and rotate credentials. ### FAQ **Q: Do I have to use the install script?** A: No—README lists multiple options including Homebrew, package managers, and `go install`. **Q: Can I use it without MCP?** A: Yes—the CLI works standalone; MCP is an optional integration. **Q: What should I automate first?** A: Read-only commands like listing services and showing config before create/delete operations. ## Source & Thanks > Source: https://github.com/timescale/tiger-cli > License: Apache-2.0 > GitHub stars: 107 · forks: 9 --- ## 快速使用 ```bash # macOS/Linux/WSL 安装脚本 curl -fsSL https://cli.tigerdata.com | sh tiger auth login tiger service list tiger mcp install ``` ## 简介 Tiger CLI 是 Tiger Cloud 的命令行工具:用于管理与查询数据库服务,并内置 MCP server,便于 AI assistant 在可控边界内协助操作与生成更可靠的 Postgres 指令。 - **适合谁:** 用 CLI 管数据库平台,同时让 AI 辅助执行与排障 - **可搭配:** Tiger Cloud 账号;`tiger` CLI;可安装 MCP server(见 README) - **准备时间:** 5–15 分钟 ## 实战建议 - GitHub:107 stars · 9 forks;最近更新 2026-05-11(GitHub API 验证)。 - README 提供 macOS/Linux/WSL 与 Windows 安装脚本,也支持 Homebrew 与 `go install ...@latest`。 - README quick start 包含 `tiger auth login`、`tiger service list`、`tiger mcp install`。 ## 主要内容 一个更可靠的“AI + CLI”模式: - 让 CLI 作为事实来源(命令可审计、可回放)。 - 让 agent 先给出下一条命令,你复核后再执行。 - 把命令历史沉淀到 runbook,下次故障从基线流程开始。 启用 MCP server 后要当作高权限集成管理:限制范围、记录工具调用、定期轮换凭据。 ### FAQ **一定要用安装脚本吗?** 答:不一定。README 还给出 Homebrew、包管理器与 `go install` 等选项。 **不开 MCP 也能用吗?** 答:可以。CLI 可单独使用;MCP 是可选集成。 **优先自动化什么?** 答:先从只读命令开始(列表、查询配置),再考虑创建/删除等写操作。 ## 来源与感谢 > Source: https://github.com/timescale/tiger-cli > License: Apache-2.0 > GitHub stars: 107 · forks: 9 --- Source: https://tokrepo.com/en/workflows/tiger-cli-tiger-cloud-mcp-server Author: MCP Hub