
Tiger MCP
io.github.timescale由 GitHub 帳號 timescale 發布v0.27.0更新於 Oct 29, 2026
Provides programmatic access to Tiger Cloud services, databases, and documentation.
概覽
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。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Tiger MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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)
Install Script (Windows)
Homebrew (macOS/Linux)
Debian/Ubuntu
For manual repository installation instructions, see here.
Red Hat/Fedora
For manual repository installation instructions, see here.
Go Install
Updating
To upgrade an existing installation to the latest release:
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:
Usage
Tiger CLI provides the following commands:
tiger auth- Authentication managementlogin- Log in to your Tiger account (use--headlessto authorize with a short code in a browser on any machine)logout- Log out from your Tiger accountstatus- Show current authentication status and project ID (alias:whoami)
tiger project- Project managementlist- List all projects you have access to, marking the active one (alias:ls)use- Switch the active project (requires an OAuth login; clears the defaultservice_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 serviceget- Show detailed service information (aliases:describe,show)fork- Fork an existing servicestart- Start a stopped service (alias:resume)stop- Stop a running service (alias:pause)rename- Rename a serviceresize- Resize service CPU and memory allocationdelete- Delete a service (alias:rm)update-password- Update service master passwordlogs- View service logs (alias:log)metrics available- List the metric names available for a servicemetrics details- Show a metric's description, type, default aggregation and labelsmetrics series- Fetch a metric's time series, with label filters, an aggregation function, group by and bucket size
tiger db- Database operationspsql- 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-promptto 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 valueunset- Remove configuration value (aliases:rm,delete)reset- Reset configuration to defaults (alias:clear)
tiger mcp- MCP server setup and managementinstall- Install and configure MCP server for an AI assistant (alias:add)start- Start the MCP serverlist- 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 agentsinstall- 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 informationtiger 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:
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:
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:
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 projectservice_get- Get detailed information about a specific serviceservice_create- Create new database services with configurable resourcesservice_fork- Fork an existing database service to create an independent copyservice_start- Start a stopped database serviceservice_stop- Stop a running database serviceservice_rename- Rename a database serviceservice_resize- Resize a database service by changing CPU and memory allocationservice_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 labelsservice_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 poolingdb_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 contextdb_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 practicessearch_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:
Agent Skills
Tiger CLI can install curated PostgreSQL and TimescaleDB skills directly into your coding agents:
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.
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 thedb_queryMCP 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, ortable(default:table) -
password_storage- Password storage method:keyring,pgpass, ornone(default:keyring) -
read_only- Which services this CLI may change:all,prod, oroff(default:off, which protects nothing). An interactivetiger auth loginoffers a menu of the three modes, and records your choice either way, so it only asks until you answer once.trueandonare accepted as aliases forall, andfalseforoff, so existing config files andTIGER_READ_ONLY=truebehave as before.Changing a protected service is refused, and so is creating one:
tiger service create/fork/start/stop/rename/resize/update-password/deleteandtiger db create rolereturn 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 coverstiger db psql,tiger db query,tiger db uri, thedb_queryMCP tool, and the connection strings embedded intiger serviceoutput and the equivalent MCP tools.allprotects every service, and the MCP write tools aren't registered at all, so they don't appear intools/listand can't be called.prodprotects only services taggedPROD, leavingDEVservices writable.tiger service create/forkand theservice_create/service_forkMCP tools are gated on the environment they request, so creating aDEVservice is allowed and aPRODone is not — otherwise you could create a service this same mode then refuses to delete. Forking aPRODservice into aDEVfork is allowed, since that reads production without changing it. The MCP write tools stay registered — they still work onDEVservices — 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 aPRODprimary is protected only if that replica set is itself taggedPROD.
-
service_id- Default service ID. Cleared automatically when the active project changes: bytiger project, and bytiger auth loginunless it lands on the same project as the previous login. A service belongs to the project it was created in -
version_check- Whentrue, the CLI checks for a newer version on each invocation (in an interactive terminal) and prints a notice if one is available. Set tofalseto disable. Default:true.
Environment Variables
Environment variables override configuration file values. All variables use the TIGER_ prefix:
TIGER_ANALYTICS- Enable/disable analyticsTIGER_COLOR- Enable/disable colored outputTIGER_CONFIG_DIR- Path to configuration directory (default:~/.config/tiger)TIGER_DOCS_MCP- Enable/disable docs MCP proxyTIGER_OUTPUT- Output format:json,yaml, ortableTIGER_PASSWORD_STORAGE- Password storage method:keyring,pgpass, ornoneTIGER_READ_ONLY- Which services this CLI may change:all,prod, oroff(same aliases asread_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- Whentrue, the CLI checks for a newer version on each invocation (in an interactive terminal) and prints a notice if one is available;falseto 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, ornone--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:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass (
go test ./...) - 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版本歷史
4- v0.27.0最新Oct 29, 2026
- v0.26.0Oct 1, 2026
- v0.25.0Sep 21, 2026
- v0.24.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分