Skip to main content

mcp-test-harness-ollama

Ollama local models testing helpers for MCP Test Harness.

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

Install

pip install mcp-test-harness-ollama

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

Usage

from mcp_test_harness_ollama import assert_ollama_tool, mcp_tools_to_ollama_functions, create_ollama_test_config

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

def test_schema_bridge(mcp_tools):
    # mcp_tools from list_tools — convert for Ollama SDKs
    return mcp_tools_to_ollama_functions(mcp_tools)

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

Helpers

  • Tool call assertion with optional text check
  • MCP tool → Ollama 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-ollama 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-ollama 5.3.0
File Size Uploaded Provenance Actions
mcp_test_harness_ollama-5.3.0.tar.gz 2.8 kB With provenance Details for mcp_test_harness_ollama-5.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.9 kB

Release files / mcp_test_harness_ollama-5.3.0.tar.gz

Download URL mcp_test_harness_ollama-5.3.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d992d49c0fcc9e546f27b23925bb757a7af20d00d643328b02043730e0c1d733
BLAKE2b-256 checksum
How to use checksums
b9d2c29d63f51b50da387d89eef44dbf2fbabfe452172e67369fc31030d8bf21
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_ollama-5.3.0-py3-none-any.whl

Download URL mcp_test_harness_ollama-5.3.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0c4b816dbb16b73a5c8849c1032a6709603377cb11f93eccf01c5dd0576c82b
BLAKE2b-256 checksum
How to use checksums
90bb18c3dc0c24af33c3960e1323309526d1a2472b2a5c761166e65200b3945d
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

Security for mcp-test-harness-ollama 5.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_test_harness_ollama-5.3.0.tar.gz

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

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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