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-0.1.0.tar.gz (1.3 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-0.1.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2fc38a8f8fb12b802c7bcf34043e301f2969b93b32aeea89c11d61f048a830bc
MD5 283ba144c2eb28de4ed096328881f402
BLAKE2b-256 e1699e2c1dc41991fc517b3fa2c36b84256fc6ec920a29a952d74ea4dbe8acf1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_test_harness_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2293a7a3b20e9d758f3670b77a289ca32da4d0850db9307ab6f2cfe33324e9b3
MD5 4f4fab84d787dca8134257ca3d599d20
BLAKE2b-256 b2de5b00f0bf505f1fdb74042626d5cc53614d896a5da22361e17d4dca9ac025

See more details on using hashes here.

Provenance

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