CLAUDE.md
Project Overview
Tech Stack
Development Commands
# Core development
make build # Build binary to ./bin/mcp-trino
make test # Run unit tests with race detection
make run-dev # Run from source code (go run ./cmd)
make run # Run built binary
make clean # Clean build artifacts
make lint # Run linting (same as CI: golangci-lint + go mod tidy)
# Docker development
make docker-compose-up # Start with Docker Compose
make docker-compose-down # Stop Docker Compose
make run-docker # Build and run Docker image locally
# Release and packaging
make release-snapshot # Create snapshot release with GoReleaser
make build-dxt # Build platform-specific binaries for DXT
make pack-dxt # Package DXT extension
# Testing individual components
go test ./internal/config # Test configuration package
go test ./internal/trino # Test Trino client package
go test ./internal/mcp # Test MCP handlers packageArchitecture
Core Components
OAuth Authentication Architecture
Transport Support
SQL Security Architecture
Available MCP Tools
Configuration
CI/CD Pipeline
Manual Testing
Build and Release
Last updated
Was this helpful?