mcp-better 0.7.0 → 0.8.0
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.
- package/README.md +8 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Modern MCP textbook **that runs**, reviewed and approved as an AAIF Ambassador c
|
|
|
26
26
|
|
|
27
27
|
One Agent Skill (`mcp-better-lab`) on the same process as tools:
|
|
28
28
|
|
|
29
|
-
→ [
|
|
29
|
+
→ **Tutorial: [Ship a skill with your MCP server](./docs/SKILLS-OVER-MCP.md)** — each step linked to the code, and the four checks that prove a host loads the skill (verified in Claude Code 2.1.332: `mcp-better:mcp-better-lab` listed and loaded).
|
|
30
30
|
|
|
31
31
|
## What is 7/28?
|
|
32
32
|
|
|
@@ -55,6 +55,7 @@ Humans say **7/28**. Machines negotiate **`2026-07-28`**.
|
|
|
55
55
|
| **v0.5** | Same era + **matching client completes MRTR** — `mrtr-client` finishes `confirm_echo` |
|
|
56
56
|
| **v0.6** | Same era + **the spec's own tests** — the official MCP conformance suite in CI ([Conformance](#conformance)) · cache hints on every list and read · declare what you answer · `rmcp` 3.10 |
|
|
57
57
|
| **v0.7** | Same era + **tools say what they do** — every tool carries all four annotation hints (read-only, not destructive, idempotent, closed world) · `confirm_echo` asks only clients that declare elicitation (else `-32021`) · `server/discover` stamped like the lists · a strict command line (`--version`, unknown arguments exit 2) |
|
|
58
|
+
| **v0.8** | Same era + **confirmations that hold** — `confirm_echo`'s `requestState` expires after 5 minutes · a changed `message` in round 2 is refused (`-32602`) · strict SKILL.md frontmatter (refuses what YAML reads differently) · single-file skills by design |
|
|
58
59
|
|
|
59
60
|
## What BETTER means
|
|
60
61
|
|
|
@@ -106,11 +107,11 @@ MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example mrtr-client
|
|
|
106
107
|
```bash
|
|
107
108
|
cargo run --release
|
|
108
109
|
# install from crates.io — first hit compiles deps once (see above):
|
|
109
|
-
cargo install mcp-better --version 0.
|
|
110
|
-
mcp-better --version # mcp-better 0.
|
|
110
|
+
cargo install mcp-better --version 0.8.0 --locked
|
|
111
|
+
mcp-better --version # mcp-better 0.8.0
|
|
111
112
|
mcp-better --help
|
|
112
113
|
# optional lying companion (teaching only — not for hosts):
|
|
113
|
-
# cargo install mcp-better --version 0.
|
|
114
|
+
# cargo install mcp-better --version 0.8.0 --locked --bin mcp-worse
|
|
114
115
|
```
|
|
115
116
|
|
|
116
117
|
**Streamable HTTP** (local demo only — see [SECURITY.md](./SECURITY.md)):
|
|
@@ -141,7 +142,7 @@ cargo run --release -- --http
|
|
|
141
142
|
|
|
142
143
|
All three are annotated `readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`, `openWorldHint: false`: they read only, change nothing and stay in the process.
|
|
143
144
|
|
|
144
|
-
## Protocol claims (v0.
|
|
145
|
+
## Protocol claims (v0.8.0 — same 7/28 era · the official conformance suite in CI)
|
|
145
146
|
|
|
146
147
|
| Surface | Status |
|
|
147
148
|
|---------|--------|
|
|
@@ -152,8 +153,8 @@ All three are annotated `readOnlyHint: true`, `destructiveHint: false`, `idempot
|
|
|
152
153
|
| Capabilities | **tools** · **resources** (skill docs) · **skills** extension (SEP-2640, rmcp native) · prompts and completions **not declared** (`prompts/*`, `completion/complete` → method not found) |
|
|
153
154
|
| Cache hints | discover, tools, resources and skills: **`ttlMs=60000`**, **`cacheScope=public`** · tool order **`health`→`echo`→`confirm_echo`** (restart-stable) |
|
|
154
155
|
| Tool annotations | all four hints on every tool: read-only · not destructive · idempotent · closed world (`tests/handlers.rs`) |
|
|
155
|
-
| MRTR (optional) | **`confirm_echo`** — mid-call confirm · sealed `requestState` · asked only of clients that declare elicitation (else `-32021`) · matching client **`mrtr-client`** · [`docs/MRTR-CONFIRM-ECHO.md`](./docs/MRTR-CONFIRM-ECHO.md)
|
|
156
|
-
| Skills (optional) | **`mcp-better-lab`** · `skills/list` · digests · [`docs/SKILLS-OVER-MCP.md`](./docs/SKILLS-OVER-MCP.md) |
|
|
156
|
+
| MRTR (optional) | **`confirm_echo`** — mid-call confirm · sealed `requestState` (expires after 5 min; round 2 must resend the same `message`) · asked only of clients that declare elicitation (else `-32021`) · matching client **`mrtr-client`** · [`docs/MRTR-CONFIRM-ECHO.md`](./docs/MRTR-CONFIRM-ECHO.md)
|
|
157
|
+
| Skills (optional) | **`mcp-better-lab`** · `skills/list` · digests · strict frontmatter · one file per skill by design · [`docs/SKILLS-OVER-MCP.md`](./docs/SKILLS-OVER-MCP.md) |
|
|
157
158
|
| Lying companion | **`mcp-worse`** — reversed tool order (the lie) + the SDK defaults left in place: no cache hints of its own (the wire shows `ttlMs: 0` + `private`, valid but uninformative), no tool annotations, and `prompts/list` / `completion/complete` answered without being declared · stdio only · same `--version` · contrast-smoke only |
|
|
158
159
|
| OAuth / tasks | out of hero |
|
|
159
160
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-better",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"mcpName": "io.github.Wolfe-Jam/mcp-better",
|
|
5
5
|
"description": "Rust MCP textbook for 2026-07-28: annotated tools, MCP conformance suite in CI. AAIF contribution. npm shim downloads the native binary from GitHub Releases.",
|
|
6
6
|
"license": "MIT",
|