Skip to main content

API Documentation

This page explains how API documentation is generated and served in this repository.

Overviewโ€‹

The MCP ADR Analysis Server publishes generated API docs using TypeDoc, with output in docs/api/.

For tool and resource reference content, use:

Generate API Docs Locallyโ€‹

From the repository root:

npm install
npm run docs:build

This writes output to docs/api/.

Serve API Docs Locallyโ€‹

npm run docs:serve

Then open http://localhost:8080.

Common Notesโ€‹

  • npm install is required before docs:build because typedoc is a dev dependency.
  • If TypeDoc reports warnings, review typedoc.json and markdown links in README.md.
  • Directory links in markdown should be avoided for generated docs to prevent broken media/* links.