Development
git clone https://github.com/malindarathnayake/Foreman.git
cd Foreman/foreman-mcp
npm ci
npm run build
npm test
node scripts/publish-smoke.mjs
Source layout
foreman-mcp/src/server.ts MCP server and tool registration
foreman-mcp/src/tools/ tool handlers
foreman-mcp/src/lib/ ledger, state, host, worker, and CLI helpers
foreman-mcp/src/skills/ bundled coding protocols
foreman-mcp/tests/ Vitest suite
Documentation site
This site lives in documentation/ and is built with Docusaurus:
cd documentation
npm ci
npm start # local dev server with hot reload
npm run build # production build into documentation/build