TT

timescale/tiger-cli

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

128 stars 17 forks 质量 80 趋势 20Apache-2.0

timescale/tiger-cli 是从 https://github.com/timescale/tiger-cli. 导入的 MCP 服务器候选。

概览

timescale/tiger-cli 是从 https://github.com/timescale/tiger-cli. 导入的 MCP 服务器候选。

概述(AI 翻译)

Tiger CLI 是 Tiger Cloud 的命令行界面。它提供管理和查询数据库服务的命令,以及一个集成的模型上下文协议(MCP)服务器,供 AI 助手使用。

安装

提供多种安装方法。请从以下选项中选择您偏好的方法。如果不确定,就用第一种吧!

安装脚本(macOS/Linux/WSL)

安装脚本(Windows)

Homebrew(macOS/Linux)

Debian/Ubuntu

关于手动仓库安装说明,请见此处。

红帽/软呢帽

关于手动仓库安装说明,请见此处。

去安装

更新中

要将现有安装升级到最新版本:

它下载最新发布的二进制文件,验证其校验和,并替换当前运行的二进制文件。如果 Tiger CLI 是通过包管理器(Homebrew、apt、yum/dnf)安装的,tiger upgrade 会指向匹配的 package-manager 命令。

快速启动

安装 Tiger CLI 后,使用您的 Tiger Cloud 账户进行认证:

用途

Tiger CLI 提供以下命令:

  • tiger auth - 认证管理

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Tiger CLI

Tiger CLI is the command-line interface for Tiger Cloud. It provides commands for managing and querying database services, as well as an integrated Model Context Protocol (MCP) server for use with AI assistants.

Installation

Multiple installation methods are provided. Choose your preferred method from the options below. If you aren’t sure, use the first one!

Install Script (macOS/Linux/WSL)

curl -fsSL https://cli.tigerdata.com | sh

Install Script (Windows)

irm https://cli.tigerdata.com/install.ps1 | iex

Homebrew (macOS/Linux)

brew install --cask timescale/tap/tiger-cli

Debian/Ubuntu

# Add repository
curl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.deb.sh | sudo os=any dist=any bash

# Install tiger-cli
sudo apt-get install tiger-cli

For manual repository installation instructions, see here.

Red Hat/Fedora

# Add repository
curl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.rpm.sh | sudo os=rpm_any dist=rpm_any bash

# Install tiger-cli
sudo yum install tiger-cli

For manual repository installation instructions, see here.

Go Install

go install github.com/timescale/tiger-cli/cmd/tiger@latest

Updating

To upgrade an existing installation to the latest release:

tiger upgrade

This downloads the latest published binary, verifies its checksum, and replaces the currently running binary in place. If Tiger CLI was installed via a package manager (Homebrew, apt, yum/dnf), tiger upgrade will instead point you at the matching package-manager command.

Quick Start

After installing Tiger CLI, authenticate with your Tiger Cloud account:

# Login to your Tiger account
tiger auth login

# View available commands
tiger --help

# List your database services
tiger service list

# Create a new database service
tiger service create --name my-database

# Get connection string
tiger db uri

# Connect to your database
tiger db psql

# Run a query without psql
tiger db query -c "SELECT now()"

# Install the MCP server
tiger mcp install

# Install agent skills for your coding agent
tiger skills install

Usage

Tiger CLI provides the following commands:

  • tiger auth - Authentication management
    • login - Log in to your Tiger account (use --headless to authorize with a short code in a browser on any machine)
    • logout - Log out from your Tiger account
    • status - Show current authentication status and project ID (alias: whoami)
  • tiger project - Project management
    • list - List all projects you have access to, marking the active one (alias: ls)
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "tiger": { "command": "tiger", "args": [ "mcp", "start" ] } } }