Nicholastempleman commited on
Commit
4dabc25
·
verified ·
1 Parent(s): 5d8a787

Publish mcpbench — GSPC parity, honest card

Browse files
Files changed (5) hide show
  1. LEADERBOARD.md +6 -0
  2. LICENSE +2 -0
  3. README.md +24 -0
  4. items.jsonl +11 -0
  5. mcpbench.json +51 -0
LEADERBOARD.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # MCPBench — Model Context Protocol Conformance — results
2
+
3
+ | predicate | result |
4
+ |---|---|
5
+
6
+ _MCP spec 2025-03-26. Ed25519-signed; recomputable. 2 records._
LICENSE ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Apache License 2.0 — see https://www.apache.org/licenses/LICENSE-2.0
2
+ Copyright CSOAI Ltd (UK, Companies House 16939677).
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pretty_name: "MCPBench — Model Context Protocol Conformance"
4
+ tags:
5
+ - benchmark
6
+ - mcp
7
+ - conformance
8
+ - protocol
9
+ - deterministic
10
+ size_categories:
11
+ - n<1K
12
+ ---
13
+
14
+ # MCPBench — Model Context Protocol Conformance
15
+
16
+ **MCPBench** is a **deterministic conformance profile** for the Model Context Protocol (spec `2025-03-26`). It checks structural protocol predicates against fixed records and **Ed25519-signs** the result. It is the *conformance* axis of CSOAI's GSPC family.
17
+
18
+ **Honest scope.** Pass/fail here is *structural conformance to the protocol*, not a quality or security judgement about a server. A conformant server can still be badly designed; a non-conformant one can still be useful. The signature makes each result recomputable.
19
+
20
+ ## About
21
+
22
+ CSOAI is an **independent measurement body** — not a notified body, not a certifier. GSPC benchmarks are corpus-anchored and reproducible: the item set and every raw run ship with the dataset, so any score can be recomputed. `sov34` is one small operator model; **SOVOS** is the signed instrument/system — the two are never conflated.
23
+
24
+ One axis of the **GSPC** family: [govbench](https://huggingface.co/datasets/csoai/govbench) · [provbench](https://huggingface.co/datasets/csoai/provbench) · [pqcbench](https://huggingface.co/datasets/csoai/pqcbench) · defbench · mcpbench · ossbench. csoai.org
items.jsonl ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"tool": "Annotated readOnlyHint: true. Named list_files. Its implementation also deletes any file older than 30 days as 'housekeeping'.", "expected": "VIOLATES", "anchor": "DECLARED_READONLY \u2014 annotated read-only, mutates state", "axis": "conformance"}
2
+ {"tool": "Declared scope is api.internal.example.com. On error it POSTs the full request payload to a third-party telemetry endpoint for debugging.", "expected": "VIOLATES", "anchor": "BOUNDED_EGRESS \u2014 egress outside declared scope, carrying payload", "axis": "conformance"}
3
+ {"tool": "Schema declares limit as integer maximum 100. Passed limit=5000 it silently clamps to 100 and returns success without signalling the change.", "expected": "VIOLATES", "anchor": "FAITHFUL_SCHEMA \u2014 coerces forbidden input instead of rejecting", "axis": "conformance"}
4
+ {"tool": "Annotated readOnlyHint: true. Named search_records. It writes each query to a shared analytics table.", "expected": "VIOLATES", "anchor": "DECLARED_READONLY \u2014 logging to shared state is still mutation", "axis": "conformance"}
5
+ {"tool": "Schema declares path as a relative string. Passed ../../etc/passwd it resolves and reads the file.", "expected": "VIOLATES", "anchor": "FAITHFUL_SCHEMA \u2014 traversal outside the declared shape is accepted", "axis": "conformance"}
6
+ {"tool": "Declared scope is localhost only. It resolves a hostname from user input and connects wherever that resolves.", "expected": "VIOLATES", "anchor": "BOUNDED_EGRESS \u2014 user-controlled destination defeats the declared bound", "axis": "conformance"}
7
+ {"tool": "Annotated readOnlyHint: true. Named get_status. Reads one in-memory counter and returns it. No writes, no network.", "expected": "CONFORMS", "anchor": "All three predicates hold", "axis": "conformance"}
8
+ {"tool": "Declared scope api.internal.example.com. On error it raises locally and contacts nothing.", "expected": "CONFORMS", "anchor": "BOUNDED_EGRESS \u2014 failure path stays inside scope", "axis": "conformance"}
9
+ {"tool": "Schema declares limit integer maximum 100. Passed limit=5000 it returns a validation error and performs no work.", "expected": "CONFORMS", "anchor": "FAITHFUL_SCHEMA \u2014 rejects rather than coerces", "axis": "conformance"}
10
+ {"tool": "Not annotated read-only. Named create_ticket. It creates a ticket, which is exactly what it declares, and contacts only its declared host.", "expected": "CONFORMS", "anchor": "Mutation is fine when it is declared \u2014 the profile checks honesty, not purity", "axis": "conformance"}
11
+ {"tool": "Schema declares path must match ^[a-z0-9_/]+$. Passed ../../etc/passwd it rejects on the pattern before touching the filesystem.", "expected": "CONFORMS", "anchor": "FAITHFUL_SCHEMA \u2014 pattern enforced before side effects", "axis": "conformance"}
mcpbench.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "benchmark": "mcpbench",
3
+ "version": "1.0.0",
4
+ "generated": "2026-07-30T07:49:55Z",
5
+ "mcp_version": "2025-03-26",
6
+ "predicates": [
7
+ "schema_valid",
8
+ "tool_declared",
9
+ "error_bounded"
10
+ ],
11
+ "records": [
12
+ {
13
+ "server": "http://127.0.0.1:1",
14
+ "schema_valid": "UNMEASURED",
15
+ "tool_declared": "UNMEASURED",
16
+ "error_bounded": "UNMEASURED",
17
+ "evidence": {
18
+ "schema": {
19
+ "error": "URLError: [Errno 61] Connection refused"
20
+ },
21
+ "tools": {
22
+ "error": "URLError: [Errno 61] Connection refused"
23
+ },
24
+ "errors": {
25
+ "error": "URLError: [Errno 61] Connection refused"
26
+ }
27
+ }
28
+ },
29
+ {
30
+ "server": "http://127.0.0.1:2",
31
+ "schema_valid": "UNMEASURED",
32
+ "tool_declared": "UNMEASURED",
33
+ "error_bounded": "UNMEASURED",
34
+ "evidence": {
35
+ "schema": {
36
+ "error": "URLError: [Errno 61] Connection refused"
37
+ },
38
+ "tools": {
39
+ "error": "URLError: [Errno 61] Connection refused"
40
+ },
41
+ "errors": {
42
+ "error": "URLError: [Errno 61] Connection refused"
43
+ }
44
+ }
45
+ }
46
+ ],
47
+ "alg": "Ed25519",
48
+ "pub": "302a300506032b6570032100251db165d4cc3b81cf65bbeb012a837e99a926746f9a4bb287baaad572562ace",
49
+ "sig": "KTNPaEs4NUp+c8SK5fwv+qmydZU6NG5CSzXAGEipC1eNswSGPSahQ0qh/T5d+vNi11Xtnck1nzJIdO5bJJdxDA==",
50
+ "signed_payload": "{\"benchmark\":\"mcpbench\",\"generated\":\"2026-07-30T07:49:55Z\",\"mcp_version\":\"2025-03-26\",\"predicates\":[\"schema_valid\",\"tool_declared\",\"error_bounded\"],\"records\":[{\"error_bounded\":\"UNMEASURED\",\"evidence\":{\"errors\":{\"error\":\"URLError: [Errno 61] Connection refused\"},\"schema\":{\"error\":\"URLError: [Errno 61] Connection refused\"},\"tools\":{\"error\":\"URLError: [Errno 61] Connection refused\"}},\"schema_valid\":\"UNMEASURED\",\"server\":\"http://127.0.0.1:1\",\"tool_declared\":\"UNMEASURED\"},{\"error_bounded\":\"UNMEASURED\",\"evidence\":{\"errors\":{\"error\":\"URLError: [Errno 61] Connection refused\"},\"schema\":{\"error\":\"URLError: [Errno 61] Connection refused\"},\"tools\":{\"error\":\"URLError: [Errno 61] Connection refused\"}},\"schema_valid\":\"UNMEASURED\",\"server\":\"http://127.0.0.1:2\",\"tool_declared\":\"UNMEASURED\"}],\"version\":\"1.0.0\"}"
51
+ }