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-2.0.1.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-2.0.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-2.0.1.tar.gz
Algorithm Hash digest
SHA256 b3e00e4a112a9b9154ea6fdc9edb32816f7a60145641eb33bd2f43c7435fdb85
MD5 cce340e498931daa26b0e641239e80ae
BLAKE2b-256 38f6b1707ef0b14c98a38020ed33b935b3ef2029ec014a4d186b3bdabb55dd49

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_test_harness_langchain-2.0.1.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-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_test_harness_langchain-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4bd8538f0f164ddc8fe660d894f9126e367dfc74d62f2a2be9d97faf4f62c10
MD5 5005307746e1f5960a0eebb78283e143
BLAKE2b-256 ca790df81cb23d92f59d7bdf16085c62f2def8fc764c7aeed4508bc32120d3f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_test_harness_langchain-2.0.1-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