mcp-better
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-better — built for 7/28
NONE | GOOD | [BETTER] | BEST
Textbook for AGENTS.md on that scale — honest modern MCP at the BETTER step.
(protocol 2026-07-28 — the modern MCP release)
the book is the app is the bookModern MCP textbook that runs, reviewed and approved as an AAIF Ambassador contribution. Rust · rmcp 3.10 · Discover · stamped cache hints · the official MCP conformance suite in CI: 100% for the conformance build, and for the textbook binary every scored check except those that need a suite fixture or an undeclared method.
Book: textbook/ — what · why · how · doctrine.
App: this binary + smokes. Lesson after lesson, version after version — knowledge compounds.
BEST (BETTER plus
project.fafthat is resident and used: persistent project context that authors the agent files) lives at faf.one/agents, one hop up from this textbook.
Dual-package (optional)
We are Cargo. Install is cargo install. npx is a try path. We do not offer npm install as an option.
→ Why dual-package — positioning + FAQ
→ Full guide (how) — lockstep, publish order, OIDC, score + wire
Related MCP server: DuckDuckGo MCP Server
Skills over MCP (optional · textbook)
One Agent Skill (mcp-better-lab) on the same process as tools:
→ docs/SKILLS-OVER-MCP.md — extension · skills/list · skills/get · digests
What is 7/28?
Name | What it is |
7/28 | The era name — speakable, brandable. “Built for 7/28.” |
2026-07-28 | The protocol version — the date string on the wire / in SDKs. |
7/28 is a great name. 2026-07-28 is a date.
Humans say 7/28. Machines negotiate 2026-07-28.
What to expect
Built for 7/28 — not bolted onto a legacy server (official
rmcp3.10).Honest surface — transport and capabilities match docs and CI.
Roadmap expands the era — versions add road; they do not “become” 7/28 later.
Version | Lesson (the version is the lesson) |
v0.1 | 7/28 over stdio — Discover, stamped |
v0.2 | Same 7/28 era + Streamable HTTP road + routing headers ( |
v0.3 | Same era + deeper correctness — multi-list + restart-order smokes · |
v0.4 | Same era + dual package — cargo + npm shim · |
v0.4.3 | Same era + |
v0.4.4 | Same era + book matches 0.4.3 wire — no new tool · catalogs named |
v0.5 | Same era + matching client completes MRTR — |
v0.6 | Same era + the spec's own tests — the official MCP conformance suite in CI (Conformance) · cache hints on every list and read · declare what you answer · |
v0.7 | Same era + tools say what they do — every tool carries all four annotation hints (read-only, not destructive, idempotent, closed world) · |
What BETTER means
Protocol honesty — claim 7/28 /
2026-07-28only for surfaces you implement and test.Discover-compatible — clients should use
ClientLifecycleMode::Discover(or Auto → 7/28), not only legacy initialize.Cache hints by choice —
server/discover,tools/list,resources/list,resources/templates/list,resources/read,skills/listandskills/getreturn a positivettlMsandcacheScope(static catalog →public). The SDK default isttlMs: 0+private: valid, but it tells every client not to cache.Stable tool order — same process, same order across N list calls.
Annotated tools — every tool sets
readOnlyHint,destructiveHint,idempotentHintandopenWorldHint. A tool with no hints gets the spec's defaults: it may write, may destroy, and reaches the outside world.Transports — stdio (default) and Streamable HTTP (
--http) in the same 7/28 era.
Quickstart (≤10 min)
Path | What it is |
| The install — we are Cargo. crates.io, native binary on PATH. |
| Suggested try — no Rust, no compile. Not the install. |
npm | A published shim so |
Try (suggested) — npx
# No Rust toolchain. Downloads the native binary from GitHub Releases.
npx mcp-better --help
npx mcp-betterFrom source / crates.io (Rust 1.88+)
git clone https://github.com/Wolfe-Jam/mcp-better.git
cd mcp-better
cargo build --bins
cargo test
cargo run --example stdio-client
# louder 0.3 smokes (build --bins first; or: bash scripts/ci.sh)
MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example order-restart-smoke
MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" \
MCP_WORSE_BIN="$(pwd)/target/debug/mcp-worse" \
cargo run --example contrast-smoke
MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example http-smoke
# 0.5 matching client (completes confirm_echo)
MCP_BETTER_BIN="$(pwd)/target/debug/mcp-better" cargo run --example mrtr-clientInstall (crates.io) — stdio default (Cursor / Claude Desktop):
First cargo install compiles Rust deps once (often 100+ units — rmcp / tokio / …, not 100 tools of ours). One-time; then the binary is instant. To skip that compile, try with npx mcp-better (above) — that is not the install.
cargo run --release
# install from crates.io — first hit compiles deps once (see above):
cargo install mcp-better --version 0.7.0 --locked
mcp-better --version # mcp-better 0.7.0
mcp-better --help
# optional lying companion (teaching only — not for hosts):
# cargo install mcp-better --version 0.7.0 --locked --bin mcp-worseStreamable HTTP (local demo only — see SECURITY.md):
cargo run --release -- --http
# http://127.0.0.1:8787/mcp
# MCP_BETTER_HTTP_ADDR=127.0.0.1:9000 mcp-better --httpTransport selection (CLI wins over env):
How | Value |
CLI |
|
Bare args |
|
Env |
|
Anything else | An unknown argument or transport value prints the error and exits 2; nothing falls back to stdio silently |
HTTP bind |
|
Tools
Tool | Purpose |
| Liveness — status, version, protocol. No side effects. Not a k8s probe contract. |
| Pure demo — returns |
| Textbook MRTR (SEP-2322) — echo after mid-call confirm · sealed |
All three are annotated readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false: they read only, change nothing and stay in the process.
Protocol claims (v0.7.0 — same 7/28 era · the official conformance suite in CI)
Surface | Status |
Era / protocol | 7/28 · negotiated |
Transport | stdio (default) · Streamable HTTP ( |
HTTP mode | Stateless for 7/28 · |
Routing headers | Streamable HTTP POSTs use |
Capabilities | tools · resources (skill docs) · skills extension (SEP-2640, rmcp native) · prompts and completions not declared ( |
Cache hints | discover, tools, resources and skills: |
Tool annotations | all four hints on every tool: read-only · not destructive · idempotent · closed world ( |
MRTR (optional) |
|
Skills (optional) |
|
Lying companion |
|
OAuth / tasks | out of hero |
Conformance
CI runs the official MCP conformance suite (@modelcontextprotocol/conformance, pinned) against two binaries. Each run covers --requirements 2026-07-28 (50 scenarios: 37 the suite scores, 13 it runs but does not score) and the two Skills scenarios (sep-2640-skills-enumeration, sep-2640-skills-manifest, an extension outside that set).
Run | Binary | 2026-07-28 requirements | Skills |
Conformance build |
| 100%, no baseline: 196 checks pass across the 50 scenarios, none fail or warn; the suite itself skips one scenario ( | 38 of 38 |
Textbook |
| the 37 scored scenarios: 74 checks pass; 33 fail or warn, each listed in | 38 of 38 |
What each run measures. Most scenarios call tools, prompts and resources that exist only in the suite's reference server (test_*, test://…), and the 13 unscored ones are the Tasks extension and three pending scenarios. The official SDKs pass those with a separate server that carries the fixtures; mcp-better-conformance is that server for mcp-better. Its fixtures, capabilities and Tasks are adapted from the Rust MCP SDK's conformance server (Apache-2.0, conformance/NOTICE); BetterServer serves mcp-better's three tools, the skill resource and Skills. So the 100% mostly measures the fixtures and the shared transport (mcp_better::http_config). The textbook run and the Skills scenarios measure mcp-better's own code.
Reading the textbook run. caching is 7 of 8: the eighth check calls prompts/list, and mcp-better doesn't declare prompts, so it answers method-not-found (not declared in the baseline). prompts-list and completion-complete fail for the same reason. Every other failure is a missing suite fixture. The suite's MRTR scenarios use its own fixture tools, so confirm_echo is checked by the matching client (examples/mrtr-client), which declares elicitation, and by a handler test that a client without it gets -32021 (missing required client capability).
bash scripts/conformance.sh # textbook + baseline
(cd conformance && cargo build) && \
MCP_BETTER_BIN="$(pwd)/conformance/target/debug/mcp-better-conformance" \
MCP_CONFORMANCE_BASELINE='' bash scripts/conformance.sh # conformance build, strictTextbook
The book is the app is the book — textbook/ (Season 1 · doctrine).
Start: textbook/README.md → lab Ch 09.
Non-goals (GOOD-era habits we refuse)
Shipping unstamped list results while claiming 7/28 modernity
Requiring
project.fafor any BEST tooling on this repo’s main branchTreating stdio as “not real 7/28” — stdio is a first-class 7/28 transport
FAF install tax in the AAIF lede — this repo is protocol textbook, not a FAF product
Registry identity
MCP Registry name:
mcp-name: io.github.Wolfe-Jam/mcp-betterDual packages (same version, both stdio):
registryType: cargo ·identifier:mcp-better· crates.ioregistryType: npm ·identifier:mcp-better· registry.npmjs.org
(Node shim downloads the native binary from GitHub Releases — no Rust on the host)
Package transport in
server.jsonis stdio only — by design.
Hosts spawn viacargo install/npx mcp-betteron stdio.
Streamable HTTP (--http) is an opt-in local demo in the same binary and the same 7/28 era; it is not a Registry remote package. Discover it in this README and--help.
See server.json. Not one.faf/*.
Publish
Ship process: /pubbetter (skill) · short form docs/PUBBETTER.md · local ship bar:
export PATH="$HOME/.cargo/bin:$PATH"
bash scripts/ci.shThe ship bar needs Node 18+ and network: it fetches the official MCP conformance suite with npx (pinned version) and, if installed, runs rust-mcp-preflight on server.json (it reads crates.io and the MCP Registry).
BEST
For persistent, versionable AI project context beyond a protocol textbook:
Docs
BETTER.md — ladder + claim surface
docs/BETTER-BEST.md — BETTER vs BEST
docs/SDK-NOTES.md —
servevs Discover honestydocs/DUAL-PACKAGE-FOR-RUST-MCP.md — why dual-package (cargo first · FAQ)
docs/DUAL-PACKAGE-RUST-MCP.md — how: full dual cargo+npm guide
docs/MCP-DIST-POST.md — lockstep post-step (does not publish)
License
MIT — see LICENSE. Except conformance/ (the unpublished conformance build), which is Apache-2.0: see conformance/NOTICE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Trust, freshness, policy, and discovery layer for public MCP servers.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides example tools for echoing messages and retrieving server information. Supports both stdio and HTTP transports with Docker deployment capabilities.-
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server with example tools including message echo functionality and server information retrieval. Built with FastMCP framework and supports both stdio and HTTP transports.-
- -licenseNot gradedqualityNot gradedmaintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports for integration with various MCP clients.-
- FlicenseNot gradedqualityDmaintenanceA simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.1-