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.0b1is published as a PEP 440 pre-release, so an unpinned install resolves it only while no final release exists — pinkx-mcp-core==0.5.0b1if you need that exact version. Final releases (0.4.0and 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'sbuild_server()under a namespace; thetry_variant disables an unreachable backend instead of crashing the container.- The
kx-mcplauncher — the zero-code path:kx-mcp --bundles kdbx,kdbai(a bundle named<name>is the importable packagekx_mcp_<name>). kx_mcp_core.auth—current_principal()(the validated inbound principal, visible to mounted tools), the@authorizePEP-1 capability decorator,AuditMiddleware, and re-exports of the sharedkx-auth-coreseams 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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|