mcp-data-platform-v0.12.2
Overview
This release improves middleware reliability with integration tests, adds comprehensive audit logging documentation, and reorganizes the docs site navigation for better discoverability.
Improvements
Middleware Chain Integration Test (#50)
Added an end-to-end integration test that wires a real mcp.Server with all middleware via AddReceivingMiddleware and sends a real tools/call request through the chain. This validates that context propagation works correctly across the full middleware stack:
- Verifies audit store receives complete events with non-empty
UserID,ToolName,ToolkitKind,PersonaName,Duration, andSuccess - Catches regressions in middleware ordering that unit tests cannot detect
Refactored Middleware Initialization
finalizeSetup() in pkg/platform/platform.go is reorganized with clear comments documenting the execution order. Middleware is added innermost-first so the last-added runs first:
- Semantic enrichment (innermost)
- Rule enforcement
- Audit (reads PlatformContext)
- Auth/Authz (creates PlatformContext, outermost to audit)
- Apps metadata (outermost)
Documentation
New: Audit Logging Guide
Full documentation at docs/server/audit.md covering:
- PostgreSQL prerequisites and schema
- Configuration options (
audit.enabled,audit.log_tool_calls,audit.retention_days) - Fallback behavior (stderr JSON when database is unavailable)
- Retention policy and cleanup
- Query examples and troubleshooting
Updated: Middleware Reference
Expanded docs/reference/middleware.md with:
- Execution order diagram
- Context propagation details
- Documentation for new middleware components (rules, toolkit lookup, apps metadata)
Reorganized Docs Navigation
Reduced top-level tabs from 11 to 7 for a clearer information architecture:
| Before | After |
|---|---|
| Home, Concepts, MCP Server, Cross-Injection, Authentication, Personas, Go Library, MCP Apps, Examples, Reference, Support | Home, Getting Started, Features, Go Library, Examples, Reference, Support |
- Getting Started absorbs Concepts and server setup pages (overview, installation, configuration, deployment)
- Features groups Cross-Injection, Authentication, Personas, Audit Logging, MCP Apps, Tools, and Multi-Provider
- Previously orphaned
cross-injection/lineage.mdnow included in nav
Updated Homepage
Added 2 feature cards to the homepage (4 → 6, rendering as a 3x2 grid):
- Audit Logging — PostgreSQL-backed tool call logging
- MCP Apps — Interactive UI components for tool results
LLM-Readable Docs
- Added audit logging section to
docs/llms-full.txt - Added link in
docs/llms.txt
Full Changelog
- Fix Audit Logging & Documentation (#50)
Changelog
Others
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.12.2Verification
All release artifacts are signed with Cosign. Verify with:
cosign verify-blob --bundle mcp-data-platform_0.12.2_linux_amd64.tar.gz.sigstore.json \
mcp-data-platform_0.12.2_linux_amd64.tar.gz