Shared auth, config, logging, formatting, retry, and testing utilities for TriageKit MCP servers.
Project description
triagekit-mcp-core
Shared internal library for TriageKit MCP servers: layered credential loading, env-prefixed settings, redacted structured logging, tool-output formatting helpers, a retry decorator, and FastMCP in-process test helpers.
This package is a dependency of every triagekit-mcp-* server — it is not meant to be installed
standalone, though nothing prevents it.
See CONTRIBUTING.md for the two rules every module here exists to support: credentials never cross the tool-call boundary, and tools return evidence rather than verdicts.
Modules
| Module | Purpose |
|---|---|
auth |
Layered credential lookup: TRIAGEKIT_<SERVER>_* env var → tool-native env var → .env → OS keyring |
config |
pydantic-settings base class + settings_config() for the TRIAGEKIT_<SERVER>_* prefix convention |
logging |
Structured JSON logging with secret redaction applied to every record |
formatting |
Markdown tables, truncation, pagination helpers for shaping tool output |
retry |
Exponential-backoff retry decorator for flaky external API calls |
testing |
FastMCP in-process tool-call helper and JSON fixture loader for tests |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file triagekit_mcp_core-0.1.0.tar.gz.
File metadata
- Download URL: triagekit_mcp_core-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba90c92b1e3f2e1b0ee511bc2c8a7e200e09e85b5241cc56c77eae97e01573f
|
|
| MD5 |
6146bcdaafb766e4e9f81333e7b61010
|
|
| BLAKE2b-256 |
4adb379ead98af2407b2eb6b4ccf8d0951521afd6850d9157fdac7f23c9a07e9
|
Provenance
The following attestation bundles were made for triagekit_mcp_core-0.1.0.tar.gz:
Publisher:
release.yml on Karthick-dev-cart/triagekit-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
triagekit_mcp_core-0.1.0.tar.gz -
Subject digest:
0ba90c92b1e3f2e1b0ee511bc2c8a7e200e09e85b5241cc56c77eae97e01573f - Sigstore transparency entry: 2342073300
- Sigstore integration time:
-
Permalink:
Karthick-dev-cart/triagekit-mcp@38d601edb2ecca46eaba7cff1014c4d342eca16a -
Branch / Tag:
refs/tags/core-v0.1.0 - Owner: https://github.com/Karthick-dev-cart
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38d601edb2ecca46eaba7cff1014c4d342eca16a -
Trigger Event:
push
-
Statement type:
File details
Details for the file triagekit_mcp_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: triagekit_mcp_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68cf7c121a44aadcd7e57a382c55c5cb30ec6bf829f4521caff48a764f012dbe
|
|
| MD5 |
f94ac75da229ae9a7b1fc46c837a799f
|
|
| BLAKE2b-256 |
5fee3ae508640c53cd3977ac679f940dbdb50203216e947f6a3c119ff607a929
|
Provenance
The following attestation bundles were made for triagekit_mcp_core-0.1.0-py3-none-any.whl:
Publisher:
release.yml on Karthick-dev-cart/triagekit-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
triagekit_mcp_core-0.1.0-py3-none-any.whl -
Subject digest:
68cf7c121a44aadcd7e57a382c55c5cb30ec6bf829f4521caff48a764f012dbe - Sigstore transparency entry: 2342073312
- Sigstore integration time:
-
Permalink:
Karthick-dev-cart/triagekit-mcp@38d601edb2ecca46eaba7cff1014c4d342eca16a -
Branch / Tag:
refs/tags/core-v0.1.0 - Owner: https://github.com/Karthick-dev-cart
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38d601edb2ecca46eaba7cff1014c4d342eca16a -
Trigger Event:
push
-
Statement type: