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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-2.2.0.tar.gz
Algorithm Hash digest
SHA256 fa5e09c3d09f4ca644b8ad2700eb533d0431942bd5e327c8a8f5ab380cfaa2dd
MD5 cf22eab4ae533d79eaf930fefea20e3f
BLAKE2b-256 788a7cb24c41c6cc7019f53d33106570c3348c392d6704330ae9ff623f36d2ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2052712edba985371475acf55d158b95a12b800f01908f51e26d3b5d5d681130
MD5 d95e541e60eaeff24676e1a94a6c7857
BLAKE2b-256 15c624ee54ccfb75af5bc082d09a4aa7daaf634e8cc0111083361a74b0480108

See more details on using hashes here.

Provenance

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