Skip to main content

mcp-page-probe

A local MCP server fixture and a pair of assertions for agent clients that discover tools across multiple pages. The second tool has to be visible and callable.

pip install mcp-page-probe
mcp-page-probe check
mcp-page-probe check --empty-middle

To test an application, configure its normal stdio transport with the command mcp-page-probe serve --empty-middle. In the application's test suite, pass its actual discovery and invocation adapters:

from mcp_page_probe import assert_discovery
# list_names() returns the tool names exposed to the agent.
# invoke(name, args) dispatches through the application and returns its text result.
result = await assert_discovery(list_names, invoke)

The fixture serves probe_first, then optionally an empty list with a continuation cursor, then probe_later. The assertions reject absent and duplicate names, invoke the later tool with a unique argument and check its reply. If the application namespaces tools, remove its server prefix in the adapters. The built-in check runs the Python SDK client over a real subprocess. Client discovery behavior is specific to the application adapter.

Protocol pagination

Exercise two client registries

The client example exercises the Hugging Face Hub MCP client (1.33.0) and LangChain MCP adapters (0.3.2). Both exposed the two names across an empty middle page and returned the expected unique response from the later tool. Run from a source checkout with the fixture installed in a separate environment. The example reads the assertions from the checkout so each client can use its supported SDK version.

python -m venv fixture-env
fixture-env/bin/pip install .
python -m venv clients-env
clients-env/bin/pip install 'huggingface-hub==1.33.0' 'langchain-mcp-adapters==0.3.2' 'mcp>=1.20,<2'
PYTHONPATH=src clients-env/bin/python examples/client_registries.py "$PWD/fixture-env/bin/mcp-page-probe"

Metadata

Release files for mcp-page-probe 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 mcp-page-probe 0.1.0
File Size Uploaded Provenance Actions
mcp_page_probe-0.1.0.tar.gz 4.9 kB With provenance Details for mcp_page_probe-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.2 kB

Release files / mcp_page_probe-0.1.0.tar.gz

Download URL mcp_page_probe-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8227dbd3105c5041e975edfa8b2364e3e0b26eaa71f4e80216e16a736e4ba9f3
BLAKE2b-256 checksum
How to use checksums
1d5319dcd4ae49ae247f4f596bc183b69a62e4e71ba54641c675cafb4d77f38f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 5, 2026.

Transparency log

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

Download URL mcp_page_probe-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cffc0fef9fccec613128b55c9d35cd5718ade18333a9a2588dea48e253b8342
BLAKE2b-256 checksum
How to use checksums
b72424cb6d80a9c6c1835a84b6cc0632b714059dc703dca7f77c227ebb59565b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 5, 2026.

Transparency log

Security for mcp-page-probe 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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_page_probe-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 Dec 5, 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