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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-3.0.9.tar.gz
Algorithm Hash digest
SHA256 5d9e5bfe9f52d483c680cf1e0c904474e1580b7afb8f6c99a704b5d3415c804f
MD5 360d77d8e2d32eeb662999f239d991d3
BLAKE2b-256 2dd57efc0e4a4829ce9900c9a2d365457bd6a524d0390e2150a926bceb9c7149

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-3.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cfd7f9cd2cfb27dc7a8503f6b91a56a26f9900aeee1fa6cc6874cbf841969c3b
MD5 14df2b422b99ea630831ae2a2010f935
BLAKE2b-256 cdd00a374c71d6bcf8c3324bb3a03a070346b519d739e1b461c88b677434c090

See more details on using hashes here.

Provenance

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