Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Tiger CLI is a Go-based command-line interface for managing Tiger, the modern da
- **MCP Server**: `internal/tiger/mcp/` - Model Context Protocol server implementation
- `server.go` - MCP server initialization, tool registration, and lifecycle management
- `service_tools.go` - Service management tools (list, show, create, update-password)
- `db_tools.go` - Database operation tools (execute-query)
- `proxy.go` - Proxy client that forwards tools/resources/prompts from remote docs MCP server
- **Password Storage**: `internal/tiger/password/` - Secure password storage utilities

Expand Down Expand Up @@ -191,7 +192,9 @@ The Tiger MCP server provides AI assistants with programmatic access to Tiger re

**Two Types of Tools:**

1. **Direct Tiger Tools** (`service_tools.go`) - Native tools for Tiger service management
1. **Direct Tiger Tools** - Native tools for Tiger operations
- `service_tools.go` - Service management (list, show, create, update-password)
- `db_tools.go` - Database operations (execute-query)
2. **Proxied Documentation Tools** (`proxy.go`) - Tools forwarded from a remote docs MCP server (see `proxy.go` for implementation)

**Tool Definition Pattern:**
Expand Down Expand Up @@ -281,6 +284,7 @@ Global flags available on all commands:
- **oapi-codegen**: OpenAPI client generation (build-time dependency)
- **gomock**: Mock generation for testing (build-time dependency)
- **go-sdk (MCP)**: Model Context Protocol SDK for AI assistant integration
- **pgx/v5**: PostgreSQL driver for database operations in MCP tools
- **Go 1.25+**: Required Go version

## Project Structure
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tiger CLI

Tiger CLI is the command-line interface for managing databases on Tiger Cloud.
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

Expand Down Expand Up @@ -166,6 +166,9 @@ The MCP server exposes the following tools to AI assistants:
- `service_create` - Create new database services with configurable resources
- `service_update_password` - Update the master password for a service

**Database Operations:**
- `db_execute_query` - Execute SQL queries against a database service with support for parameterized queries, custom timeouts, and connection pooling

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

#### Proxied Tools
Expand Down