Documentation Index
Fetch the complete documentation index at: https://mintlify.com/BaselAshraf81/holystitch/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites: Node.js 18 or higher. Check your version with
node --version.Repository structure
HolyStitch is a monorepo managed with npm workspaces. The MCP server — the only published package — lives underpackages/mcp-server/.
package.json delegates to workspaces — you always run scripts from the repo root.
Clone and install
Build the project
tsc inside packages/mcp-server/, compiling TypeScript to packages/mcp-server/dist/. The entry point is dist/index.js.You must run
npm run build before pointing any MCP host at the local repo. The MCP host executes the compiled JavaScript in dist/, not the TypeScript source.Available scripts
All scripts are run from the repo root.| Script | What it does |
|---|---|
npm run build | Compiles all workspaces (tsc in packages/mcp-server/) |
npm run dev | Runs tsc --watch in packages/mcp-server/ — recompiles on every save |
npm run lint | Runs tsc --noEmit across all workspaces — type-checks without emitting files |
TypeScript build process
Themcp-server package uses a standard tsc compile step with no bundler. The tsconfig.json in packages/mcp-server/ targets ESM output ("type": "module" in its package.json). Running npm run build from the root triggers npm run build --workspaces, which resolves to tsc in each workspace.
dist/index.js is the executable entry point.
Testing changes against a real MCP host
After making and building changes, point your MCP host at the localdist/index.js instead of a published package.
Configure your MCP host to use the local build
Update your MCP host config to point at the local
dist/index.js. Replace /path/to/holystitch with the actual path where you cloned the repo.Restart your MCP host
Most MCP hosts load the server process at startup. Restart the IDE or reload the MCP server to pick up the updated binary.
Type-checking without building
To catch type errors quickly without emitting any files:tsc --noEmit across all workspaces and exits non-zero if there are any errors. Run this before opening a PR.