Skip to content

mcp-data-platform-v0.13.0

Choose a tag to compare

@github-actions github-actions released this 06 Feb 04:54
· 397 commits to main since this release
be23047

Unified HTTP Transport

  • Unified HTTP server serves both SSE (/sse, /message) and Streamable HTTP (/) transports from a single entry point
  • Added StreamableConfig (session_timeout, stateless) to ServerConfig with YAML support and sensible defaults
  • Added token bridging in MCP middleware to extract auth tokens from Streamable HTTP RequestExtra headers
  • Added shared token context key between pkg/auth and pkg/middleware for cross-package interoperability
  • Updated CORS headers for Streamable HTTP protocol requirements (Mcp-Session-Id, DELETE method)
  • Renamed transport flag from sse to http (backward compatible)

Test Quality Remediation

  • Removed 20 tautological struct-readback tests that tested Go compiler behavior rather than application logic
  • Moved phantom newAuditStoreAdapterWithStore function from production code to test file
  • Added 10 platform unit tests covering nil config handling, default timeouts, noop authenticator fallback, signing key boundaries, and close-with-nil-store
  • Added 4 middleware chain integration tests using real mcp.Server + AddReceivingMiddleware + in-memory transport:
    • Semantic enrichment injects DataHub context into Trino responses
    • Query context injection adds Trino availability to DataHub search results
    • Default-deny persona blocks unauthorized tool calls (fail-closed)
    • Full-stack test validates all middleware layers execute in correct order
  • Strengthened security-critical OAuth tests: token rotation proof, auth code entropy check, ExpiresIn validation, AccessToken != RefreshToken
  • Strengthened audit event test to verify all 12 fields survive JSON round-trip

Tooling

  • Added make dead-code target for unreachable function analysis
  • Added make mutate target for mutation testing via gremlins
  • Updated make verify to include dead code analysis
  • Added AI Verification Requirements section to CLAUDE.md

Documentation

  • Fixed all stale SSE-as-transport references across README, CLAUDE.md, and docs
  • Added server.streamable config section to configuration reference
  • Replaced manually maintained changelog with link to GitHub Releases
  • Updated llms.txt and llms-full.txt for transport rename and streamable config

Pull Requests

  • #51 Housekeeping/docs cleanup
  • #52 Update Documentation for HTTP Transport Naming
  • #53 Unify HTTP transport & fix documentation gaps
  • #54 Remove tautological tests, add integration tests and mutation targets

Changelog

Others

Installation

Homebrew (macOS)

brew install txn2/tap/mcp-data-platform

Claude Code CLI

claude mcp add mcp-data-platform -- mcp-data-platform

Docker

docker pull ghcr.io/txn2/mcp-data-platform:v0.13.0

Verification

All release artifacts are signed with Cosign. Verify with:

cosign verify-blob --bundle mcp-data-platform_0.13.0_linux_amd64.tar.gz.sigstore.json \
  mcp-data-platform_0.13.0_linux_amd64.tar.gz