Skip to main content

chunky-mcp-utils

Utilities for handling large responses in chunky-mcp tools.

Installation

pip install chunky-mcp-utils

Usage

Import the helper in your tool:

from chunky_mcp_utils import handle_large_response

@mcp.tool()
def my_tool() -> list[types.TextContent]:
    """
    Gets a list of all the employees in the system from the database
    """
    # Might give a large JSON response
    response = requests.get("https://someblob.com")
    response.raise_for_status()
    response_data = response.json()
    
    # Chunker hanldes the large response and calls following read chunk tools
    result = handle_large_response(response_data, "my_tool", chunker)

Build + Publish

  1. python -m build
  2. twine upload dist/*

License

MIT

Metadata

Release files for chunky-mcp-utils 0.1.3

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

Source distribution (sdist)

Source distribution for chunky-mcp-utils 0.1.3
File Size Uploaded Provenance
chunky_mcp_utils-0.1.3.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chunky-mcp-utils 0.1.3
File Interpreter ABI Platform
chunky_mcp_utils-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / chunky_mcp_utils-0.1.3.tar.gz

Download URL chunky_mcp_utils-0.1.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fd3645b0b996d6776ac1723cc63714058c7fdc6d2bc12f75793a508e9757b0e8
BLAKE2b-256 checksum
How to use checksums
b8a6b73d38b9c1943ee5ee23caa09cf1c80569d5190e9931d5c6ccd168be1ed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / chunky_mcp_utils-0.1.3-py3-none-any.whl

Download URL chunky_mcp_utils-0.1.3-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
115c083f1692dabf30394aaf68f5c3c9cba6fcc13dc9701a6fa19d2d01d6775e
BLAKE2b-256 checksum
How to use checksums
41c46ede88a764bcf1f2c0ca0da1bae2331831dc2a449d9f94491ffad63f38b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for chunky-mcp-utils 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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