{"_id":"@agent-ruler/openmcp","_rev":"10-26ed1f45fd46ca0774a42aa19507d3a4","name":"@agent-ruler/openmcp","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.1":{"name":"@agent-ruler/openmcp","version":"0.1.1","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.1","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp-cli.js","openmcp-cli":"bin/openmcp-cli.js"},"dist":{"shasum":"42e3dc7f7bcf04fa3e4dd6ee4319aa11db9d2891","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.1.tgz","fileCount":348,"integrity":"sha512-rtIILyKqMa6flyiOHv5IbC//srNdDjBSjMwAuwoWZ2PZSOl1obCx2gOvW9Tz/5D718xoR2mA3yQRZsrmmLxQiA==","signatures":[{"sig":"MEQCIEeRJ3oE7JeyZgM2FBabwWBTwojWKui1Ncrf9RkBwgriAiAqCdjVMFYKL5wCV1kZIeu5lYCyR1t6P5FQaEa90DBQ9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11480750},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"18ef1bceb59d785dd7f89be52d2047da7cc35406","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","openai":"^5.0.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.1_1778149557397_0.24963401466961344","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agent-ruler/openmcp","version":"0.1.2","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.2","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"3b1cffd294f60cf44261d75c3500594d7834fc6e","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.2.tgz","fileCount":348,"integrity":"sha512-kWUwnycP8hN6+T81IUdj3scD3PRDYQW/Ma3W3EHgOc+WnUZfH9JBKa3Gq1r8Et/B1fHzPfW5gTEMQkTO8dDy9A==","signatures":[{"sig":"MEYCIQC9uc2ePFnUESiW2hMEv/dmzF+uBlPl+RUi7qZRYH3aLAIhAMtdOB3KeT2zEe8MpVD8yFKpiF5XvY0sc1B0qtqngxiH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11480169},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0c8c016e08b7b6d06873808915a4bef7e9bda5e1","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","openai":"^5.0.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.2_1778184762473_0.6282518817222142","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@agent-ruler/openmcp","version":"1.0.0","keywords":["openmcp","mcp","cli","model-context-protocol","development","vscode-extension"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@1.0.0","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"homepage":"https://github.com/LSTM-Kirigaya/openmcp-client#readme","bugs":{"url":"https://github.com/LSTM-Kirigaya/openmcp-client/issues"},"bin":{"omc":"bin/omc"},"dist":{"shasum":"86e41a46709c19e852835ddc5d7680ee6a745073","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-1.0.0.tgz","fileCount":39,"integrity":"sha512-RpjbNcGPHZePlRApuCzokAyiEi/p4bbLyvZXFTTNO93bInlwA3FTci2651jJgM82/Vcg/UN2a9GbIYFYymqGXg==","signatures":[{"sig":"MEYCIQC0wjkfe3W7yFxhQpsvDOH61oSLS9V/RnmpgBb6QhWrggIhAKCDbLBduXA7m8y7VlRzs9Xr/yj78RBDABb9AytzwcK9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63122},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"f723c585b4755ea5aec289d592471f25f71f5878","scripts":{"dev":"tsc --watch","build":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"kirigaya","email":"1193466151@qq.com"},"repository":{"url":"git+https://github.com/LSTM-Kirigaya/openmcp-client.git","type":"git","directory":"cli"},"_npmVersion":"11.9.0","description":"CLI tool for OpenMCP - Quickly setup and run OpenMCP development environment","directories":{},"_nodeVersion":"24.14.0","dependencies":{"ora":"^8.1.0","tar":"^7.4.3","chalk":"^5.3.0","fs-extra":"^11.2.0","inquirer":"^12.1.0","commander":"^12.1.0","node-fetch":"^3.3.2","cross-spawn":"^7.0.6"},"_hasShrinkwrap":false,"devDependencies":{"@types/tar":"^6.1.13","typescript":"^5.7.2","@types/node":"^22.10.0","@types/fs-extra":"^11.0.4","@types/cross-spawn":"^6.0.6"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_1.0.0_1778228451244_0.8958870239003593","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agent-ruler/openmcp","version":"0.1.3","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.3","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"b3ebf3899d7b1879b48afa49c6b5748d7d0bc4b9","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.3.tgz","fileCount":348,"integrity":"sha512-rb6ZmPZ7r4Y+0sr7ZXZvM9XJpsTacWb3Mc0MBuvAQOOixow8An1mx3AwZx19rdTeFnm0LyGgSH+745WejmpEAQ==","signatures":[{"sig":"MEUCIQDOeYdo2cA6aFY4YBn0hWi+ogEgkdRog5KHCkRLMYhj/gIgMldjaB+lGmiszMXTh/QLr81ZN182dnOIELB+qnlG4Jg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11482979},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c9670140986a881753be13b39aadf5aa8570790d","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","openai":"^5.0.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.3_1778261558183_0.4988430413849143","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@agent-ruler/openmcp","version":"0.1.4","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.4","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"f644ffe2133c5da9a1273c718ab9a92f62ce5501","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.4.tgz","fileCount":348,"integrity":"sha512-9EgZcc84A0pzqAdptv/5tRu5aO3SJHDyE28xYQWunI3gSqm0VcaAGsDOxKkhgfTSstPXSCx1lqMAF3jNWmW8mg==","signatures":[{"sig":"MEYCIQDsXBJGiF7S6GbBsk8p6PafvauYtyijoZLR9L5kqhiD3AIhAIeef9MmyMHc9Bd2BrV4jAFBHjIAkEtznpwRUzilUBHx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11491656},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c9670140986a881753be13b39aadf5aa8570790d","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","vue":"^3.5.13","zod":"^3.23.8","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","chalk":"^5.4.1","openai":"^5.0.1","express":"^5.2.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","strict-url-sanitise":"^0.0.1","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.4_1778266138659_0.9328670588935883","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@agent-ruler/openmcp","version":"0.1.5","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.5","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"3bd24c08ea9f546e38191383f74b394992bc32a0","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.5.tgz","fileCount":348,"integrity":"sha512-6QeZs/iunSiYxNDyQ4S/wQ5HVDVmJDD3pb24lQcIza1oDo4COP5vTeGdz5gkTVA68p20jgpo+j29+buZI0YjNQ==","signatures":[{"sig":"MEQCIFTZguV5C3Hardg/3B7RknD6TM95JG0awzwYAimo4ew5AiAOzQ7M8HQ7KPcLfNOBXyMNEhGaTYCbJmHlEZ9noU9dxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11510972},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"19936e746b9d734af7a787ead9a6653d590cb90f","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","vue":"^3.5.13","zod":"^3.23.8","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","chalk":"^5.4.1","openai":"^5.0.1","express":"^5.2.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","strict-url-sanitise":"^0.0.1","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.5_1778269952933_0.16270755737079523","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@agent-ruler/openmcp","version":"0.1.6","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.6","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"413e15bd23dff5817be9b2a6f93f0d017c0797ef","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.6.tgz","fileCount":348,"integrity":"sha512-aHX3jiXiRvGGsCllTrPjA4JoYtjkZ/vCG/fYL9jwbLMCg2uRvSRYaSiQawKy0oskGDb1OYFmC/EEF8Lnh0yAwQ==","signatures":[{"sig":"MEUCIA0ZO/DiTV+5eGqb/iXuzDK1QU7DUs3D0R9ZlKHiQ2a6AiEAvWhAJg9x1WJEQhqjrbTuR2JPYg0QBIK3I5ZsY/L26bU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11522683},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c91db84cc835233069c23f149ef4a4d0c648a13a","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","vue":"^3.5.13","zod":"^3.23.8","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","chalk":"^5.4.1","openai":"^5.0.1","express":"^5.2.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","strict-url-sanitise":"^0.0.1","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.6_1778321543671_0.5528718250156546","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@agent-ruler/openmcp","version":"0.1.7","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.7","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"1b194973eae3c75c81d6fe2e16d212c28dd095ac","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.7.tgz","fileCount":348,"integrity":"sha512-6cbGPh5zl/nCQLw9ZPb/cBotbmVWnIknvS0IK1hHm4eRQVuwj4FbuIr9xOOugyPSEuyLmc5uA2boP3bQRi6MWw==","signatures":[{"sig":"MEUCIC9IVzCZi5k3IucODyxMx5wAJjScbEwd5qLUijZDvYiaAiEA0BI+pwcYR+LznQ7AB8ezH3ZQZfq3HlF6Gzx7heun2tY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11536931},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"df4fdb1b91351a5408a58ac20bdead0d0353edf8","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","vue":"^3.5.13","zod":"^3.23.8","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","chalk":"^5.4.1","openai":"^5.0.1","express":"^5.2.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","strict-url-sanitise":"^0.0.1","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.7_1778323439639_0.16759198994287994","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@agent-ruler/openmcp","version":"0.1.8","keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","_id":"@agent-ruler/openmcp@0.1.8","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"bin":{"openmcp":"bin/openmcp.js"},"dist":{"shasum":"ce29d13e048f7c24c39fa2e7fb78740dc14e1957","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-0.1.8.tgz","fileCount":348,"integrity":"sha512-Lwt8DNfZAKKe5Og+9pHmUF2vZ3YL46d3oJXWRVUF5WHZYnb9gCtf0IBiPRaHDGb0mY9MYxfcAr1HWvJio4emqA==","signatures":[{"sig":"MEUCIHZnR33uV2X0M6vUN5peR4CFbshFsXa304ffoW5CyjGnAiEA7/H9d4T9fT6sWXbs3kG8iPwHu51KpTHkuyd3GE1fdGU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11557061},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"df4fdb1b91351a5408a58ac20bdead0d0353edf8","scripts":{"dev":"tsc --watch","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","build":"tsc","prepack":"npm run build:publish","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run build && npm run build && node scripts/prepare-publish.mjs","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"_npmUser":{"name":"peacesheep","email":"peacesheep@qq.com"},"_npmVersion":"10.9.4","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.18.0","vue":"^3.5.13","zod":"^3.23.8","open":"^10.1.0","pako":"^2.1.0","pino":"^9.6.0","uuid":"^11.1.0","axios":"^1.9.0","chalk":"^5.4.1","openai":"^5.0.1","express":"^5.2.1","commander":"^11.1.0","cli-table3":"^0.6.5","pino-pretty":"^13.0.0","tesseract.js":"^6.0.1","@seald-io/nedb":"^4.1.1","https-proxy-agent":"^7.0.6","strict-url-sanitise":"^0.0.1","rotating-file-stream":"^3.2.5","@modelcontextprotocol/sdk":"^1.18.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/ws":"^8.5.10","typescript":"^5.4.0","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/openmcp_0.1.8_1778338681440_0.16690136614862072","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agent-ruler/openmcp","version":"1.0.1","description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","type":"module","main":"dist/index.js","bin":{"openmcp":"bin/openmcp.js"},"scripts":{"build":"tsc","build:publish":"node scripts/clean-publish.mjs && npm --prefix ../service run build && npm --prefix ../gateway run build && npm --prefix ../renderer run type-check && npm --prefix ../renderer run build:website && npm run build && node scripts/prepare-publish.mjs","dev":"tsc --watch","prepack":"npm run build:publish","test":"tsx --test --test-concurrency=1 test/cli/surface.test.ts test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts test/mcp/server.test.ts test/mcp/session.test.ts test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts test/start/start.test.ts","test:gateway":"tsx --test --test-concurrency=1 test/gateway/start.test.ts test/gateway/stop.test.ts test/gateway/restart.test.ts test/gateway/status.test.ts test/gateway/run.test.ts test/gateway/logs-dir.test.ts test/gateway/logs.test.ts","test:setting":"tsx --test --test-concurrency=1 test/setting/general.test.ts test/setting/llm.test.ts test/setting/skills.test.ts","test:mcp":"tsx --test --test-concurrency=1 test/mcp/server.test.ts test/mcp/session.test.ts","test:debug":"tsx --test --test-concurrency=1 test/debug/resource.test.ts test/debug/prompt.test.ts test/debug/tool.test.ts test/debug/mcp.test.ts test/debug/batch.test.ts test/debug/chat.test.ts","test:webui":"tsx --test --test-concurrency=1 test/webui/start.test.ts test/webui/stop.test.ts test/webui/status.test.ts test/webui/restart.test.ts test/webui/run.test.ts","test:start":"tsx --test --test-concurrency=1 test/start/start.test.ts","test:surface":"tsx --test --test-concurrency=1 test/cli/surface.test.ts","test:published":"tsx --test --test-concurrency=1 test/published/smoke.test.ts"},"keywords":["mcp","cli","gateway","openmcp"],"author":{"name":"kirigaya"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.29.0","@seald-io/nedb":"^4.1.1","axios":"^1.9.0","chalk":"^5.4.1","cli-table3":"^0.6.5","commander":"^11.1.0","express":"^5.2.1","https-proxy-agent":"^7.0.6","open":"^10.1.0","openai":"^5.0.1","pako":"^2.1.0","pino":"^9.6.0","pino-pretty":"^13.0.0","rotating-file-stream":"^3.2.5","strict-url-sanitise":"^0.0.1","tesseract.js":"^6.0.1","uuid":"^11.1.0","vue":"^3.5.13","ws":"^8.18.0","zod":"^3.23.8"},"devDependencies":{"@types/debug":"^4.1.12","@types/node":"^20.11.0","@types/uuid":"^9.0.0","@types/ws":"^8.5.10","tsx":"^4.19.0","typescript":"^5.4.0"},"engines":{"node":">=18.0.0"},"gitHead":"afe0884da8625011f0897468b17d9d0b1d6b857b","types":"./dist/index.d.ts","_id":"@agent-ruler/openmcp@1.0.1","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-CdLR5RXEvVUg47yerEKRB5Z6nyH/mtvRSVPdOTPp7LyMYDhvm6cn8q6eWvVFiqiM3nu8m8eZeWiDnUcVumFegA==","shasum":"89c3d3029eb7223a8f7c51d236a72734a3369e27","tarball":"https://registry.npmjs.org/@agent-ruler/openmcp/-/openmcp-1.0.1.tgz","fileCount":402,"unpackedSize":11979032,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCejN0EhLpx7MHweTAZQsEOWANK8A6azoTu2CbbFOuayAIgMOQc9wyNOzbt5OITRpph2jPg0f4MwgEBsFe9OZ73uvs="}]},"_npmUser":{"name":"kirigaya","email":"1193466151@qq.com"},"directories":{},"maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openmcp_1.0.1_1778617334473_0.4444610630196477"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T10:25:57.220Z","modified":"2026-05-12T20:22:14.954Z","0.1.1":"2026-05-07T10:25:57.669Z","0.1.2":"2026-05-07T20:12:42.763Z","1.0.0":"2026-05-08T08:20:51.381Z","0.1.3":"2026-05-08T17:32:38.503Z","0.1.4":"2026-05-08T18:48:58.977Z","0.1.5":"2026-05-08T19:52:33.271Z","0.1.6":"2026-05-09T10:12:24.038Z","0.1.7":"2026-05-09T10:43:59.947Z","0.1.8":"2026-05-09T14:58:01.800Z","1.0.1":"2026-05-12T20:22:14.825Z"},"author":{"name":"kirigaya"},"license":"MIT","keywords":["mcp","cli","gateway","openmcp"],"description":"OpenMCP CLI - MCP Server Gateway & Debug Tool","maintainers":[{"name":"peacesheep","email":"peacesheep@qq.com"},{"name":"kirigaya","email":"1193466151@qq.com"}],"readme":"# OpenMCP CLI（`openmcp`）\n\n命令行入口，用于**启动 Gateway / Web UI**、以及通过 **WebSocket** 调用与 VSCode 扩展、Web 前端相同的 **service 路由**（`routeMessage`），便于脚本化与本地调试。\n\n## 环境要求\n\n- Node.js **≥ 18**\n- 多数子命令依赖 **Gateway 已启动**（默认 `ws://localhost:8282`）\n\n## 从 npm 安装\n\n发布到 npm 后，全局安装即可使用（命令名为 `openmcp`）：\n\n```bash\nnpm install -g @agent-ruler/openmcp\nopenmcp --help\n```\n\n依赖里的 `@openmcp/gateway` 使用 **semver**（`^0.0.1`），以便发布到 npm 后能被正常解析；`workspace:*` 仅适用于仓库内工作区依赖。\n\n**尚未发布到 npm 时，用 tarball 试装（推荐）**：`@agent-ruler/openmcp` 依赖 `@openmcp/gateway`，单独 `npm install -g agent-ruler-openmcp-0.1.1.tgz` 会从 registry 拉 gateway，**会 404**。请一次性安装三个本地包（npm 会从本地 tarball 满足依赖）：\n\n```bash\n# 在仓库根目录：构建并打三个包\nnode scripts/pack-npm-test.mjs\n\n# 在任意空目录（路径按你本机调整）\nmkdir omcp-try && cd omcp-try && npm init -y\nnpm install ../service/openmcp-service-0.0.1.tgz ../gateway/openmcp-gateway-0.0.1.tgz ../cli/agent-ruler-openmcp-0.1.1.tgz\nnpx openmcp --help\n```\n\n仓库根目录也可执行：`npm run pack:npm-test`。\n\n**已发布到 npm 后**：`npm install -g @agent-ruler/openmcp` 即可；或用 **Verdaccio** 在本地 registry 演练发布顺序（service → gateway → cli）。\n\n## 安装与本地运行（本仓库开发）\n\n文档以 **npm** 为例。在仓库根目录安装依赖后，进入 `cli` 目录构建：\n\n```bash\ncd cli\nnpm install\nnpm run build\n```\n\n若已在 monorepo 根目录执行过 `npm install`，通常只需在 `cli` 下执行 `npm run build`。\n\n全局/本地调用二选一：\n\n```bash\n# 直接执行（开发时常用）\nnode ./bin/openmcp.js --help\n\n# 链接到全局后模拟 npm 全局安装\nnpm link\nopenmcp --help\n```\n\n将 `cli` 链到全局或发布前，需先 `npm run build` 生成 `dist/`。\n\n## 一分钟上手\n\n1. 启动 Gateway（默认端口 **8282**，与 `gateway` 包一致）：\n\n   ```bash\n   openmcp gateway start\n   ```\n\n2. 在已连接 MCP 的前提下，列出工具（需替换真实 `clientId`）：\n\n   ```bash\n   openmcp debug tool list --client-id \"<uuid>\"\n   ```\n\n更完整的用法、前置条件与典型流程见 **[使用说明](docs/usage.md)**。\n\n## 命令总览\n\n| 分组 | 说明 |\n|------|------|\n| `gateway` | 前台/后台启停 Gateway、查看状态 |\n| `webui` / `start` | 拉起 Web UI（及可选 Gateway） |\n| `mcp` | Server 配置与运行会话管理 |\n| `debug` | ping、环境变量、tools/prompts/resources、测试用例与批量验证 |\n| `setting` | 通用设置与 LLM provider/model/chat |\n| `skills` | 技能包列表与读文件 |\n\n完整子命令与参数说明见 **[命令参考](docs/commands.md)**。\n\n资源命令默认使用 `--scope user`；若要操作工作区资源，请显式传 `--scope workspace --workspace <path>`。\n\n## 开发与调试\n\n本地修改 `cli/src` 后执行 `npm run build`，或使用 `npm run dev`（`tsc --watch`）边改边编译。调试技巧、与 Gateway/Service 的对应关系见 **[开发与调试](docs/development.md)**。\n\n## 文档索引\n\n| 文档 | 内容 |\n|------|------|\n| [docs/usage.md](docs/usage.md) | 使用前提、Gateway 地址、常见流程 |\n| [docs/commands.md](docs/commands.md) | 各命令与子命令说明 |\n| [docs/development.md](docs/development.md) | 开发、构建、调试、与仓库其它模块关系 |\n\n## 与 VSCode / Web 的一致性\n\nCLI 通过 WebSocket 发送 `{ command, data }`，由 Gateway 调用 `service` 中的 `@Controller` 注册项；与渲染层 `MessageBridge` 走**同一套路由**，并非另一套 HTTP API。\n","readmeFilename":"README.md"}