Skip to main content

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_SECONDS before 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_outbound_metering-0.3.0-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

Details for the file mcp_outbound_metering-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_outbound_metering-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5739e6818b5a59a829cc0df13a669a9b9c3e368b8bc1b07fc412d92b3214fe0
MD5 2ed6ea926b4fd26a15b7e69c1d8a77db
BLAKE2b-256 0621d4ec57d501a4dfda2cfe6e6fb40b10ec688c9194e18a57ee75ff9b8d44ec

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page