Skip to main content

OpenAI function calling testing helpers for MCP Test Harness

Project description

mcp-test-harness-openai

OpenAI function calling testing helpers for MCP Test Harness.

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

Install

pip install mcp-test-harness-openai

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

Uploaded Python 3

File details

Details for the file mcp_test_harness_openai-2.1.0.tar.gz.

File metadata

  • Download URL: mcp_test_harness_openai-2.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_test_harness_openai-2.1.0.tar.gz
Algorithm Hash digest
SHA256 cb75819328f04cffc71423ee5a92724b600181fbc85da1e28da9857fd43e9a40
MD5 2a4f4d0604dae871ab4075a97c166f93
BLAKE2b-256 344f783c13dfebca70c7832c9975ad562ba9f4032d9314e037a83d38e28833ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_test_harness_openai-2.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_openai-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_test_harness_openai-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24907a06cd2ed84ed686390ef1a121a0f6dd775d8f72148cbff99793a5bd284b
MD5 67ecb3ebcfc715755ca0039e3e5359a5
BLAKE2b-256 0e91a0c2253cf294f63ced1d2445b5d4746a528c22c26000813bc503590c5fac

See more details on using hashes here.

Provenance

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