mcp-assert 0.2.4__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mcp_assert/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """mcp-assert: deterministic correctness testing for MCP servers."""
2
+
3
+ __version__ = "0.2.4"
mcp_assert/__main__.py ADDED
@@ -0,0 +1,35 @@
1
+ """Entry point for `python -m mcp_assert`."""
2
+
3
+ import os
4
+ import sys
5
+ import subprocess
6
+
7
+
8
+ def _find_binary():
9
+ """Locate the mcp-assert binary bundled in this package."""
10
+ pkg_dir = os.path.dirname(os.path.abspath(__file__))
11
+ # Binary is placed in mcp_assert/bin/ by the wheel build
12
+ names = ["mcp-assert.exe", "mcp-assert"] if sys.platform == "win32" else ["mcp-assert"]
13
+ for name in names:
14
+ path = os.path.join(pkg_dir, "bin", name)
15
+ if os.path.isfile(path):
16
+ return path
17
+ return None
18
+
19
+
20
+ def main():
21
+ binary = _find_binary()
22
+ if binary is None:
23
+ print(
24
+ "mcp-assert: binary not found. This platform may not be supported.\n"
25
+ "Install from https://github.com/blackwell-systems/mcp-assert/releases",
26
+ file=sys.stderr,
27
+ )
28
+ sys.exit(1)
29
+
30
+ result = subprocess.run([binary] + sys.argv[1:])
31
+ sys.exit(result.returncode)
32
+
33
+
34
+ if __name__ == "__main__":
35
+ main()
Binary file
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.4
2
+ Name: mcp-assert
3
+ Version: 0.2.4
4
+ Summary: Deterministic correctness testing for MCP servers
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/blackwell-systems/mcp-assert
7
+ Project-URL: Documentation, https://blackwell-systems.github.io/mcp-assert
8
+ Project-URL: Repository, https://github.com/blackwell-systems/mcp-assert
9
+ Keywords: mcp,testing,assertions,eval,model-context-protocol
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Topic :: Software Development :: Testing
14
+ Requires-Python: >=3.8
15
+ Description-Content-Type: text/markdown
16
+
17
+ # mcp-assert
18
+
19
+ Deterministic correctness testing for MCP servers. No SDK required. No LLM required.
20
+
21
+ This is the PyPI distribution of [mcp-assert](https://github.com/blackwell-systems/mcp-assert), a single Go binary that connects to your MCP server over stdio, SSE, or HTTP, calls your tools, and asserts the results.
22
+
23
+ ## Install
24
+
25
+ ```bash
26
+ pip install mcp-assert
27
+ ```
28
+
29
+ ## Usage
30
+
31
+ ```bash
32
+ # Scaffold your first assertion
33
+ mcp-assert init evals
34
+
35
+ # Run it
36
+ mcp-assert run --suite evals/ --fixture evals/fixtures
37
+ ```
38
+
39
+ Or use as a Python module:
40
+
41
+ ```bash
42
+ python -m mcp_assert run --suite evals/
43
+ ```
44
+
45
+ ## Documentation
46
+
47
+ Full documentation: [blackwell-systems.github.io/mcp-assert](https://blackwell-systems.github.io/mcp-assert)
48
+
49
+ ## License
50
+
51
+ MIT
@@ -0,0 +1,8 @@
1
+ mcp_assert/__init__.py,sha256=Rhs9xzN9qQgaQCJTZdtpCbA9Fx766w6AoQ5xwnXUnJk,92
2
+ mcp_assert/__main__.py,sha256=1XsecHEhKsC79LmhLXM3Ri8uHlV58qLv9y3HQtv4Bjc,960
3
+ mcp_assert/bin/mcp-assert.exe,sha256=EVPS0HiZrmZZrNzvBPZEG2MlOloNSPhGGx9hbu6kavM,7931904
4
+ mcp_assert-0.2.4.dist-info/METADATA,sha256=7zuaGNDxEZ48BQuD-Q7JedBZzPw35HcrVOl6y4oEKlY,1402
5
+ mcp_assert-0.2.4.dist-info/WHEEL,sha256=QR8DNjG6Lr6bNErJWJgF4dP2dJ2N7NpY-BWly1OvcTM,97
6
+ mcp_assert-0.2.4.dist-info/entry_points.txt,sha256=0V_D67N3gg6P1xneP5lXLWOiIRyYahloLQKEgKUEYLU,56
7
+ mcp_assert-0.2.4.dist-info/top_level.txt,sha256=lmeW4vd5fUIQaQhp6jCR2DrW9yP4LflAdzPF7_Wj_VU,11
8
+ mcp_assert-0.2.4.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ mcp-assert = mcp_assert.__main__:main
@@ -0,0 +1 @@
1
+ mcp_assert