txn2 · open source components

org / txn2

est. 2017

deasil works · plexara

los angeles, ca

txn2 open source components.

txn2 is an open source organization for components developed by Craig Johnston, sponsored by Deasil Works, Inc. and Plexara. Includes Model Context Protocol servers, command-line tools, and Go libraries covering the modern data stack, Kubernetes networking, and host-file management.

All components are released on GitHub under the MIT or Apache 2.0 license.

§ 01 / model context protocol servers

MCP servers for the data stack

Model Context Protocol servers exposing object storage, distributed SQL engines, and metadata catalogs to MCP-capable clients.

platform

mcp-data-platform

An AI assistant can run SQL, but it doesn't know that cust_id is PII, that the table was deprecated last month, or who to ask when something breaks. mcp-data-platform fixes that. It connects assistants to your data infrastructure and adds business context from your semantic layer. Query a Trino table and get its meaning, owners, quality scores, and deprecation warnings in the same response.

  • orchestrates mcp-datahub, mcp-s3, and mcp-trino behind a single endpoint
  • bidirectional cross-injection: Trino results carry DataHub metadata, S3 reads carry lineage
  • gateway toolkit re-exposes any third-party MCP server through unified auth, persona, and audit pipelines
  • operator admin portal for DB-backed, encrypted credential management
  • declarative cross-enrichment rules join proxied responses with Trino queries or DataHub lookups
flowchart TD
    Client["mcp-capable
llm / agent"]
    Platform["mcp-data-platform"]
    S3["mcp-s3"]
    Trino["mcp-trino"]
    DH["mcp-datahub"]
    Mem["memory
insight capture"]

    Client ==>|MCP| Platform
    Platform --> S3
    Platform --> Trino
    Platform --> DH
    Platform --> Mem

    classDef default fill:#15140F,stroke:#3A3830,color:#ECE3CE
    classDef accent  fill:#15140F,stroke:#FF5A1F,color:#ECE3CE
    class Platform accent
                    

obj · 01

mcp-s3

Connects S3-compatible storage to MCP clients with read-only mode, size limits, prefix-based ACLs, and audit logging. Works with AWS S3, SeaweedFS, LocalStack, MinIO, or anything that speaks S3. Multi-account from a single installation.

sql · 02

mcp-trino

Connects Trino to MCP clients with an optional semantic layer. Surfaces business descriptions, ownership, and quality scores from metadata catalogs alongside query results, and marks sensitive columns so an AI assistant knows what not to read. Multi-cluster from one install.

meta · 03

mcp-datahub

MCP server and Go library for DataHub. Search datasets, explore schemas, trace lineage, and read glossary terms, domains, and ownership. Ships as a standalone binary, a one-click Claude Desktop .mcpb bundle, or a composable library.

§ 02 / utilities

kubefwd · txeh

FWD-001 · go · kubefwd.com ↗

kubefwd

Develop locally, connect to Kubernetes by service name.

Bulk port-forwards every service in a namespace, assigns each a unique 127.x.x.x loopback IP, and writes the matching hostname entries into /etc/hosts. Your application's existing in-cluster connection strings (http://api-gateway:8080, redis-cli -h cache, mysql -h database) work unchanged on your laptop. Interactive TUI with live traffic, pod logs, and auto-reconnect on pod restart.

HST-002 · go · txeh.txn2.com ↗

txeh

Scriptable, thread-safe /etc/hosts management.

A Go library and CLI that originated as the substrate under kubefwd's hosts-file rewrites and grew into a standalone utility. Mutex-protected for concurrent use, supports IPv4 + IPv6, CIDR ranges, comment-based grouping, and dry-run rendering. Preserves comments and file formatting on existing lines.

§ 03 / other components

Additional repositories

Further components published under the txn2 organization on GitHub.

  1. 001
    portpxy

    HTTP reverse proxy that routes requests to backend ports specified in the URL path (/8081/foobackend:8081/foo). Useful for exposing dynamic ports (NiFi listeners, webhook receivers) through a single Kubernetes ingress.

    network
  2. 002
    jwtpxy

    Reverse proxy that pre-validates JWTs against Keycloak (or any OIDC realm) and forwards parsed claims as HTTP headers. Backend services read user, roles, and realm-access from headers. No token-handling library required.

    auth
  3. 003
    amp

    Kubernetes Admission Mutation Proxy. Forwards Pod admission reviews to a custom HTTP endpoint and applies the JSONPatch operations it returns. Originally built to inject per-user volumes and env vars into JupyterHub-spawned Pods.

    k8s
  4. 004
    rxtx

    Queue-based data collector with store-and-forward. Buffers HTTP POST data when downstream is offline, replays when it comes back. Built for IoT and edge collection where the network blinks.

    data
  5. 005
    asws

    Another static web server. Serves a directory and exposes its listing through a JSON REST API. Useful for download pages, asset catalogs, and any web app that wants to enumerate what's on disk without writing a backend.

    web
  6. 006
    mcp-common

    Shared MCP Go library: interfaces, types, middleware patterns, and utilities. The substrate behind mcp-trino, mcp-datahub, mcp-s3, and any custom server that wants to drop into the same composable stack.

    mcp · lib
  7. ···
    all repositories on github

    Full list of source repositories under the txn2 organization.

    + more

// about

Components developed by Craig Johnston, sponsored by Deasil Works, Inc. and Plexara. Released under the MIT or Apache 2.0 license.