Skip to main content

Google Vertex AI testing helpers for MCP Test Harness

Project description

mcp-test-harness-vertexai

Google Vertex AI testing helpers for MCP Test Harness.

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

Install

pip install mcp-test-harness-vertexai

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

Usage

from mcp_test_harness_vertexai import assert_vertexai_tool, mcp_tools_to_vertexai_function_declarations, create_vertexai_test_config

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

def test_schema_bridge(mcp_tools):
    # mcp_tools from list_tools — convert for Google Vertex AI SDKs
    return mcp_tools_to_vertexai_function_declarations(mcp_tools)

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

Helpers

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

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_vertexai-3.0.10.tar.gz (2.8 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_vertexai-3.0.10-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_test_harness_vertexai-3.0.10.tar.gz.

File metadata

File hashes

Hashes for mcp_test_harness_vertexai-3.0.10.tar.gz
Algorithm Hash digest
SHA256 539df82d1a6d0751fb44af0a52c4e7eea94429f1438c90dc6cb1876dd6d9c01c
MD5 fe9b812dc9bb0bbe124b93f58d235e24
BLAKE2b-256 0a5ef25cf1a93c97b569718377c9d640d45b95c63a6ad7a092871c9667b3dd10

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_test_harness_vertexai-3.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 14fa73f5f57e357bdcf7d378916304eed6f4d61c1de727a80adec8cbf92cacca
MD5 4411fcb2a466421c984e072d9cde4a97
BLAKE2b-256 370839abca8826e4b1926dde4cbd7224130bfd891a7f2a7e4067c05fd9802556

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_test_harness_vertexai-3.0.10-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