Skip to main content

mcp-test-harness-llamaindex

LlamaIndex tools testing helpers for MCP Test Harness.

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

Install

pip install mcp-test-harness-llamaindex

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

Usage

from mcp_test_harness_llamaindex import assert_llamaindex_tool, mcp_tools_to_llamaindex_tools, create_llamaindex_test_config

async def test_tool(mcp_server):
    await assert_llamaindex_tool(mcp_server, "my_tool", {}, expected_text="ok")

def test_schema_bridge(mcp_tools):
    # mcp_tools from list_tools — convert for LlamaIndex SDKs
    return mcp_tools_to_llamaindex_tools(mcp_tools)

cfg = create_llamaindex_test_config("python server.py", timeout=45)

Helpers

  • Tool call assertion with optional text check
  • MCP tool → LlamaIndex schema converter
  • mcp-test.yaml-shaped config builder

License

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

Metadata

Release files for mcp-test-harness-llamaindex 5.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-test-harness-llamaindex 5.3.0
File Size Uploaded
mcp_test_harness_llamaindex-5.3.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-test-harness-llamaindex 5.3.0
File Interpreter ABI Platform
mcp_test_harness_llamaindex-5.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / mcp_test_harness_llamaindex-5.3.0.tar.gz

Download URL mcp_test_harness_llamaindex-5.3.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
90ab63c1b31f8a2c182b5cda9cbd6f62ed846011bbe4c1775fe0c2d3074b9a49
BLAKE2b-256 checksum
How to use checksums
26ba6add750b160215d2476c9d2a3fb83ea073a5b1cfb7bcd1392909d9e2c3c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / mcp_test_harness_llamaindex-5.3.0-py3-none-any.whl

Download URL mcp_test_harness_llamaindex-5.3.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f9a6bb12184f49e83e173f3c68c5657b01e80283f0cff38d82771ea96a092d9
BLAKE2b-256 checksum
How to use checksums
1b979d618fdd3315a08252e90fe023933c81f84d3179e095d97acd84f4386841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.3.0 This release

2 release files

5.2.0

2 release files

5.0.0

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.9

2 release files

3.0.8

2 release files

3.0.7

2 release files

3.0.6

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page