Skip to content

mcp-data-platform-v0.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Jan 07:08
· 432 commits to main since this release
270a277

Release v0.7.0

MCP protocol middleware

Middleware now runs at the MCP protocol level using server.AddReceivingMiddleware(). This integrates directly with the MCP SDK's request handling.

Semantic enrichment

Tool responses are automatically enriched with context from other services:

  • trino_describe_table responses include DataHub metadata (owners, tags, deprecation status, glossary terms)
  • datahub_search responses include Trino query availability
  • s3_list_objects responses include matching DataHub dataset metadata

Audit logging

All tool calls are logged with user identity, parameters, timing, and success/failure status. Logging is async and doesn't block responses.

E2E test suite

Added end-to-end tests that verify cross-injection against real DataHub and Trino instances:

  • TestTrinoToDataHubEnrichment
  • TestDataHubToTrinoEnrichment
  • TestDataHubToS3Enrichment
  • TestS3ToDataHubEnrichment

Test fixtures in test/e2e/testdata/datahub/ with a seed script for DataHub.

Other changes

  • SeaweedFS support for S3-compatible storage in E2E tests
  • Documentation updates for middleware architecture

Test results

go test -race ./...         PASS
golangci-lint run ./...     0 issues
gosec ./...                 0 issues
Coverage                    84.5%

Upgrade guide

No configuration changes required.