mcp-outbound-metering
Provider-neutral runtime for recording outbound MCP provider HTTP attempts, buffering usage events in a per-replica SQLite outbox, and exporting signed CloudEvents batches to a trusted ingest boundary.
The provider-facing transport is structural and supports both httpx and
httpx2>=2.9.1,<3. Billing delivery continues to use its own private httpx
client. The package contains no provider credentials, account mappings,
customer identifiers, pricing, or destination configuration.
Production hosts must:
- start one runtime before reporting ready;
- wrap every provider data-plane transport construction site;
- use a writable, non-memory-backed, non-network, per-replica outbox path;
- expose
runtime.health()through readiness; and - allow at least
GRACEFUL_SHUTDOWN_BOUND_SECONDSbefore terminating the process, then add platform stop-grace margin.
The package is alpha software. Public distribution exposes the wire format, not authority: batches require an enrolled key and HMAC signature, while the trusted edge derives the source, account, sink, metric, and policy.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 mcp_outbound_metering-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mcp_outbound_metering-0.3.0-py3-none-any.whl
- Upload date:
- Size: 93.3 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 |
e5739e6818b5a59a829cc0df13a669a9b9c3e368b8bc1b07fc412d92b3214fe0
|
|
| MD5 |
2ed6ea926b4fd26a15b7e69c1d8a77db
|
|
| BLAKE2b-256 |
0621d4ec57d501a4dfda2cfe6e6fb40b10ec688c9194e18a57ee75ff9b8d44ec
|
Provenance
The following attestation bundles were made for mcp_outbound_metering-0.3.0-py3-none-any.whl:
Publisher:
publish-python-runtime.yml on KuudoAI/billing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_outbound_metering-0.3.0-py3-none-any.whl -
Subject digest:
e5739e6818b5a59a829cc0df13a669a9b9c3e368b8bc1b07fc412d92b3214fe0 - Sigstore transparency entry: 2499130051
- Sigstore integration time:
-
Permalink:
KuudoAI/billing@eee3a20753ab62020378375ad24fe3e566387ebc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/KuudoAI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-runtime.yml@eee3a20753ab62020378375ad24fe3e566387ebc -
Trigger Event:
workflow_dispatch
-
Statement type: