Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

kx-mcp-core

The assembly layer of the KX MCP composition container: a FastMCP 3.x parent that mounts pluggable backend bundles (KDB-X, KDB.AI, or your own) into one served MCP surface, and the home of the container's control plane — inbound authentication, the authorization seam, and per-dispatch audit.

Install it when you are assembling an MCP server from KX backend bundles:

uv add kx-mcp-core kx-mcp-kdbx        # from PyPI

On PyPI as a pre-release. 0.5.0b1 is published as a PEP 440 pre-release, so an unpinned install resolves it only while no final release exists — pin kx-mcp-core==0.5.0b1 if you need that exact version. Final releases (0.4.0 and earlier) are on the internal KX Nexus; see the deployment guide for either index.

What's in the box

  • make_parent(name, auth=None) — builds the parent server; inbound auth (KX_MCP_AUTH: unset/static/jwks/entra) and the audit middleware attach here.
  • mount_bundle / try_mount_bundle — mount a bundle's build_server() under a namespace; the try_ variant disables an unreachable backend instead of crashing the container.
  • The kx-mcp launcher — the zero-code path: kx-mcp --bundles kdbx,kdbai (a bundle named <name> is the importable package kx_mcp_<name>).
  • kx_mcp_core.authcurrent_principal() (the validated inbound principal, visible to mounted tools), the @authorize PEP-1 capability decorator, AuditMiddleware, and re-exports of the shared kx-auth-core seams so bundle imports stay stable.

Minimal glue

from kx_mcp_core import make_parent, load_build_server, try_mount_bundle

app = make_parent("kx-mcp")
try_mount_bundle(app, load_build_server("kx_mcp_kdbx"), namespace="kdbx")
app.run(transport="streamable-http", host="127.0.0.1", port=8000)

Or no glue at all:

uvx --from kx-mcp-core --with kx-mcp-kdbx kx-mcp --bundles kdbx

Documentation

The full docs live in the kx-mcp-server-container repository, under docs/: the deployment guide, the auth reference (inbound modes, outbound strategies, authorization), and the extender guide for writing your own bundle — plus a reference downstream build (demos/extending/) showing a standalone project that assembles a server from these wheels.

All workspace packages version in lockstep from release tags — pin kx-mcp-core and your bundles to the same version.

Release files for kx-mcp-core 0.5.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for kx-mcp-core 0.5.0b1
File Interpreter ABI Platform
kx_mcp_core-0.5.0b1-py3-none-any.whl Python 3 none any Details

Release files / kx_mcp_core-0.5.0b1-py3-none-any.whl

Download URL kx_mcp_core-0.5.0b1-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
463c672cdf8671d9b7d8442143fda464f8ab8a843069d0edf5533fd161cc5c8e
BLAKE2b-256 checksum
How to use checksums
2e46168fded8f9cf246499ab567f3cad27464940f75a5353ddedab29b9ccdf4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.5.0b1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page