mcp-better 0.4.2 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +33 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  **NONE | GOOD | [BETTER] | BEST**
4
4
 
5
+ Textbook for **AGENTS.md** on that scale — honest modern MCP at the **BETTER** step.
5
6
  *(protocol **2026-07-28** — the modern MCP release)*
6
7
 
7
8
  ```text
@@ -12,7 +13,20 @@ AAIF-verified modern MCP textbook **that runs**. Rust · `rmcp` **3.0.x** (lock
12
13
  **Book:** [`textbook/`](./textbook/) — what · why · how · [doctrine](./textbook/DOCTRINE-book-is-app.md).
13
14
  **App:** this binary + smokes. Lesson after lesson, version after version — knowledge compounds.
14
15
 
15
- > **BEST** (persistent AI project context) lives at **[faf.one/agents](https://faf.one/agents)** — one hop up from this textbook.
16
+ > **BEST** (persistent project DNA for agents — **AGENTS.md** / FAF at scale) lives at **[faf.one/agents](https://faf.one/agents)** — one hop up from this textbook.
17
+
18
+ ## Dual-package (optional)
19
+
20
+ **Cargo stays first.** Optional npm is only an on-ramp to the same native binary for npx-style hosts.
21
+
22
+ → [Why dual-package](./docs/DUAL-PACKAGE-FOR-RUST-MCP.md) — positioning + FAQ
23
+ → [Full guide (how)](./docs/DUAL-PACKAGE-RUST-MCP.md) — lockstep, publish order, OIDC, score + wire
24
+
25
+ ## Skills over MCP (optional · textbook)
26
+
27
+ One Agent Skill (`mcp-better-lab`) on the same process as tools:
28
+
29
+ → [docs/SKILLS-OVER-MCP.md](./docs/SKILLS-OVER-MCP.md) — extension · `skills/list` · `skills/get` · digests
16
30
 
17
31
  ## What is 7/28?
18
32
 
@@ -36,6 +50,9 @@ Humans say **7/28**. Machines negotiate **`2026-07-28`**.
36
50
  | **v0.2** | Same 7/28 era + **Streamable HTTP** road + routing headers (`Mcp-Method` / `Mcp-Name`) |
37
51
  | **v0.3** | Same era + **deeper correctness** — multi-list + restart-order smokes · `mcp-worse` contrast |
38
52
  | **v0.4** | Same era + **dual package** — cargo + npm shim · `npx mcp-better` with **no Rust toolchain** |
53
+ | **v0.4.3** | Same era + **`confirm_echo` MRTR** (SEP-2322) + **Agent Skills** (`mcp-better-lab`) — see [`docs/MRTR-CONFIRM-ECHO.md`](./docs/MRTR-CONFIRM-ECHO.md) · [`docs/SKILLS-OVER-MCP.md`](./docs/SKILLS-OVER-MCP.md) |
54
+ | **v0.4.4** | Same era + **book matches 0.4.3 wire** — no new tool · catalogs named `health` → `echo` → `confirm_echo` |
55
+ | **v0.5** | Same era + **matching client completes MRTR** — `mrtr-client` finishes `confirm_echo` |
39
56
 
40
57
  ## What BETTER means
41
58
 
@@ -70,6 +87,8 @@ MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" \
70
87
  MCP_WORSE_BIN="$(pwd)/target/debug/mcp-worse" \
71
88
  cargo run --example contrast-smoke
72
89
  MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example http-smoke
90
+ # 0.5 matching client (completes confirm_echo)
91
+ MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example mrtr-client
73
92
  ```
74
93
 
75
94
  **stdio** (default — Cursor / Claude Desktop):
@@ -77,10 +96,11 @@ MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example http-smoke
77
96
  ```bash
78
97
  cargo run --release
79
98
  # or from crates.io:
80
- cargo install mcp-better --version 0.4.2
99
+ cargo install mcp-better --version 0.4.3
81
100
  mcp-better --help
82
101
  # optional lying companion (teaching only — not for hosts):
83
- # cargo install mcp-better --version 0.4.2 --bin mcp-worse
102
+ # cargo install mcp-better --version 0.4.3 --bin mcp-worse
103
+ # this tree is 0.5.0 (matching client). Registries stay 0.4.3 until tagged.
84
104
  ```
85
105
 
86
106
  > First cargo install compiles the ecosystem once (not 100+ of our tools — just Rust deps). One-time wait; then you’re done.
@@ -109,8 +129,9 @@ cargo run --release -- --http
109
129
  |------|---------|
110
130
  | `health` | Liveness — status, version, protocol. No side effects. Not a k8s probe contract. |
111
131
  | `echo` | Pure demo — returns `message` unchanged. |
132
+ | `confirm_echo` | Textbook **MRTR** (SEP-2322) — echo after mid-call confirm · sealed `requestState`. |
112
133
 
113
- ## Protocol claims (v0.4 — same 7/28 era, dual package)
134
+ ## Protocol claims (v0.5.0 — same 7/28 era · matching client completes MRTR)
114
135
 
115
136
  | Surface | Status |
116
137
  |---------|--------|
@@ -118,10 +139,12 @@ cargo run --release -- --http
118
139
  | Transport | **stdio** (default) · **Streamable HTTP** (`--http`) |
119
140
  | HTTP mode | Stateless for 7/28 · `json_response` · local **Host** guards |
120
141
  | Routing headers | Streamable HTTP POSTs use **`Mcp-Method`** and **`Mcp-Name`** when naming a tool (SEP-2243); `http-smoke` asserts this happy path |
121
- | Capabilities | **tools** only |
122
- | List cache | **`ttlMs=60000`**, **`cacheScope=public`**, order **`health`→`echo`** (restart-stable) |
142
+ | Capabilities | **tools** · **resources** (skill docs) · **experimental** skills extension |
143
+ | List cache | **`ttlMs=60000`**, **`cacheScope=public`**, order **`health`→`echo`→`confirm_echo`** (restart-stable) |
144
+ | MRTR (optional) | **`confirm_echo`** — mid-call confirm · sealed `requestState` · matching client **`mrtr-client`** · [`docs/MRTR-CONFIRM-ECHO.md`](./docs/MRTR-CONFIRM-ECHO.md)
145
+ | Skills (optional) | **`mcp-better-lab`** · `skills/list` · digests · [`docs/SKILLS-OVER-MCP.md`](./docs/SKILLS-OVER-MCP.md) |
123
146
  | Lying companion | **`mcp-worse`** — unstamped + reversed order (contrast-smoke only) |
124
- | Resources / prompts / OAuth / tasks | out of hero |
147
+ | OAuth / tasks | out of hero |
125
148
 
126
149
  ## Textbook
127
150
 
@@ -170,6 +193,9 @@ For persistent, versionable AI project context beyond a protocol textbook:
170
193
  - [docs/BETTER-BEST.md](./docs/BETTER-BEST.md) — BETTER vs BEST
171
194
  - [GETTING-STARTED.md](./GETTING-STARTED.md)
172
195
  - [docs/SDK-NOTES.md](./docs/SDK-NOTES.md) — `serve` vs Discover honesty
196
+ - [docs/DUAL-PACKAGE-FOR-RUST-MCP.md](./docs/DUAL-PACKAGE-FOR-RUST-MCP.md) — why dual-package (cargo first · FAQ)
197
+ - [docs/DUAL-PACKAGE-RUST-MCP.md](./docs/DUAL-PACKAGE-RUST-MCP.md) — how: full dual cargo+npm guide
198
+ - [docs/MCP-DIST-POST.md](./docs/MCP-DIST-POST.md) — lockstep post-step (does not publish)
173
199
  - [SECURITY.md](./SECURITY.md) · [CONTRIBUTING.md](./CONTRIBUTING.md)
174
200
 
175
201
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-better",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "mcpName": "io.github.Wolfe-Jam/mcp-better",
5
5
  "description": "AAIF-verified modern MCP setup optimised to the 2026-07-28 model (BETTER textbook). npm shim downloads the native binary from GitHub Releases.",
6
6
  "license": "MIT",