A small TypeScript-based CLI project that builds to ./build and exposes a notes-mcp binary.
- Node.js (LTS recommended)
- npm
Install dependencies:
npm installCompile the TypeScript sources into the build/ folder:
npm run buildThe build script (from package.json) runs the TypeScript compiler and sets executable permissions on the generated CLI bundle:
tsc && chmod 755 build/index.js
- Run the built CLI directly with Node:
node build/index.js- Or make the CLI available system-wide during development:
npm link
# then run
notes-mcppackage.json- project manifest (includesbuildscript andbinmapping)tsconfig.json- TypeScript configurationsrc/- TypeScript source filessrc/index.ts- main entrysrc/utils.ts- helpers
build/- compiled output (committed viafileslist)build/index.js- compiled CLI entrybuild/utils.js- compiled helpers
- Edit files in
src/and re-runnpm run buildto updatebuild/. - Type definitions are available via
@types/nodeindevDependencies.
The package includes only the build/ folder (see files in package.json). Before publishing, ensure build/ contains the compiled and executable index.js.
Contributions are welcome. Open an issue or submit a pull request with a clear description of the change.
This project is licensed under the ISC license (see package.json).