@opafex/create-mcp
v1.0.1
Published
Scaffold a new MCP server project with @opafex/mcp-shared
Maintainers
Readme
@opafex/create-mcp
Scaffold a new Model Context Protocol server built on @opafex/mcp-shared.
Requires Node.js 20+.
npm create @opafex/mcp my-server
cd my-server
npm run devYou get a TypeScript project with one example tool, its tests (vitest), a .env.example, and build / dev / test scripts. Replace the text tools in src/ with your own.
Options
npm create @opafex/mcp <directory> -- [options]
--name <name> Package name (defaults to directory name)
--description <desc> Package description
--no-install Skip npm install
--no-git Skip git init
-h, --help Show helpNote the -- before the options: it passes them through npm create to this package.
License
MIT — see LICENSE.
