mcp-data-platform-v0.33.3
Bug Fixes
Portal S3 client ignores use_path_style — pkg/platform/platform.go
The portal's S3 client (createPortalS3Client) constructed its own s3client.Config but never propagated UsePathStyle from the S3 instance configuration. The AWS SDK defaults to virtual-hosted style addressing, which prepends the bucket name to the endpoint hostname during DNS resolution — e.g., portal-assets.seaweedfs:8333 instead of seaweedfs:8333/portal-assets.
This caused no such host DNS lookup failures on any deployment using SeaweedFS, MinIO, or other S3-compatible storage that requires path-style URLs. All portal artifact operations (save, view, share) were broken in these environments even though the S3 toolkit's own client correctly honored use_path_style: true.
Root cause: Three values were missing from the portal's S3 client construction path:
| Location | What was missing |
|---|---|
s3Config struct |
No UsePathStyle field — the value was never extracted |
getS3Config() |
Never read use_path_style from the instance config map |
createPortalS3Client() |
Never set UsePathStyle on the s3client.Config |
The S3 toolkit's own initialization (pkg/toolkits/s3/toolkit.go) takes a separate code path through its typed InstanceConfig struct, which correctly sets UsePathStyle. The portal's path through getS3Config() → createPortalS3Client() was a different code path that missed this field.
Fix: Three one-line additions in pkg/platform/platform.go to thread use_path_style through the full chain.
Code Quality
Fix noctx lint violations across test suite
Replaced httptest.NewRequest() with httptest.NewRequestWithContext(context.Background(), ...) in 24 test files to satisfy the noctx linter rule. No behavioral changes.
Installation
Homebrew (macOS)
brew install txn2/tap/mcp-data-platformClaude Code CLI
claude mcp add mcp-data-platform -- mcp-data-platformDocker
docker pull ghcr.io/txn2/mcp-data-platform:v0.33.3Verification
All release artifacts are signed with Cosign. Verify with:
cosign verify-blob --bundle mcp-data-platform_0.33.3_linux_amd64.tar.gz.sigstore.json \
mcp-data-platform_0.33.3_linux_amd64.tar.gz