Skip to main content

Chumbo for Python

Inspect and diagnose a deployed Chumbo MCP endpoint from Python.

This package provides a small, typed inspection API and the chumbo-inspect command. It verifies that an HTTP endpoint is running the Chumbo runtime, reports the runtime's observed authentication mode, and checks the corresponding MCP discovery boundary.

Chumbo's server runtime and guided setup remain TypeScript-first. They deploy as a Supabase Edge Function through the npm chumbo package. This Python package does not create or deploy a Chumbo server and does not claim runtime parity with the TypeScript package.

Install for local review

From this directory:

uv sync --locked

No third-party packages are required at runtime. Python 3.11 through 3.14 is supported.

Inspect an endpoint

uv run chumbo-inspect inspect \
  https://PROJECT_REF.supabase.co/functions/v1/mcp

Use JSON for CI or another program:

uv run chumbo-inspect inspect \
  https://PROJECT_REF.supabase.co/functions/v1/mcp \
  --json

For an authenticated discovery check, put the credential in an environment variable. The command intentionally has no plaintext token argument:

CHUMBO_INSPECT_TOKEN="..." \
  uv run chumbo-inspect inspect \
  https://PROJECT_REF.supabase.co/functions/v1/mcp \
  --token-env CHUMBO_INSPECT_TOKEN

The credential is sent only to the exact endpoint being inspected. It is never sent to OAuth metadata URLs and never appears in reports or errors. Authenticated inspection requires HTTPS except for a local loopback endpoint.

The same command is available through the module entrypoint:

uv run python -m chumbo inspect https://example.com/functions/v1/mcp

The Python command is named chumbo-inspect so it does not shadow the npm chumbo builder CLI.

Use the library

from chumbo import inspect_endpoint

report = inspect_endpoint(
    "https://PROJECT_REF.supabase.co/functions/v1/mcp",
    expected_auth="oauth",
)

print(report.observed_auth)
for check in report.checks:
    print(check.name, check.ok, check.detail)

expected_auth adds a comparison check. It never replaces or rewrites the authentication mode observed from the deployed Chumbo runtime.

What is checked

  • Endpoint reachability without following redirects
  • Chumbo runtime identity and version headers
  • Observed authentication mode and strategy
  • Advertised resource URL consistency
  • Public tools/list discovery and generated rate-limit headers
  • Protected authentication gates
  • Chumbo's endpoint-local OAuth protected-resource metadata
  • Authenticated tools/list discovery when a credential is supplied

Responses are size-bounded. Malformed protocol responses become failed checks without including response bodies in public output.

Development

uv sync --locked
uv run ruff check .
uv run ruff format --check .
uv run mypy
uv run pytest
uv build

The LICENSE file is an exact package-local copy of the repository's root MIT license so both wheel and source distribution carry the license text.

Metadata

Release files for chumbo 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chumbo 0.1.0
File Size Uploaded Provenance Actions
chumbo-0.1.0.tar.gz 27.9 kB With provenance Details for chumbo-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chumbo 0.1.0
File Interpreter ABI Platform Actions
chumbo-0.1.0-py3-none-any.whl Python 3 none any Details for chumbo-0.1.0-py3-none-any.whl

Total release size: 38.6 kB

Release files / chumbo-0.1.0.tar.gz

Download URL chumbo-0.1.0.tar.gz
Size 27.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9d95b9f7748ec75c69e7948c6791e8677aabdc2829d9b069757e08afb22aa1b3
BLAKE2b-256 checksum
How to use checksums
db373eb9b463195851a7e126582465aa0c8d1c53fa59313202418b7efc89035a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / chumbo-0.1.0-py3-none-any.whl

Download URL chumbo-0.1.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d2d6e7ccc8c76124aab96f771021916cd66ca587ffa33b0e95fc75379d8875e
BLAKE2b-256 checksum
How to use checksums
2563a4737972b8d2c0fad1714c4639ecec6657af13e1196c2208d1eb5d4342c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Security for chumbo 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chumbo-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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