Tiger MCP

io.github.timescale由 GitHub 帳號 timescale 發布v0.27.0更新於 Oct 29, 2026

Provides programmatic access to Tiger Cloud services, databases, and documentation.

概覽

AI 產生的概覽

Tiger MCP 讓 AI 助理管理 Tiger Cloud 資料庫服務:列出、建立、分支、調整與刪除服務,執行 SQL、檢視結構,並檢索 Postgres 文件。

可以做什麼
  • 列出、檢視、建立、分支、啟動、停止、重新命名、調整規格、刪除資料庫服務並重設主密碼
  • 檢視服務日誌,查詢可用指標、指標說明與時間序列資料
  • 執行 SQL 查詢(內嵌或來自檔案、支援參數與逾時),檢視資料庫結構與已安裝擴充套件
  • 透過代理的文件伺服器以語意搜尋 PostgreSQL、TimescaleDB 與 Tiger Cloud 文件並取得功能指南
  • 向 Tiger Data 團隊提交意見回饋或錯誤報告
適用情境
適合使用 Tiger Cloud 或 TimescaleDB 的情境:希望助理直接管理資料庫服務、執行查詢、讀取結構,而不必切換到終端機,或在寫程式時查閱 Postgres 文件。
執行需求
以本機程序執行,需先安裝 tiger CLI(安裝腳本、Homebrew、apt、yum、Go 或容器映像),再以 tiger mcp start 啟動。需要 Tiger Cloud 帳號並透過 tiger auth login 登入,或提供 TIGER_PUBLIC_KEY 與 TIGER_SECRET_KEY 環境變數。僅限桌面端,需能連線至 Tiger Cloud。
安裝前請注意
助理可以變更基礎設施:建立、分支、調整規格、停止以及永久刪除服務,並重設主密碼;SQL 查詢也可能寫入或刪除資料。憑證保存在 TIGER_PUBLIC_KEY、TIGER_SECRET_KEY 或本機設定檔中。read_only 預設為 off,不提供任何保護;設為 all 或 prod 才能阻擋寫入操作。文件代理預設開啟,會將查詢送往遠端文件伺服器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tiger MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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)

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

Install Script (Windows)

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

Homebrew (macOS/Linux)

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

Debian/Ubuntu

bash
# Add repositorycurl -s https://packagecloud.io/install/repositories/timescale/tiger-cli/script.deb.sh | sudo os=any dist=any bash
# Install tiger-clisudo apt-get install tiger-cli

For manual repository installation instructions, see here.

Red Hat/Fedora

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

For manual repository installation instructions, see here.

Go Install

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

Updating

To upgrade an existing installation to the latest release:

bash
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:

bash
# Login to your Tiger accounttiger auth login
# View available commandstiger --help
# List your database servicestiger service list
# Create a new database servicetiger service create --name my-database
# Get connection stringtiger db uri
# Connect to your databasetiger db psql
# Run a query without psqltiger db query -c "SELECT now()"
# Install the MCP servertiger mcp install
# Install agent skills for your coding agenttiger 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)
    • use - Switch the active project (requires an OAuth login; clears the default service_id, since it belonged to the previous project) (alias: switch)
  • tiger service - Service lifecycle management (aliases: services, svc)
    • list - List all services (alias: ls)
    • create - Create a new service
    • get - Show detailed service information (aliases: describe, show)
    • fork - Fork an existing service
    • start - Start a stopped service (alias: resume)
    • stop - Stop a running service (alias: pause)
    • rename - Rename a service
    • resize - Resize service CPU and memory allocation
    • delete - Delete a service (alias: rm)
    • update-password - Update service master password
    • logs - View service logs (alias: log)
    • metrics available - List the metric names available for a service
    • metrics details - Show a metric's description, type, default aggregation and labels
    • metrics series - Fetch a metric's time series, with label filters, an aggregation function, group by and bucket size
  • tiger db - Database operations
    • psql - Connect to a database with psql (in an interactive terminal, if the service has read replicas, offers to connect to one of them; use --no-replica-prompt to skip) (alias: connect)
    • query - Execute a SQL query against a database and display the results, without needing psql (alias: sql)
    • uri - Get connection URI for a service (alias: connection-string)
    • ping - Test database connectivity (aliases: test, test-connection)
    • schema - Display database schema information (tables, views, indexes, functions, TimescaleDB hypertables, and more)
    • extensions list - List the PostgreSQL extensions installed in a database, with their versions and schemas (aliases: ext ls)
    • save-password - Save a database password to configured password storage (keyring, pgpass, or none)
    • create role - Create a new database role, with optional read-only enforcement, inherited grants (--from), and statement timeout (alias: create user)
  • tiger config - Configuration management (alias: cfg)
    • list - List current configuration (aliases: ls, show)
    • set - Set configuration value
    • unset - Remove configuration value (aliases: rm, delete)
    • reset - Reset configuration to defaults (alias: clear)
  • tiger mcp - MCP server setup and management
    • install - Install and configure MCP server for an AI assistant (alias: add)
    • start - Start the MCP server
    • list - List available MCP tools, prompts, and resources (alias: ls)
    • get - Get detailed information about a specific MCP capability (aliases: describe, show)
  • tiger skills - Agent skills for AI coding agents
    • install - Install PostgreSQL and TimescaleDB skills for AI coding agents (alias: add)
  • tiger feedback - Submit feedback or a bug report to the Tiger Data team (pass the message as an argument or on stdin)
  • tiger version - Show version information
  • tiger upgrade - Upgrade the Tiger CLI to the latest version (alias: update)

Use tiger <command> --help for detailed information about each command, or browse the generated CLI reference.

Naming a Service

Anywhere a command takes a service as an argument, it takes either its ID (or a read replica set ID) or its name:

bash
tiger db psql my-api-dbtiger service stop my-api-db

Names are matched exactly. A name that matches more than one service is refused; run tiger service list to find the ID you want. A default service (tiger config set service_id, --service-id, or TIGER_SERVICE_ID) must be an ID, and destructive commands still ask you to type the ID to confirm. The MCP tools take IDs only.

MCP Server

Tiger CLI includes a Model Context Protocol (MCP) server that enables AI assistants like Claude Code to interact with your Tiger Cloud infrastructure. The MCP server provides programmatic access to database services and operations.

Installation

Configure the MCP server for your AI assistant:

bash
# Interactive installation (prompts for client selection)tiger mcp install
# Or specify your client directlytiger mcp install claude-code      # Claude Codetiger mcp install codex            # Codextiger mcp install copilot          # GitHub Copilot CLItiger mcp install cursor           # Cursor IDEtiger mcp install devin            # Devintiger mcp install gemini           # Gemini CLItiger mcp install vscode           # VS Code

After installation, restart your AI assistant to activate the Tiger MCP server.

Manual Installation

If your MCP client is not supported by tiger mcp install, follow the client's instructions for installing MCP servers. Use tiger mcp start as the command to start the MCP server. For example, many clients use a JSON file like the following:

json
{  "mcpServers": {    "tiger": {      "command": "tiger",      "args": [        "mcp",        "start"      ]    }  }}
Streamable HTTP Protocol

The above instructions install the MCP server using the stdio transport. If you need to use the Streamable HTTP transport instead, you can start the server with tiger mcp start http --port 8080 and install it into your client using http://localhost:8080 as the URL.

Available MCP Tools

The MCP server exposes the following tools to AI assistants:

Service Management:

  • service_list - List all database services in your project
  • service_get - Get detailed information about a specific service
  • service_create - Create new database services with configurable resources
  • service_fork - Fork an existing database service to create an independent copy
  • service_start - Start a stopped database service
  • service_stop - Stop a running database service
  • service_rename - Rename a database service
  • service_resize - Resize a database service by changing CPU and memory allocation
  • service_delete - Permanently delete a database service (asks you to confirm first if the service is tagged PROD)
  • service_update_password - Set a new, randomly generated master password for a service (asks you to confirm first if the service is tagged PROD)
  • service_logs - View logs for a database service

Service Metrics:

  • service_metrics_available - List the metric names available for a service (hardware usage, PostgreSQL settings and activity, PgBouncer pools, TimescaleDB internals)
  • service_metrics_details - Show a metric's description, type, default aggregation and labels
  • service_metrics_series - Fetch a metric's time series over a time window, with label filters, an aggregation function, group by and bucket size

Database Operations:

  • db_query - Execute SQL queries against a database service, passed inline or as a path to a SQL file, with support for parameterized queries, custom timeouts, and connection pooling
  • db_schema - Display a service's database schema (tables, views, materialized views, enums, functions, procedures, indexes, triggers, and TimescaleDB hypertable/continuous aggregate metadata) as readable text for an agent's context
  • db_extensions_list - List the PostgreSQL extensions installed in a service database, with each extension's version, schema, and description

Feedback:

  • feedback - Submit feedback or a bug report to the Tiger Data team

The MCP server automatically uses your CLI authentication and configuration, so no additional setup is required beyond tiger auth login.

Proxied Tools

In addition to the service management tools listed above, the Tiger MCP server also proxies tools from a remote documentation MCP server. This feature provides AI assistants with semantic search capabilities for PostgreSQL, TimescaleDB, and Tiger Cloud documentation, as well as prompts/guides for various Tiger Cloud features.

The proxied documentation server (pg-aiguide) currently provides the following tools:

  • view_skill - Retrieve comprehensive guides for Postgres and TimescaleDB features and best practices
  • search_docs - Search PostgreSQL and TimescaleDB documentation using natural language queries

This proxy connection is enabled by default and requires no additional configuration.

To disable the documentation proxy:

bash
tiger config set docs_mcp false

Agent Skills

Tiger CLI can install curated PostgreSQL and TimescaleDB skills directly into your coding agents:

bash
# Interactive installation (prompts for install locations)tiger skills install
# Or name the locations directlytiger skills install universal claude-code

Skills are installed for the current user. The universal location, ~/.agents/skills, is read by most coding agents (Cursor, Codex, Gemini CLI, VS Code, GitHub Copilot CLI, Devin). Claude Code, Kiro CLI, and Google Antigravity read their own skills directories, so they're separate locations (claude-code, kiro-cli, antigravity). Naming a client that reads ~/.agents/skills, such as cursor, selects universal. Use --skills-dir to install into a directory of your choice instead.

Re-run the command to update the skills to the latest version; skills that are no longer available are removed. With no arguments, the locations you've installed to before are selected in the picker to start with. Existing skills that weren't installed by Tiger CLI are never replaced unless you pass --force.

Configuration

The CLI stores configuration in ~/.config/tiger/config.yaml by default, and supports hierarchical configuration through environment variables and command-line flags.

bash
# List current configurationtiger config list
# Set configuration valuestiger config set output json
# Remove configuration valuetiger config unset output
# Reset to defaultstiger config reset

Configuration Options

All configuration options can be set via tiger config set <key> <value>:

  • analytics - Enable/disable analytics (default: true)

  • color - Enable/disable colored output (default: true)

  • docs_mcp - Enable/disable docs MCP proxy (default: true)

  • mcp_max_rows - Maximum number of rows the db_query MCP tool returns per result set before truncating, to limit how much data lands in an AI agent's context. Only applies to the MCP tool, not CLI commands. Default: 100

  • output - Output format: json, yaml, or table (default: table)

  • password_storage - Password storage method: keyring, pgpass, or none (default: keyring)

  • read_only - Which services this CLI may change: all, prod, or off (default: off, which protects nothing). An interactive tiger auth login offers a menu of the three modes, and records your choice either way, so it only asks until you answer once. true and on are accepted as aliases for all, and false for off, so existing config files and TIGER_READ_ONLY=true behave as before.

    Changing a protected service is refused, and so is creating one: tiger service create/fork/start/stop/rename/resize/update-password/delete and tiger db create role return an error. Connection strings for it open the session in Tiger Cloud's immutable read-only mode, so the server rejects writes and DDL — that covers tiger db psql, tiger db query, tiger db uri, the db_query MCP tool, and the connection strings embedded in tiger service output and the equivalent MCP tools.

    • all protects every service, and the MCP write tools aren't registered at all, so they don't appear in tools/list and can't be called.
    • prod protects only services tagged PROD, leaving DEV services writable. tiger service create/fork and the service_create/service_fork MCP tools are gated on the environment they request, so creating a DEV service is allowed and a PROD one is not — otherwise you could create a service this same mode then refuses to delete. Forking a PROD service into a DEV fork is allowed, since that reads production without changing it. The MCP write tools stay registered — they still work on DEV services — and refuse per call instead. These commands read the tag off the service they resolve, so the tag costs no extra API call, and the operation is refused if that lookup fails. The MCP write tools, which take IDs, fetch the service to read its tag. A read replica is judged on its own tag, so a replica of a PROD primary is protected only if that replica set is itself tagged PROD.
  • service_id - Default service ID. Cleared automatically when the active project changes: by tiger project, and by tiger auth login unless it lands on the same project as the previous login. A service belongs to the project it was created in

  • version_check - When true, the CLI checks for a newer version on each invocation (in an interactive terminal) and prints a notice if one is available. Set to false to disable. Default: true.

Environment Variables

Environment variables override configuration file values. All variables use the TIGER_ prefix:

  • TIGER_ANALYTICS - Enable/disable analytics
  • TIGER_COLOR - Enable/disable colored output
  • TIGER_CONFIG_DIR - Path to configuration directory (default: ~/.config/tiger)
  • TIGER_DOCS_MCP - Enable/disable docs MCP proxy
  • TIGER_OUTPUT - Output format: json, yaml, or table
  • TIGER_PASSWORD_STORAGE - Password storage method: keyring, pgpass, or none
  • TIGER_READ_ONLY - Which services this CLI may change: all, prod, or off (same aliases as read_only)
  • TIGER_PUBLIC_KEY - Public key to use for authentication (takes priority over stored credentials)
  • TIGER_SECRET_KEY - Secret key to use for authentication (takes priority over stored credentials)
  • TIGER_SERVICE_ID - Default service ID (a name is refused; see Naming a Service)
  • TIGER_VERSION_CHECK - When true, the CLI checks for a newer version on each invocation (in an interactive terminal) and prints a notice if one is available; false to disable

Global Flags

These flags are available on all commands and take precedence over both environment variables and configuration file values:

  • --analytics - Enable/disable analytics
  • --color - Enable/disable colored output
  • --config-dir <path> - Path to configuration directory (default: ~/.config/tiger)
  • --password-storage <method> - Password storage method: keyring, pgpass, or none
  • --service-id <id> - Service ID (a name is refused; pass one as an argument instead)
  • --version-check - Enable/disable checking for updates on startup
  • -h, --help - Show help information

Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass (go test ./...)
  6. Submit a pull request

For detailed development information, see docs/development.md.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

來源:README.md,提交 7c44f9f

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

4
  1. v0.27.0最新Oct 29, 2026
  2. v0.26.0Oct 1, 2026
  3. v0.25.0Sep 21, 2026
  4. v0.24.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分