Skip to main content

LangChain MCP tool testing helpers for MCP Test Harness

Project description

mcp-test-harness-langchain

LangChain MCP tool testing helpers for MCP Test Harness.

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

Install

pip install mcp-test-harness-langchain

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

Usage

from mcp_test_harness import assert_tool_call, assert_capabilities

async def test_server(mcp_server):
    await assert_capabilities(mcp_server, {"tools": {}})
    await assert_tool_call(mcp_server, "my_tool", {})

License

Non-commercial use only with mandatory attribution. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_test_harness_langchain-3.0.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

mcp_test_harness_langchain-3.0.3-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_test_harness_langchain-3.0.3.tar.gz.

File metadata

File hashes

Hashes for mcp_test_harness_langchain-3.0.3.tar.gz
Algorithm Hash digest
SHA256 acebfdb11879f257ecd6591545dc557867842590ab368ee30d11c7e1425cdcb6
MD5 6e5007599be31e9c815891d8fcac2b87
BLAKE2b-256 8f30d997cf88b8419c3831900483e2d8f7ec321c8512dc2d26681b646809c8f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_test_harness_langchain-3.0.3.tar.gz:

Publisher: publish-packages.yml on vaquarkhan/mcp-test-harness

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

File details

Details for the file mcp_test_harness_langchain-3.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_test_harness_langchain-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53170dbc4388523884960583690c8bc7eaa5f73f01b1f1248aa0bce74ae7596c
MD5 bdd4e30918b0c0b0b73d121bc23e1253
BLAKE2b-256 98e78e812d120c05eb8e5afcc7b3c697b03118cd389a8d020d0281885c64d50f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_test_harness_langchain-3.0.3-py3-none-any.whl:

Publisher: publish-packages.yml on vaquarkhan/mcp-test-harness

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 Pingdom Monitoring Sentry Error logging StatusPage Status page