Skip to content

docs: fix stale API references and broken links across READMEs#119

Merged
bug-ops merged 1 commit into
masterfrom
docs/readme-refresh
Jul 8, 2026
Merged

docs: fix stale API references and broken links across READMEs#119
bug-ops merged 1 commit into
masterfrom
docs/readme-refresh

Conversation

@bug-ops

@bug-ops bug-ops commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

Audited every README in the workspace (root + 7 crates + examples + runtime) against the current source and fixed real drift found along the way:

  • crates/mcp-cli/README.md: documented a stats command that no longer exists; added the missing server and setup subcommands
  • crates/mcp-core/README.md: example used Error::InvalidConfiguration which does not exist (actual variant is ConfigError)
  • crates/mcp-files/README.md: example called export_to_disk, which does not exist (actual API is export_to_filesystem / export_to_filesystem_with_options)
  • runtime/README.md: import example used a stale .js extension for the runtime bridge (actual template emits .ts); generate example omitted the required --from-config flag
  • Root README.md: Documentation section linked to examples/SKILL.md and docs/adr/, both removed in earlier releases

All other crate READMEs (mcp-codegen, mcp-introspector, mcp-skill, mcp-server) and examples/README.md were checked against their public API and found accurate; no changes needed there.

Test plan

  • Verified every fixed API/type/method exists in current source via grep
  • Checked all relative links across the 10 README files resolve to existing paths
  • No source files touched, so no build/test re-run required

Cross-checked every README against current source: mcp-cli/README.md
listed a removed `stats` command while omitting the `server` and
`setup` subcommands; mcp-core/README.md referenced a nonexistent
Error::InvalidConfiguration variant (actual: ConfigError);
mcp-files/README.md called a nonexistent export_to_disk method
(actual: export_to_filesystem[_with_options]); runtime/README.md used
a stale .js import extension and a generate invocation without
--from-config; root README.md linked to examples/SKILL.md and
docs/adr/, both removed in earlier releases.
@github-actions github-actions Bot added area: cli CLI commands and interface area: core Core types and infrastructure crate: mcp-core Changes to mcp-core crate (foundation types, traits, errors) crate: mcp-files Changes to mcp-files crate (virtual filesystem) crate: mcp-cli Changes to mcp-cli crate (command-line interface) type: documentation Documentation changes (*.md, docs/, comments) labels Jul 8, 2026
@bug-ops
bug-ops enabled auto-merge (squash) July 8, 2026 23:19
@bug-ops
bug-ops merged commit b19a667 into master Jul 8, 2026
17 checks passed
@bug-ops
bug-ops deleted the docs/readme-refresh branch July 8, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI commands and interface area: core Core types and infrastructure crate: mcp-cli Changes to mcp-cli crate (command-line interface) crate: mcp-core Changes to mcp-core crate (foundation types, traits, errors) crate: mcp-files Changes to mcp-files crate (virtual filesystem) type: documentation Documentation changes (*.md, docs/, comments)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant