Skip to main content

mcp-test-harness-fastmcp

FastMCP servers testing helpers for MCP Test Harness.

Author: Vaquar Khan -- https://github.com/vaquarkhan

Install

pip install mcp-test-harness-fastmcp

This automatically installs mcp-test-harness as a dependency.

Usage

from mcp_test_harness_fastmcp import assert_fastmcp_tool, assert_fastmcp_resource

async def test_echo(mcp_server):
    await assert_fastmcp_tool(mcp_server, "echo", {"message": "hi"}, expected_text="hi")

async def test_config(mcp_server):
    await assert_fastmcp_resource(mcp_server, "config://app", expected_text='{"debug": true}')

Helpers

  • Tool call assertion with optional text check
  • MCP tool → FastMCP schema converter
  • mcp-test.yaml-shaped config builder

License

MIT. See LICENSE.

Metadata

Release files for mcp-test-harness-fastmcp 5.3.1

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-test-harness-fastmcp 5.3.1
File Size Uploaded Provenance Actions
mcp_test_harness_fastmcp-5.3.1.tar.gz 3.2 kB With provenance Details for mcp_test_harness_fastmcp-5.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-test-harness-fastmcp 5.3.1
File Interpreter ABI Platform Actions
mcp_test_harness_fastmcp-5.3.1-py3-none-any.whl Python 3 none any Details for mcp_test_harness_fastmcp-5.3.1-py3-none-any.whl

Total release size: 7.7 kB

Release files / mcp_test_harness_fastmcp-5.3.1.tar.gz

Download URL mcp_test_harness_fastmcp-5.3.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f1146b5edce23259291e455eae7af1caa0b81d518689732f7106e1b5ca48321d
BLAKE2b-256 checksum
How to use checksums
317ed965d62355201650cec610201e1ef82eeb5c720eb337f06bf540f8761d37
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 Oct 24, 2026.

Transparency log

Release files / mcp_test_harness_fastmcp-5.3.1-py3-none-any.whl

Download URL mcp_test_harness_fastmcp-5.3.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2104e052a712606d2467d67cdd30d46fe332a555576ff7e9c2236757e8527e0c
BLAKE2b-256 checksum
How to use checksums
5c7b98dd142cac4d5a8acffeaf827d75c370dd91be3623df80cec29642fe0933
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 Oct 24, 2026.

Transparency log

Security for mcp-test-harness-fastmcp 5.3.1

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 mcp_test_harness_fastmcp-5.3.1.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 Oct 24, 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.

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