{"_id":"@ams-dev/process-manager","_rev":"4-39498a6c8e928dd5082ce45ee8a72ef8","name":"@ams-dev/process-manager","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@ams-dev/process-manager","version":"0.1.0","keywords":["mcp","model-context-protocol","process-manager","development-tools","monitoring"],"author":{"name":"mastoica"},"license":"MIT","_id":"@ams-dev/process-manager@0.1.0","maintainers":[{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"}],"homepage":"https://github.com/mastoica/vibecoding-mcp-servers#readme","bugs":{"url":"https://github.com/mastoica/vibecoding-mcp-servers/issues"},"bin":{"process-manager":"dist/index.js"},"dist":{"shasum":"362749dfcd6e93e62b2715a8bf6ce539b5c5c2eb","tarball":"https://registry.npmjs.org/@ams-dev/process-manager/-/process-manager-0.1.0.tgz","fileCount":18,"integrity":"sha512-Em1VFxeVgjO7/FehFP4SsRJ2qzPeJx32asEMtrm8LjsOgP5qXxQPbVgMVqv7/byk/T/dZfb3wN3wQ7u1eNA8+g==","signatures":[{"sig":"MEYCIQCcakrIPrRGeNEG33W+DmnFMHxWKWguaOOD28mf3FczoAIhAKZgj29PE2azZyMR88pOD5IGWgLWqQY1UJzAqxZeOVC2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40831},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"e543dec253e2df6dabb7927517729b75020b3aa6","scripts":{"dev":"tsc --watch","test":"echo 'No tests yet'","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"},"repository":{"url":"git+https://github.com/mastoica/vibecoding-mcp-servers.git","type":"git","directory":"packages/process-manager"},"_npmVersion":"10.9.3","description":"MCP server for managing and monitoring development processes","directories":{},"_nodeVersion":"22.20.0","dependencies":{"execa":"^9.5.2","eventemitter3":"^5.0.1","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/process-manager_0.1.0_1760747415034_0.22844598534458038","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ams-dev/process-manager","version":"0.1.1","keywords":["mcp","model-context-protocol","process-manager","development-tools","monitoring"],"author":{"name":"mastoica"},"license":"MIT","_id":"@ams-dev/process-manager@0.1.1","maintainers":[{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"}],"homepage":"https://github.com/mastoica/vibecoding-mcp-servers#readme","bugs":{"url":"https://github.com/mastoica/vibecoding-mcp-servers/issues"},"bin":{"process-manager":"dist/index.js"},"dist":{"shasum":"59f3b142adb57e0b152bef8c3872de0b1f1425ac","tarball":"https://registry.npmjs.org/@ams-dev/process-manager/-/process-manager-0.1.1.tgz","fileCount":18,"integrity":"sha512-i+BpcqBCosBC8BbhI2qN955a0aAxpj9Yen8wtl/Rpayx7VP0zRteuMsOJKwTnQFpa71vz7BF6ykGcgQ28B9YyQ==","signatures":[{"sig":"MEUCID98oHPkn2TBdnePCtf2KH9EL57jVd8Ntv9O9xPmDfokAiEAjbUzBqAv7u1XHEL+vbhgOic4jMHu/7WKnfa7TTfLM/w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40813},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2fca1e8e201b6c9ad55dfbdb3c5a08153cff26ea","scripts":{"dev":"tsc --watch","test":"echo 'No tests yet'","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"},"repository":{"url":"git+https://github.com/mastoica/vibecoding-mcp-servers.git","type":"git","directory":"packages/process-manager"},"_npmVersion":"10.9.3","description":"MCP server for managing and monitoring development processes","directories":{},"_nodeVersion":"22.20.0","dependencies":{"execa":"^9.5.2","eventemitter3":"^5.0.1","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/process-manager_0.1.1_1760747603739_0.5817668556292952","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ams-dev/process-manager","version":"0.1.2","keywords":["mcp","model-context-protocol","process-manager","development-tools","monitoring"],"author":{"name":"mastoica"},"license":"MIT","_id":"@ams-dev/process-manager@0.1.2","maintainers":[{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"}],"homepage":"https://github.com/mastoica/vibecoding-mcp-servers#readme","bugs":{"url":"https://github.com/mastoica/vibecoding-mcp-servers/issues"},"bin":{"process-manager":"dist/index.js"},"dist":{"shasum":"6894bd5c659567de39e0ca7fb8ec8c68cd94e47a","tarball":"https://registry.npmjs.org/@ams-dev/process-manager/-/process-manager-0.1.2.tgz","fileCount":19,"integrity":"sha512-/caTgZ4LPQMTlKlPyyiaUD426N82WTyS/2qtoCTaBh00tAqiIW+kYTQArSNuEBpH7dldMp8+adaxZ9a+eZViqg==","signatures":[{"sig":"MEQCIAjosJt/4Xd3iyq1Q2rwMpUSRgtEGE2GgE+StIjMA/qEAiBcNS3yWTIU1O1NWc/FreIUOZor+pOzJZ0MRr8EZst/Ow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41882},"main":"./dist/index.js","type":"module","_from":"file:ams-dev-process-manager-0.1.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","test":"echo 'No tests yet'","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"},"_resolved":"/tmp/3b7443c8d25723ed787c3059df7b761b/ams-dev-process-manager-0.1.2.tgz","_integrity":"sha512-/caTgZ4LPQMTlKlPyyiaUD426N82WTyS/2qtoCTaBh00tAqiIW+kYTQArSNuEBpH7dldMp8+adaxZ9a+eZViqg==","repository":{"url":"git+https://github.com/mastoica/vibecoding-mcp-servers.git","type":"git","directory":"packages/process-manager"},"_npmVersion":"10.8.2","description":"MCP server for managing and monitoring development processes","directories":{},"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.5.2","eventemitter3":"^5.0.1","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/process-manager_0.1.2_1760748229813_0.46181318648055325","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@ams-dev/process-manager","version":"0.1.3","description":"MCP server for managing and monitoring development processes","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"process-manager":"dist/index.js"},"keywords":["mcp","model-context-protocol","process-manager","development-tools","monitoring"],"author":{"name":"mastoica"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mastoica/vibecoding-mcp-servers.git","directory":"packages/process-manager"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4","execa":"^9.5.2","eventemitter3":"^5.0.1"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.3.0","vitest":"^1.1.0"},"engines":{"node":">=18.0.0"},"scripts":{"build":"tsc","dev":"tsc --watch","clean":"rm -rf dist","test":"echo 'No tests yet'"},"_id":"@ams-dev/process-manager@0.1.3","bugs":{"url":"https://github.com/mastoica/vibecoding-mcp-servers/issues"},"homepage":"https://github.com/mastoica/vibecoding-mcp-servers#readme","_integrity":"sha512-sJo9GSPt4RSJPqATIVQ+3BK0RVu5BI9dOrrKx3iufzbVrzqx80j7AxFESyoHre2HuCk/+NxWE1qAzfQktHa5gg==","_resolved":"/tmp/b22720f5d2c50febf12e4734a3a84249/ams-dev-process-manager-0.1.3.tgz","_from":"file:ams-dev-process-manager-0.1.3.tgz","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sJo9GSPt4RSJPqATIVQ+3BK0RVu5BI9dOrrKx3iufzbVrzqx80j7AxFESyoHre2HuCk/+NxWE1qAzfQktHa5gg==","shasum":"5a2779adf8e959d83c6bd3b7ff856a1dd68d0faf","tarball":"https://registry.npmjs.org/@ams-dev/process-manager/-/process-manager-0.1.3.tgz","fileCount":19,"unpackedSize":41882,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKOsOMW9+3giUpu4ucehINTWkxkc+raR0rfTqaTbt6+wIgHheo3eVzqS2xzd6xAp5kal7OVDM6OVCk90YxPsoXL4M="}]},"_npmUser":{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"},"directories":{},"maintainers":[{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/process-manager_0.1.3_1760748462289_0.4133097482921553"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-18T00:30:14.906Z","modified":"2025-10-18T00:47:42.681Z","0.1.0":"2025-10-18T00:30:15.249Z","0.1.1":"2025-10-18T00:33:23.921Z","0.1.2":"2025-10-18T00:43:50.003Z","0.1.3":"2025-10-18T00:47:42.485Z"},"bugs":{"url":"https://github.com/mastoica/vibecoding-mcp-servers/issues"},"author":{"name":"mastoica"},"license":"MIT","homepage":"https://github.com/mastoica/vibecoding-mcp-servers#readme","keywords":["mcp","model-context-protocol","process-manager","development-tools","monitoring"],"repository":{"type":"git","url":"git+https://github.com/mastoica/vibecoding-mcp-servers.git","directory":"packages/process-manager"},"description":"MCP server for managing and monitoring development processes","maintainers":[{"name":"stoyca_maryus","email":"stoyca_maryus@yahoo.com"}],"readme":"# @ams-dev/process-manager\n\n> MCP server for managing and monitoring development processes\n\n## Overview\n\nA Model Context Protocol (MCP) server that enables AI assistants like Claude Code to manage and monitor development processes such as NX serves, npm scripts, and other long-running development tasks.\n\n## Features\n\n- 🚀 Start, stop, and restart processes with full control\n- 📊 Real-time log streaming and buffering\n- 🔍 Pattern-based monitoring for errors and warnings\n- 🔄 Auto-restart on failure\n- 📝 Interactive process input (stdin)\n- 🎯 Filter logs by regex patterns\n\n## Installation\n\n```bash\n# Global installation\nnpm install -g @ams-dev/process-manager\n\n# Or use with npx\nnpx @ams-dev/process-manager\n```\n\n## Usage\n\nAdd to your Claude Code MCP configuration (`~/.config/claude/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"process-manager\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ams-dev/process-manager\"]\n    }\n  }\n}\n```\n\n## Available Tools\n\n### `start_process`\n\nStart a new development process.\n\n**Input:**\n```typescript\n{\n  command: string;          // e.g., \"pnpm nx serve admin\"\n  cwd?: string;            // Working directory\n  env?: Record<string, string>;\n  label?: string;          // Human-readable label\n  autoRestart?: boolean;   // Restart on failure\n  watchPatterns?: string[]; // Patterns to monitor\n}\n```\n\n**Example:**\n```typescript\n{\n  \"command\": \"pnpm nx serve admin\",\n  \"cwd\": \"/Users/dev/myproject\",\n  \"label\": \"Admin Frontend\",\n  \"autoRestart\": true,\n  \"watchPatterns\": [\"ERROR\", \"TS\\\\d+\", \"Failed to compile\"]\n}\n```\n\n### `stop_process`\n\nStop a running process gracefully.\n\n**Input:**\n```typescript\n{\n  processId: string;\n  timeout?: number;        // Milliseconds before SIGKILL (default: 5000)\n}\n```\n\n### `restart_process`\n\nRestart a process.\n\n**Input:**\n```typescript\n{\n  processId: string;\n}\n```\n\n### `get_process_logs`\n\nRetrieve logs from a process.\n\n**Input:**\n```typescript\n{\n  processId: string;\n  filter?: string;         // Regex pattern\n  since?: number;          // Unix timestamp\n  lines?: number;          // Number of recent lines\n  follow?: boolean;        // Stream logs (not yet implemented)\n}\n```\n\n### `list_processes`\n\nList all managed processes.\n\n**Input:**\n```typescript\n{\n  status?: 'running' | 'stopped' | 'failed' | 'all';\n}\n```\n\n### `send_input`\n\nSend input to a running process.\n\n**Input:**\n```typescript\n{\n  processId: string;\n  input: string;\n}\n```\n\n## Example Workflows\n\n### Start an NX Development Server\n\n```\nClaude: I'll start the admin frontend for you\n- Executes: start_process with \"pnpm nx serve admin\"\n- Returns: Process ID and status\n- Monitors: Compile errors with watchPatterns\n```\n\n### Monitor Multiple Services\n\n```\nDeveloper: Start the admin and API services\nClaude:\n- Starts: Admin frontend (proc-1)\n- Starts: API backend (proc-2)\n- Reports: Both running, ports ready\n- Alerts: If any compile errors occur\n```\n\n### Debug a Failing Build\n\n```\nDeveloper: Check the logs for errors\nClaude:\n- Gets: Recent logs with get_process_logs\n- Filters: For \"ERROR\" pattern\n- Reports: Specific error messages with context\n```\n\n## Development\n\n```bash\n# Install dependencies\npnpm install\n\n# Build\npnpm build\n\n# Watch mode\npnpm dev\n\n# Run tests\npnpm test\n```\n\n## Requirements\n\n- Node.js >= 18.0.0\n- Process support (works on Linux, macOS, Windows)\n\n## License\n\nMIT © [mastoica](https://github.com/mastoica)\n\n## Related\n\n- [@ams-dev/docker-manager](../docker-manager) - Docker container management\n- [@ams-dev/dev-watcher](../dev-watcher) - Real-time error detection\n","readmeFilename":"README.md"}