workspace-build-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@workspace-build-mcp Build and link core into the app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@mhdd_24/workspace-build-mcp
MCP server and PowerShell scripts to build an Angular UI library and link it into a consumer app. Short aliases (core, kit, app) expand from config. GitHub workflows use the published mhdd24-cli (mhdd24).
Use from Cursor chat or the terminal. Same architecture as Timelog / Flyway / Caffeine / Notepad++ MCP packages.
Full documentation: docs/WIKI.md
How it works (30 seconds)
You (chat or CLI)
→ workspace-build-mcp
→ scripts/workspace-build.ps1
→ ng build + npm link
Git:
→ scripts/workspace-git.ps1 → mhdd24 push | smart-commitConfigure
WORKSPACE_ROOT+ alias env varsSay "build and link core" (or run the
.ps1)Use mhdd24 helpers for commit/push when needed
Related MCP server: micro-mcp
Prerequisites
Requirement | Notes |
Node.js 18+ | MCP server |
Windows | PowerShell scripts |
Angular CLI ( | On PATH |
npm | On PATH |
mhdd24-cli |
|
Install
Option A — npm (after publish)
npm install -g @mhdd_24/workspace-build-mcpOption B — npx
npx @mhdd_24/workspace-build-mcpOption C — clone and build
git clone https://github.com/Mhdd-24/Workspace-Build-MCP.git
cd Workspace-Build-MCP
npm install
npm run build
node dist/index.jsAlso install the GitHub helper CLI:
npm i -g mhdd24-cliConfigure Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"workspace-build": {
"command": "npx",
"args": ["-y", "@mhdd_24/workspace-build-mcp"],
"env": {
"WORKSPACE_ROOT": "C:/path/to/your/workspace",
"ALIAS_CORE_WS": "FEApp/ClientApp/ui-core-ws",
"ALIAS_CORE_PROJECT": "ui-core",
"ALIAS_CORE_DIST": "dist/ui-core",
"ALIAS_CORE_PACKAGE": "@scope/ui-core",
"ALIAS_KIT_WS": "FEApp/ClientApp/ui-kit-ws",
"ALIAS_KIT_PROJECT": "ui-kit",
"ALIAS_KIT_DIST": "dist/ui-kit",
"ALIAS_KIT_PACKAGE": "@scope/ui-kit",
"ALIAS_APP_WS": "FEApp/ClientApp/ui-app-ws/ui-app"
}
}
}
}Local development:
"command": "node",
"args": ["C:/path/to/workspace-build-mcp/dist/index.js"]Reload MCP after saving.
Environment variables
Variable | Required | Purpose |
| Yes | Monorepo / workspace root |
| Yes (for core build) | Core library workspace (relative to root or absolute) |
| No | Angular project name (default |
| No | Dist folder under library ws (default |
| No | npm package name to link (default |
| Yes (for kit build) | Kit library workspace |
| No | Angular project name (default |
| No | Dist folder under kit ws (default |
| No | npm package name to link (default |
| Yes (for link) | Consumer app path |
| No | cwd for mhdd24 (defaults to |
Aliases: core / kit → library settings; app → consumer app path. Kit builds use a junction into the app (avoids private-registry npm link 404s).
Tools
Tool | Purpose |
| Config + |
| Resolved alias paths |
| Build library + link into app |
| Build library only |
|
|
|
|
Chat examples
"List workspace build aliases"
"Build and link core into the app"
"Build and link kit into the app"
"Build kit only"
"Push with mhdd24: chore update link"
Terminal
cd path\to\Workspace-Build-MCP
.\scripts\workspace-build.ps1 `
-LibraryWs "C:\ws\FE\ui-core-ws" `
-AppWs "C:\ws\FE\ui-app" `
-NgProject "ui-core" `
-DistRel "dist\ui-core" `
-PackageName "@scope/ui-core"License
ISC
Available Tools
6 toolsws_build_linkA
Build the UI library (core) and npm-link it into the consumer app. Runs scripts/workspace-build.ps1.
Inputs: alias, skipClean.
ws_build_onlyA
Build the UI library only (no npm link into the app).
Inputs: alias, skipClean.
ws_git_pushC
Run mhdd24 push with a commit message in the configured git working directory.
Inputs: message (required), cwd.
ws_git_smart_commitC
Run mhdd24 smart-commit in the configured git working directory.
Inputs: cwd.
ws_list_aliasesA
List configured aliases (core, app) with resolved absolute paths and package names.
Inputs: no named parameters.
ws_statusA
Check workspace-build configuration: WORKSPACE_ROOT, alias paths, and whether ng/npm/mhdd24 are available.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
All tools have clearly distinct purposes: building with/without linking, two different git operations, listing aliases, and checking status. No overlap between any tool's functionality.
All tools follow the consistent `ws_verb_noun` pattern using snake_case, e.g., ws_build_link, ws_git_push, ws_list_aliases. Naming is predictable and readable.
With 6 tools, the server is well-scoped for workspace build management. Each tool serves a distinct and necessary purpose without being overly numerous or sparse.
The tool surface covers core workflows: building, git operations, and configuration inspection. Minor gaps exist (e.g., no tool to clean or reset workspace), but the set is sufficient for primary tasks.
Related MCP Connectors
Build and publish pages, manage collections, records and files in a Markerloop workspace.
List, search, and inspect Ply Angular + Tailwind copy-in components.
Create, edit and publish micropage.sh landing pages and blog posts from markup.
Live GitHub repo AST X-Ray, 42 coding-agent DoD gates, Git worktree guards & brownfield baselines.
Related MCP Servers
- AlicenseBqualityDmaintenanceProduction-ready TypeScript MCP server exposing utility, GitHub, and Microsoft Teams tools over stdio.141MIT
- AlicenseAqualityFmaintenanceEnables building, verifying, previewing, deploying, diagnosing, updating, and rolling back full-stack Micro apps through typed local MCP tools backed by micro-cli.6839 npmMIT
- AlicenseAqualityDmaintenanceEnables automated pull-request review workflows for Angular repositories by providing tools to generate, read, and save diffs, and to fetch review templates.4MIT
- AlicenseAqualityCmaintenanceEnables automated packaging of Maven backend and npm frontend projects, with SVN version retrieval and both step-by-step and one-click build workflows.4Apache 2.0