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. See the deployment guide.

What's in the box

  • make_parent(name, auth=None) — builds the parent server; inbound auth (KX_MCP_AUTH: unset/static/jwks/oidc_proxy/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.auth — current_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.

Metadata

Release files for kx-mcp-core 0.5.0b2

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.0b2
File Interpreter ABI Platform
kx_mcp_core-0.5.0b2-py3-none-any.whl Python 3 none any Details

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

Download URL kx_mcp_core-0.5.0b2-py3-none-any.whl
Size 60.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69c9b5d82f5fa8c1e1249bb0980e5e0afa5b9ceb1d2b8d69166771ee339a2fa3
BLAKE2b-256 checksum
How to use checksums
e0d7b7d556fafa15f9cc1304c149a28d6c4451413fdeac63ecb1429d2f039d5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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

0.5.0

1 release file

This release

0.5.0b2 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