mcp-better 0.4.2 → 0.4.3

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 +28 -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,7 @@ 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) |
39
54
 
40
55
  ## What BETTER means
41
56
 
@@ -77,10 +92,10 @@ MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example http-smoke
77
92
  ```bash
78
93
  cargo run --release
79
94
  # or from crates.io:
80
- cargo install mcp-better --version 0.4.2
95
+ cargo install mcp-better --version 0.4.3
81
96
  mcp-better --help
82
97
  # optional lying companion (teaching only — not for hosts):
83
- # cargo install mcp-better --version 0.4.2 --bin mcp-worse
98
+ # cargo install mcp-better --version 0.4.3 --bin mcp-worse
84
99
  ```
85
100
 
86
101
  > First cargo install compiles the ecosystem once (not 100+ of our tools — just Rust deps). One-time wait; then you’re done.
@@ -109,8 +124,9 @@ cargo run --release -- --http
109
124
  |------|---------|
110
125
  | `health` | Liveness — status, version, protocol. No side effects. Not a k8s probe contract. |
111
126
  | `echo` | Pure demo — returns `message` unchanged. |
127
+ | `confirm_echo` | Textbook **MRTR** (SEP-2322) — echo after mid-call confirm · sealed `requestState`. |
112
128
 
113
- ## Protocol claims (v0.4 — same 7/28 era, dual package)
129
+ ## Protocol claims (v0.4.3 — same 7/28 era, dual package)
114
130
 
115
131
  | Surface | Status |
116
132
  |---------|--------|
@@ -118,10 +134,12 @@ cargo run --release -- --http
118
134
  | Transport | **stdio** (default) · **Streamable HTTP** (`--http`) |
119
135
  | HTTP mode | Stateless for 7/28 · `json_response` · local **Host** guards |
120
136
  | 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) |
137
+ | Capabilities | **tools** · **resources** (skill docs) · **experimental** skills extension |
138
+ | List cache | **`ttlMs=60000`**, **`cacheScope=public`**, order **`health`→`echo`→`confirm_echo`** (restart-stable) |
139
+ | MRTR (optional) | **`confirm_echo`** — mid-call confirm · sealed `requestState` · [`docs/MRTR-CONFIRM-ECHO.md`](./docs/MRTR-CONFIRM-ECHO.md) |
140
+ | Skills (optional) | **`mcp-better-lab`** · `skills/list` · digests · [`docs/SKILLS-OVER-MCP.md`](./docs/SKILLS-OVER-MCP.md) |
123
141
  | Lying companion | **`mcp-worse`** — unstamped + reversed order (contrast-smoke only) |
124
- | Resources / prompts / OAuth / tasks | out of hero |
142
+ | OAuth / tasks | out of hero |
125
143
 
126
144
  ## Textbook
127
145
 
@@ -170,6 +188,9 @@ For persistent, versionable AI project context beyond a protocol textbook:
170
188
  - [docs/BETTER-BEST.md](./docs/BETTER-BEST.md) — BETTER vs BEST
171
189
  - [GETTING-STARTED.md](./GETTING-STARTED.md)
172
190
  - [docs/SDK-NOTES.md](./docs/SDK-NOTES.md) — `serve` vs Discover honesty
191
+ - [docs/DUAL-PACKAGE-FOR-RUST-MCP.md](./docs/DUAL-PACKAGE-FOR-RUST-MCP.md) — why dual-package (cargo first · FAQ)
192
+ - [docs/DUAL-PACKAGE-RUST-MCP.md](./docs/DUAL-PACKAGE-RUST-MCP.md) — how: full dual cargo+npm guide
193
+ - [docs/MCP-DIST-POST.md](./docs/MCP-DIST-POST.md) — lockstep post-step (does not publish)
173
194
  - [SECURITY.md](./SECURITY.md) · [CONTRIBUTING.md](./CONTRIBUTING.md)
174
195
 
175
196
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-better",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
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",