{"_id":"mcp-http-server","_rev":"16-2544096687c21987420e05a4cd3cd4b8","name":"mcp-http-server","dist-tags":{"beta":"1.2.1-beta.2","latest":"1.2.4"},"versions":{"0.0.1":{"name":"mcp-http-server","version":"0.0.1","keywords":[],"author":"","license":"ISC","_id":"mcp-http-server@0.0.1","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"dist":{"shasum":"06d5397e04607f98c8e9cc160f9e5be130915d7d","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-0.0.1.tgz","fileCount":1,"integrity":"sha512-YQyAFY3ndH5zOe5SYre3gAGH7DShTtNChqXDR1bpZ2g6qeR6LOsOFZjrokmQ05TLDcCRsAZx8Yw+RdLL4evw/w==","signatures":[{"sig":"MEYCIQCM9CLQPA6ztjWyYCvUrwIJ98ZTWFHAmMzz/H9l3377oAIhAIhHRy6ObJCLu1+Z0gO5yTS8VDM5m6BuU1tcsxG1Ibl9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":229},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_npmVersion":"10.9.2","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_0.0.1_1747837668228_0.4937978008998982","host":"s3://npm-registry-packages-npm-production"}},"1.1.1-beta.3":{"name":"mcp-http-server","version":"1.1.1-beta.3","license":"MIT","_id":"mcp-http-server@1.1.1-beta.3","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"f954f5d47a77d8ed042b5680cfa082ad425f4694","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.1.1-beta.3.tgz","fileCount":11,"integrity":"sha512-OwStmWLo41mDm9NmX6sPk10BpCTAg8NP6TvHql9qzvYT/OKcpdMDUzR3RMouxDTmOptDwG2MdxdLjxx63Vo7Gg==","signatures":[{"sig":"MEQCID3XRTO/WD/6830841WL5DRjb0l4CCJyGu7deAQvevroAiAsuUEx1Lvv36xa9Le5r2uHbMNusqqO9NltS/JQjwKYIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29999},"main":"./dist/index.js","_from":"file:mcp-http-server-1.1.1-beta.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/5f4084cae56efc465ac95d5a4f263643/mcp-http-server-1.1.1-beta.3.tgz","_integrity":"sha512-OwStmWLo41mDm9NmX6sPk10BpCTAg8NP6TvHql9qzvYT/OKcpdMDUzR3RMouxDTmOptDwG2MdxdLjxx63Vo7Gg==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"^1.11.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.1.1-beta.3_1747902815343_0.2161176251407373","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"mcp-http-server","version":"1.1.1","license":"MIT","_id":"mcp-http-server@1.1.1","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"603779d6b2dbaa6798e7a7b13f5769aaa0bb89fe","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.1.1.tgz","fileCount":11,"integrity":"sha512-PtNnQRbjUbbDUyTvy0VSBLwzWajWDs63s6Mxz00D8zfHJn6M2k+66pbYk/qAEkQKHQC1FvvDFTKYgYpRMWmqWQ==","signatures":[{"sig":"MEYCIQCrqlC4n2xTOfsaUNE57SzGXv4PUSzfx4n2kwmN97CwjgIhAPMp6/OxrQj+aU7ubNyOOWfDCGjfJcIu04GbI6Lo5hmr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29992},"main":"./dist/index.js","_from":"file:mcp-http-server-1.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/f1e7b660c23cce70d198db3387f4e0a6/mcp-http-server-1.1.1.tgz","_integrity":"sha512-PtNnQRbjUbbDUyTvy0VSBLwzWajWDs63s6Mxz00D8zfHJn6M2k+66pbYk/qAEkQKHQC1FvvDFTKYgYpRMWmqWQ==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"^1.11.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.1.1_1747904404611_0.7175376689648971","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"mcp-http-server","version":"1.1.2","license":"MIT","_id":"mcp-http-server@1.1.2","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"40cd23f8cec281fcfd643c119b3f82359d616ebc","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.1.2.tgz","fileCount":11,"integrity":"sha512-ZyI1jlSxFj/q6vLgr25Cw8ir20Xwc7UzTQheB24r22UY0uRUIaQjGs3FqrB15XiOzjfEWHhOfxw515Q/BFaBTg==","signatures":[{"sig":"MEYCIQCdKG3R8tJ9YiiAoDHg4lBLhrgTw21gitR18+oF8MXzaQIhAOgcwIxBBYhEINeD6mCjYsEJJJcftJn/rjdkTuFBtIge","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30190},"main":"./dist/index.js","_from":"file:mcp-http-server-1.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/c8068ef5f1f82aea9d7687deb4b6fcf4/mcp-http-server-1.1.2.tgz","_integrity":"sha512-ZyI1jlSxFj/q6vLgr25Cw8ir20Xwc7UzTQheB24r22UY0uRUIaQjGs3FqrB15XiOzjfEWHhOfxw515Q/BFaBTg==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"^1.11.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.1.2_1747918609243_0.8708991667659114","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"mcp-http-server","version":"1.1.3","license":"MIT","_id":"mcp-http-server@1.1.3","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"8adccf62a2bde216ff7b4a2b2fccf8d49d05b2d8","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.1.3.tgz","fileCount":11,"integrity":"sha512-v9SdF5sioOAw6a5wDxIXWNuwIsZt1IqyuLPyObHS3VZM8+B0vn2hHSTsaTVSpgdFixrESjOWecPB6yfdDdJYPg==","signatures":[{"sig":"MEUCIAHbMTj9Y5M+p4lfk0rOVt9ZFl89RdomO3BWrM36LeHTAiEArmDP1qIAfZjFu8KlkY9Y0N6s8hXstC9Q8MfQjjzhHjM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30683},"main":"./dist/index.js","_from":"file:mcp-http-server-1.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/e2a599b35c6c287f403b989b0f259f19/mcp-http-server-1.1.3.tgz","_integrity":"sha512-v9SdF5sioOAw6a5wDxIXWNuwIsZt1IqyuLPyObHS3VZM8+B0vn2hHSTsaTVSpgdFixrESjOWecPB6yfdDdJYPg==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"^1.11.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.1.3_1748335020607_0.11228523760291043","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"mcp-http-server","version":"1.1.4","license":"MIT","_id":"mcp-http-server@1.1.4","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"f92ed9c8e5d960c0e3c7c9540ab61a917d5fb0b3","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.1.4.tgz","fileCount":11,"integrity":"sha512-kOOUVvJkY6iWnwgiQh3WcapPfKo8yHictdEWMRlZKK17CqN8Iy41ViSsh98kwOZEm4yP/43x49yv3tf8byKOuw==","signatures":[{"sig":"MEQCIAnRNBcec/9wlCLVXp9Z6DLTCXbFMlrSvP4OE7+O7JtHAiAO25BQXMewgm8NiwIawKZrwp9F8R8jXHnC8NN+k8WhCw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30769},"main":"./dist/index.js","_from":"file:mcp-http-server-1.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/4465eb942ceffee4ba7b8a7cd7dccda5/mcp-http-server-1.1.4.tgz","_integrity":"sha512-kOOUVvJkY6iWnwgiQh3WcapPfKo8yHictdEWMRlZKK17CqN8Iy41ViSsh98kwOZEm4yP/43x49yv3tf8byKOuw==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"^1.11.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.1.4_1748361382969_0.9576272697111181","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"mcp-http-server","version":"1.1.5","license":"MIT","_id":"mcp-http-server@1.1.5","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"9990b2b4f7e430b34cbb25d2b2a379a96f23867a","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.1.5.tgz","fileCount":11,"integrity":"sha512-bmKEo88wtJ88GSHrBd6zmjM19HU00c4FZ5YRt61nhHzpQjiryvRwmhNsKvbDwapBq94F7EePH9BJehBjXh17Bg==","signatures":[{"sig":"MEYCIQDqK9SsUvpJ9BRxQgp3VmfqUiWCcWXHOyqy4oM4yh/BQQIhALy7UHppocQvd5gxmIDnMeCPMoDfYc3NT6ZZtnG/C820","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32239},"main":"./dist/index.js","_from":"file:mcp-http-server-1.1.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/b4d0b9790f334a1c8f7798c9841fb120/mcp-http-server-1.1.5.tgz","_integrity":"sha512-bmKEo88wtJ88GSHrBd6zmjM19HU00c4FZ5YRt61nhHzpQjiryvRwmhNsKvbDwapBq94F7EePH9BJehBjXh17Bg==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"^1.11.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.1.5_1748406382113_0.5928274964433189","host":"s3://npm-registry-packages-npm-production"}},"1.2.0-beta.0":{"name":"mcp-http-server","version":"1.2.0-beta.0","license":"MIT","_id":"mcp-http-server@1.2.0-beta.0","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"63362d2550172b3e5622c7c987f633b855b112ba","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.0-beta.0.tgz","fileCount":11,"integrity":"sha512-mWVLtQ71Y1KGTpDPtv3VJ7QsTQvVLV5OvlSMNRBgqm9JddF91chHCqkXMXcYORGq11nlJzoDUb7jn+os+UGOEg==","signatures":[{"sig":"MEYCIQDO2zDy7Qz5hYFAf4JKnbIPqz873SbVJ3R/3O07ZhDGIgIhANWMq4xOwqtVsrEehvlM1KahIZcrimUh7diiVca8Jktw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32674},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.0-beta.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/a731d38d6138eae611eb12e989558748/mcp-http-server-1.2.0-beta.0.tgz","_integrity":"sha512-mWVLtQ71Y1KGTpDPtv3VJ7QsTQvVLV5OvlSMNRBgqm9JddF91chHCqkXMXcYORGq11nlJzoDUb7jn+os+UGOEg==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.0-beta.0_1750728688209_0.5164364246158262","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"mcp-http-server","version":"1.2.0","license":"MIT","_id":"mcp-http-server@1.2.0","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"d92ec9af9522e8aac46dacf5c3bfc2062b8a79b4","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.0.tgz","fileCount":11,"integrity":"sha512-6goJPg76llPHr3DOOnv6Co2ogRRij/cCLh9ucjJkxWPn0R7jTcI4qfO+cFRnM5KJPMUAR4nE9pwoSuv2VB/gow==","signatures":[{"sig":"MEYCIQDRZpi3YIv81qxhlT0RRLF218FpXv2TrfHvWBlBLlWNvQIhAPMk4qM1PzPFYMaBYZyCG6LwxuMOrYVK3mAyMy5cL7Dz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32667},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/fa6e86d177deca6864c5426d7948778c/mcp-http-server-1.2.0.tgz","_integrity":"sha512-6goJPg76llPHr3DOOnv6Co2ogRRij/cCLh9ucjJkxWPn0R7jTcI4qfO+cFRnM5KJPMUAR4nE9pwoSuv2VB/gow==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.0_1750744311072_0.6977385013066448","host":"s3://npm-registry-packages-npm-production"}},"1.2.1-beta.0":{"name":"mcp-http-server","version":"1.2.1-beta.0","license":"MIT","_id":"mcp-http-server@1.2.1-beta.0","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"c9fed9b109e7a2740400ca880082523032de6611","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.1-beta.0.tgz","fileCount":11,"integrity":"sha512-9gID5ynuTUvmXLisieAhkaIplYOAVFoFt38h6CAvu+h9FNjZ4KfldpByV+HhcEdAz5HWqEco/XAOOJq4jxJZ8g==","signatures":[{"sig":"MEUCIQDHWARRB8UVe/e/fHswrcMzfIr9jREqhinwlw/Z/r+5nwIgJ/HOeYVlBnvSqR7iXWO0T2OVd5fMnm7Pb0BV0we8uJY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32768},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.1-beta.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/9312dea5f64c5bcfb849e331cbac778d/mcp-http-server-1.2.1-beta.0.tgz","_integrity":"sha512-9gID5ynuTUvmXLisieAhkaIplYOAVFoFt38h6CAvu+h9FNjZ4KfldpByV+HhcEdAz5HWqEco/XAOOJq4jxJZ8g==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.1-beta.0_1750934358622_0.517980391649115","host":"s3://npm-registry-packages-npm-production"}},"1.2.1-beta.1":{"name":"mcp-http-server","version":"1.2.1-beta.1","license":"MIT","_id":"mcp-http-server@1.2.1-beta.1","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"50ccbd252f451693d6d1861865aa9518e5f39479","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.1-beta.1.tgz","fileCount":11,"integrity":"sha512-dIaWcmF36lZFa1aV29CXAQFGToF2jXaflCFwjYqFxINXppis/5qjPRqOjQI8d5k1gZGDku795BbKqx4DFt2FBA==","signatures":[{"sig":"MEUCIQDQCSm+RxIxG7LFx3ougumN7TjeZzfKWz6Au12SCh8RawIgTvo78AtYbIl+1sALzGgHuAo5BTksWaD4PT/Xz67iVrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33361},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.1-beta.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/d9f4c560e63fcb459fbd6aaecf02e92c/mcp-http-server-1.2.1-beta.1.tgz","_integrity":"sha512-dIaWcmF36lZFa1aV29CXAQFGToF2jXaflCFwjYqFxINXppis/5qjPRqOjQI8d5k1gZGDku795BbKqx4DFt2FBA==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2","@agent-infra/logger":"0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.1-beta.1_1750957096189_0.1522371711691044","host":"s3://npm-registry-packages-npm-production"}},"1.2.1-beta.2":{"name":"mcp-http-server","version":"1.2.1-beta.2","license":"MIT","_id":"mcp-http-server@1.2.1-beta.2","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"5e37efcab050aea368170d58f3a767df68d479c5","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.1-beta.2.tgz","fileCount":11,"integrity":"sha512-njPy8xuZkDD4EqoHsZpoQNhhNqoJ/Uo8iripx/Iuh7uycqbxlzjf7vYYtcc2qdsczXxRt9lGOyreRRqqBAbfsA==","signatures":[{"sig":"MEUCIQCr+/zkkTaQadez7sQJ483Iut5xPYipTO3C/w9c/vQzXwIgM3TKz/NCSA9jEx1wd9IeLmZV0cCa9fMTDaCutTIQ6UM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34063},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.1-beta.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/c005c33993531961517975b3f8ba3929/mcp-http-server-1.2.1-beta.2.tgz","_integrity":"sha512-njPy8xuZkDD4EqoHsZpoQNhhNqoJ/Uo8iripx/Iuh7uycqbxlzjf7vYYtcc2qdsczXxRt9lGOyreRRqqBAbfsA==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@agent-infra/logger":"0.0.1","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.1-beta.2_1750990920624_0.1587861462674518","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"mcp-http-server","version":"1.2.1","license":"MIT","_id":"mcp-http-server@1.2.1","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"015ce67f4450919a4998b47de48429966f4da19c","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.1.tgz","fileCount":11,"integrity":"sha512-348bq5YGWz6vPb8iXwni79oSe7+3zbjoxxg5UDJuONKoEYPbib1dNLt7xkddJ3HkCZH0fEH+cL27MCXRXGP0UQ==","signatures":[{"sig":"MEUCIQDEcjq3SZxD48z+v4PMx5n42SCbsSyVyxnP1qkJq2W4fwIgUlYpo72pWq36BUGYenP1TkWAaM5HazI6i7jRhFIdmjE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34056},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/6a12c236908ad48178641a68888782a1/mcp-http-server-1.2.1.tgz","_integrity":"sha512-348bq5YGWz6vPb8iXwni79oSe7+3zbjoxxg5UDJuONKoEYPbib1dNLt7xkddJ3HkCZH0fEH+cL27MCXRXGP0UQ==","repository":{"url":"git+ssh://git@github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@agent-infra/logger":"0.0.1","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.1_1751118341910_0.37536767203280297","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"mcp-http-server","version":"1.2.2","license":"MIT","_id":"mcp-http-server@1.2.2","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"e9ab0ca72f52bd91c3d25431f0e4a5588b549a3d","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.2.tgz","fileCount":11,"integrity":"sha512-qUTZaNqZmnnyk+F4mLTYys8310wpaFmqyB4DZI4v4jAIUeIt+u22Q/PXe/wlnjsJ+gIEMFtvXd1bogXa5A7CEA==","signatures":[{"sig":"MEUCIFokwCLvBKUrmbKuIH4I7FOf2JI477ERftjq9dJffHlIAiEAn2wIQtfXlL3Sz4ZCN4ATDWl3lkxpJXtyEqeo/Zu1BEA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42672},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","actor":{"name":"ycjcl868","type":"user","email":"45808948@qq.com"},"email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/0b6cac1557627b733459c539ad7c71fb/mcp-http-server-1.2.2.tgz","_integrity":"sha512-qUTZaNqZmnnyk+F4mLTYys8310wpaFmqyB4DZI4v4jAIUeIt+u22Q/PXe/wlnjsJ+gIEMFtvXd1bogXa5A7CEA==","repository":{"url":"git+https://github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@agent-infra/logger":"0.0.1","@modelcontextprotocol/sdk":"~1.13.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.2_1752077647105_0.5559189181248063","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"mcp-http-server","version":"1.2.3","license":"MIT","_id":"mcp-http-server@1.2.3","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"dist":{"shasum":"a35cb6c01168c1fa0ab6ee11bcc1020735dafddd","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.3.tgz","fileCount":11,"integrity":"sha512-2a3/JSjfPDom1ErDxWzBOLafi26VYzO8TUlQ50CTpLrEL27qvXknb6Tma6bAzi3JPlX4oO+bd1nwYk4Z36pvZA==","signatures":[{"sig":"MEYCIQDLAsHf9+HOz/p9g3wJKwu0XCpXT7dMf3e0Q1UJ6OSADQIhAJrbA2M1GuXz7TtrtueTq3tuVwAaLAm96Eq8vRJwyMoj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42672},"main":"./dist/index.js","_from":"file:mcp-http-server-1.2.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"shx rm -rf dist && rslib build","watch":"rslib build --watch"},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/9dcd0b3aaace95bea5a4f24c7638786f/mcp-http-server-1.2.3.tgz","_integrity":"sha512-2a3/JSjfPDom1ErDxWzBOLafi26VYzO8TUlQ50CTpLrEL27qvXknb6Tma6bAzi3JPlX4oO+bd1nwYk4Z36pvZA==","repository":{"url":"git+https://github.com/bytedance/UI-TARS-desktop.git","type":"git","directory":"packages/agent-infra/mcp-http-server"},"_npmVersion":"10.9.2","description":"High performance HTTP Server for MCP","directories":{},"_nodeVersion":"22.15.0","dependencies":{"express":"^5.1.0","@agent-infra/logger":"0.0.1","@modelcontextprotocol/sdk":"~1.15.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.3","vitest":"^3.0.7","get-port":"^7.1.0","typescript":"^5.7.3","@rslib/core":"0.5.3","@types/diff":"^5.0.9","@types/node":"^22","cross-fetch":"4.1.0","@types/express":"^5.0.1","@types/minimatch":"^5.1.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp-http-server_1.2.3_1752664813373_0.08520996114355572","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"mcp-http-server","version":"1.2.4","description":"High performance HTTP Server for MCP","license":"MIT","homepage":"https://github.com/bytedance/UI-TARS-desktop","bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"repository":{"type":"git","url":"git+https://github.com/bytedance/UI-TARS-desktop.git","directory":"packages/agent-infra/mcp-http-server"},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts"}},"dependencies":{"@modelcontextprotocol/sdk":"~1.15.1","express":"^5.1.0","@agent-infra/logger":"0.0.1"},"devDependencies":{"get-port":"^7.1.0","@types/express":"^5.0.1","cross-fetch":"4.1.0","@rslib/core":"0.5.3","tsx":"^4.19.3","vitest":"^3.0.7","@types/diff":"^5.0.9","@types/minimatch":"^5.1.2","@types/node":"^22","typescript":"^5.7.3"},"scripts":{"build":"shx rm -rf dist && rslib build","test":"vitest run","watch":"rslib build --watch"},"_id":"mcp-http-server@1.2.4","_integrity":"sha512-Sr//cU8CvH1zd2SezZxB/OegBPH7OegyuZMbTFEdXKaWrgFPBKMIfJ0IPGLGgshbZ8oE3NTQ83PzEZLvXRykWA==","_resolved":"/private/var/folders/xj/zdqmfjv57hng5ll7fglkyffh0000gp/T/a81eef6d97b0ef3556b14747fd32a566/mcp-http-server-1.2.4.tgz","_from":"file:mcp-http-server-1.2.4.tgz","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Sr//cU8CvH1zd2SezZxB/OegBPH7OegyuZMbTFEdXKaWrgFPBKMIfJ0IPGLGgshbZ8oE3NTQ83PzEZLvXRykWA==","shasum":"e6d3e5b8282382cdbf6a6f90c67d01e42c95afd3","tarball":"https://registry.npmjs.org/mcp-http-server/-/mcp-http-server-1.2.4.tgz","fileCount":11,"unpackedSize":42748,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDXNOCU75iYLzwlKbH8HM4ASIfjB7cVHAoepdcNX949ZgIhAMeCIgFtWGm783nfBJOMQ9AtbVQ4W6pZpXrOQ3XQj/7h"}]},"_npmUser":{"name":"ycjcl868","email":"45808948@qq.com"},"directories":{},"maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-http-server_1.2.4_1753088133451_0.1501423989719859"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-21T14:27:48.227Z","modified":"2025-07-21T08:55:33.804Z","0.0.1":"2025-05-21T14:27:48.411Z","1.1.1-beta.3":"2025-05-22T08:33:35.582Z","1.1.1":"2025-05-22T09:00:04.772Z","1.1.2":"2025-05-22T12:56:49.447Z","1.1.3":"2025-05-27T08:37:00.779Z","1.1.4":"2025-05-27T15:56:23.175Z","1.1.5":"2025-05-28T04:26:22.328Z","1.2.0-beta.0":"2025-06-24T01:31:28.389Z","1.2.0":"2025-06-24T05:51:51.245Z","1.2.1-beta.0":"2025-06-26T10:39:18.807Z","1.2.1-beta.1":"2025-06-26T16:58:16.349Z","1.2.1-beta.2":"2025-06-27T02:22:00.839Z","1.2.1":"2025-06-28T13:45:42.103Z","1.2.2":"2025-07-09T16:14:07.288Z","1.2.3":"2025-07-16T11:20:13.622Z","1.2.4":"2025-07-21T08:55:33.616Z"},"bugs":{"url":"https://github.com/bytedance/UI-TARS-desktop/issues"},"license":"MIT","homepage":"https://github.com/bytedance/UI-TARS-desktop","repository":{"type":"git","url":"git+https://github.com/bytedance/UI-TARS-desktop.git","directory":"packages/agent-infra/mcp-http-server"},"description":"High performance HTTP Server for MCP","maintainers":[{"name":"ycjcl868","email":"45808948@qq.com"}],"readme":"# MCP HTTP Server\n\nA high performance HTTP+SSE Server with Request Headers for MCP Server.\n\n## Features\n\n- **HTTP/SSE Transport**: Support for both HTTP POST and Server-Sent Events\n- **Flexible Routing**: Configurable endpoint paths and prefixes\n- **Request Headers**: Access to HTTP headers in MCP server context\n- **Multiple Transports**: Both stateful and stateless modes\n- **Middleware Support**: Custom middleware for authentication, logging, etc.\n\n## Install\n\n```bash\nnpm i mcp-http-server -S\n```\n\n## Quick Start\n\n```ts\nimport { startSseAndStreamableHttpMcpServer } from 'mcp-http-server';\nimport { createServer } from './server.js';\n\nawait startSseAndStreamableHttpMcpServer({\n  port: 3000,\n  createMcpServer: async (params) => {\n    console.log('Request headers:', params.headers);\n    return createServer();\n  },\n});\n```\n\n## API Reference\n\n### `startSseAndStreamableHttpMcpServer(params)`\n\n#### Parameters\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `port` | `number` | Port to listen on (default: 8080) |\n| `host` | `string` | Host to bind to (default: '::') |\n| `stateless` | `boolean` | Enable stateless mode for streamable HTTP (default: true) |\n| `middlewares` | `MiddlewareFunction[]` | Custom Express middlewares |\n| `routes` | `RoutesConfig` | Custom route configuration |\n| `logger` | `Logger` | Custom logger instance |\n| `createMcpServer` | `function` | Factory function to create MCP server instances |\n\n## Route Configuration\n\nThe server supports flexible route configuration through the `routes` parameter.\n\n### Default Routes\n\nBy default, the server uses the following routes:\n\n```ts\n{\n  prefix: '/',      // Route prefix for all endpoints\n  mcp: '/mcp',      // MCP endpoint path\n  message: '/message', // Message endpoint path for SSE\n  sse: '/sse'       // SSE endpoint path\n}\n```\n\nThis creates the following endpoints:\n- **POST** `/mcp` - MCP HTTP transport\n- **GET** `/mcp` - Returns 405 (Method Not Allowed) or SSE stream\n- **GET** `/sse` - SSE connection endpoint\n- **POST** `/message` - SSE message endpoint\n\n### Custom Routes\n\nYou can customize routes using the `routes` configuration:\n\n```ts\nawait startSseAndStreamableHttpMcpServer({\n  port: 3000,\n  routes: {\n    prefix: '/api/v1',\n    mcp: '/custom-mcp',\n    message: '/custom-message',\n    sse: '/custom-sse'\n  },\n  createMcpServer: async () => createServer(),\n});\n```\n\nThis creates endpoints at:\n- **POST** `/api/v1/custom-mcp` - MCP HTTP transport\n- **GET** `/api/v1/custom-mcp` - Returns 405 or SSE stream\n- **GET** `/api/v1/custom-sse` - SSE connection endpoint\n- **POST** `/api/v1/custom-message` - SSE message endpoint\n\n### Route Configuration Options\n\n#### `routes.prefix`\n- **Type**: `string`\n- **Default**: `'/'`\n- **Description**: Route prefix for all endpoints\n\n#### `routes.mcp`\n- **Type**: `string`\n- **Default**: `'/mcp'`\n- **Description**: MCP endpoint path (relative to prefix)\n\n#### `routes.message`\n- **Type**: `string`\n- **Default**: `'/message'`\n- **Description**: Message endpoint path for SSE (relative to prefix)\n\n#### `routes.sse`\n- **Type**: `string`\n- **Default**: `'/sse'`\n- **Description**: SSE endpoint path (relative to prefix)\n\n### Path Handling\n\nThe server automatically handles leading/trailing slashes in paths:\n\n```ts\n// These configurations are equivalent:\nroutes: {\n  prefix: '/api/v2/',\n  mcp: 'mcp-endpoint',\n  sse: '/sse-endpoint/'\n}\n\nroutes: {\n  prefix: '/api/v2',\n  mcp: '/mcp-endpoint',\n  sse: 'sse-endpoint'\n}\n```\n\nBoth result in:\n- `/api/v2/mcp-endpoint`\n- `/api/v2/sse-endpoint/`\n\n## Usage Examples\n\n### Basic HTTP Server\n\n```ts\nimport { startSseAndStreamableHttpMcpServer } from 'mcp-http-server';\nimport { Server } from '@modelcontextprotocol/sdk/server/index.js';\n\nconst server = await startSseAndStreamableHttpMcpServer({\n  port: 3000,\n  createMcpServer: async () => {\n    return new Server(\n      { name: 'my-server', version: '1.0.0' },\n      { capabilities: { tools: {} } }\n    );\n  },\n});\n\nconsole.log(`Server running at ${server.url}`);\n```\n\n### With Custom Routes and Middleware\n\n```ts\nimport { startSseAndStreamableHttpMcpServer } from 'mcp-http-server';\n\nconst authMiddleware = (req, res, next) => {\n  const token = req.headers.authorization;\n  if (!token) {\n    return res.status(401).json({ error: 'Unauthorized' });\n  }\n  next();\n};\n\nawait startSseAndStreamableHttpMcpServer({\n  port: 3000,\n  host: 'localhost',\n  routes: {\n    prefix: '/api/v1',\n    mcp: '/mcp',\n    sse: '/events'\n  },\n  middlewares: [authMiddleware],\n  createMcpServer: async (context) => {\n    console.log('User agent:', context.headers['user-agent']);\n    return createServer();\n  },\n});\n```\n\n### Command Line Interface\n\n```ts\nimport { program } from 'commander';\nimport { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';\n\nprogram\n  .name('mcp-server')\n  .description('MCP server with HTTP and stdio support')\n  .version('1.0.0')\n  .option('--host <host>', 'host to bind server to')\n  .option('--port <port>', 'port to listen on for HTTP transport')\n  .option('--prefix <prefix>', 'route prefix for HTTP endpoints', '/api')\n  .action(async (options) => {\n    try {\n      if (options.port || options.host) {\n        // HTTP/SSE transport\n        await startSseAndStreamableHttpMcpServer({\n          host: options.host,\n          port: options.port ? parseInt(options.port) : undefined,\n          routes: {\n            prefix: options.prefix,\n          },\n          createMcpServer: async (params) => {\n            console.log('HTTP request from:', params.headers['user-agent']);\n            return createServer();\n          },\n        });\n      } else {\n        // Stdio transport\n        const server = createServer();\n        const transport = new StdioServerTransport();\n        await server.connect(transport);\n        console.debug('MCP Server running on stdio');\n      }\n    } catch (error) {\n      console.error('Error:', error);\n      process.exit(1);\n    }\n  });\n\nprogram.parse();\n```\n\n## Transport Modes\n\n### Stateful Mode (Default: Stateless)\n\n```ts\nawait startSseAndStreamableHttpMcpServer({\n  stateless: false, // Enable stateful mode\n  createMcpServer: async () => createServer(),\n});\n```\n\nIn stateful mode:\n- Each client gets a unique session ID\n- Sessions are maintained across requests\n- Requires proper session cleanup\n\n### Stateless Mode (Recommended)\n\n```ts\nawait startSseAndStreamableHttpMcpServer({\n  stateless: true, // Default\n  createMcpServer: async () => createServer(),\n});\n```\n\nIn stateless mode:\n- No session state maintained\n- Each request is independent\n- Better for scaling and reliability\n\n## Return Value\n\n`startSseAndStreamableHttpMcpServer` returns a `McpServerEndpoint` object:\n\n```ts\ninterface McpServerEndpoint {\n  url: string;      // Full URL to MCP endpoint\n  sseUrl: string;   // Full URL to SSE endpoint\n  port: number;     // Server port\n  close: () => void; // Function to close server\n}\n```\n\nExample:\n```ts\nconst endpoint = await startSseAndStreamableHttpMcpServer({\n  port: 3000,\n  routes: { prefix: '/api' },\n  createMcpServer: async () => createServer(),\n});\n\nconsole.log('MCP endpoint:', endpoint.url);     // http://localhost:3000/api/mcp\nconsole.log('SSE endpoint:', endpoint.sseUrl);  // http://localhost:3000/api/sse\n\n// Gracefully shutdown\nprocess.on('SIGTERM', () => {\n  endpoint.close();\n});\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}