{"versions":{"0.1.0":{"name":"@hono/mcp","version":"0.1.0","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"@modelcontextprotocol/sdk":"^1.12.0","hono":"*"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.12.0","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.0.8","zod":"^3.25.34"},"_id":"@hono/mcp@0.1.0","gitHead":"80481dd5ed5a206de009345c5f274e269da3f67b","dist":{"shasum":"be5b1af6d0a271b669cf477cede0e5448bf78117","integrity":"sha512-IELNnKF5tjbUm+wthfToZrNxZIjs1RWLiwCx8N+m8xfJcL6hfcpj/21Gsw8HL88lbnCh191mbFwYvXnx856QZg==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.1.0.tgz","fileCount":7,"unpackedSize":37857,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICDnrTQ2CLkNXCK2xzo62hwnglfxCSjkkLlNHnEC0QhHAiEA7zIBKtuM3qblgJ9Q5HRfgl3rIOY2WepSkzk2HlqUZPg="}],"size":5684},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com","actor":{"name":"yusukebe","email":"yusuke@kamawada.com","type":"user"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.0_1750198670593_0.6774399531997912"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-17T22:17:50.763Z","publish_time":1750198670763,"_source_registry_name":"default","contributors":[]},"0.1.1":{"name":"@hono/mcp","version":"0.1.1","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"@modelcontextprotocol/sdk":"^1.12.0","hono":">=4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.12.0","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^3.25.34"},"_id":"@hono/mcp@0.1.1","gitHead":"d192be724123f89a027ec23e33db744208c6df15","dist":{"shasum":"960bc506852ba7e6059e5c0d523c862b5dff09a8","integrity":"sha512-2iQ4xBKfQdBBJP3V1/XCVyxQZeWWnxJG+5ytu9/Xuwwje3D70fm9ws0VV536rZ3CKWrnZZ/X+xeJ7FwR3ErVbw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.1.1.tgz","fileCount":7,"unpackedSize":38239,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDk4IH4AlGdYNHeIc3JGBfBymJR/lYdAF3A2TZly+80OwIge929gvZSvBFh4WPxR/LWFl7KD16yVHxITeAevAoz9sc="}],"size":5789},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.1_1753820590406_0.8894108852773168"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-29T20:23:10.645Z","publish_time":1753820590645,"_source_registry_name":"default","contributors":[]},"0.1.2":{"name":"@hono/mcp","version":"0.1.2","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"@modelcontextprotocol/sdk":"^1.12.0","hono":">=4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.17.1","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^3.25.34"},"_id":"@hono/mcp@0.1.2","gitHead":"c7d20bae5ef992322ad8b277fe04d27d68f86124","dist":{"shasum":"ff793bae847c521195679b46d1a1515ec5f6e8b8","integrity":"sha512-eOOuToYeGY4aQET23GqHgNCM3MeidBTdeD/Yko0aK2Hga+BIpJ5Kg3wXYUmPVcFLEMAZHVvVYSxJC7LYKBeY2g==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.1.2.tgz","fileCount":7,"unpackedSize":39788,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEhp+UWEfmWJ/xy/NNdcgM9uhWvnCZkEHe2zo9MMCc4/AiEAxRcUI+6YChD0t3pe2A2yQtUtPitH4Z7QP/nLmtgVjJ0="}],"size":5985},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.2_1756239193618_0.0668820634904228"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-26T20:13:13.802Z","publish_time":1756239193802,"_source_registry_name":"default","contributors":[]},"0.1.3":{"name":"@hono/mcp","version":"0.1.3","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"@modelcontextprotocol/sdk":"^1.12.0","hono":">=4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.17.4","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^3.25.34"},"_id":"@hono/mcp@0.1.3","gitHead":"76b3e112f23368f438818692353380cd1e10a351","dist":{"shasum":"4bc88f8b2bc7aaf6fad446998c0ccdc1bf7e332e","integrity":"sha512-K+TGp4V8WoyoRw6cOJxTXvZg/mZ1/5C3Pm368bVRldCPA65im9Cq3PY7rc5ltUojvVLlumxjC+t1L+r0fAETrw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.1.3.tgz","fileCount":7,"unpackedSize":40203,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID6SZC08PsFPeMkxiTIlO9l8DTnLgfnitKVJ/l15N2d7AiARP3XsUxQyPm/pwYDdmyWU4HBxT9iTGalk6kAw1XX6eg=="}],"size":6127},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.3_1757394581201_0.1243563386243769"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-09T05:09:41.464Z","publish_time":1757394581464,"_source_registry_name":"default","contributors":[]},"0.1.4":{"name":"@hono/mcp","version":"0.1.4","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"@modelcontextprotocol/sdk":"^1.12.0","hono":">=4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.17.4","hono":"^4.8.4","publint":"^0.3.9","tsup":"^8.4.0","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^3.25.34"},"_id":"@hono/mcp@0.1.4","gitHead":"9bfbe99d69360376d4f6c61a053a5db90db699a2","dist":{"shasum":"a6b327b639d6389ef761a051e8406345c90f0c74","integrity":"sha512-OOMZCXaCcKw6MZoXJH1caO1FAPjJoTKRVstgzRVE8GJ/LMXvm/3OTynZYex0b5NYdMQRemd+FUjdCcYkH1pxMQ==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.1.4.tgz","fileCount":7,"unpackedSize":40505,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6F80SvAXtr7Oe2w16yB36pJqUb3//t1JdWHwyU8IZZwIgYdc5CK09j56F0zngQtefQWmBhS+WX649fWgl79qY6Dw="}],"size":6185},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.4_1757395849488_0.08370476647821246"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-09T05:30:49.745Z","publish_time":1757395849745,"_source_registry_name":"default","contributors":[]},"0.1.5":{"name":"@hono/mcp","version":"0.1.5","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsup ./src/index.ts","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","prepack":"yarn build","publint":"attw --pack && publint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://github.com/honojs/middleware","peerDependencies":{"@modelcontextprotocol/sdk":"^1.12.0","hono":">=4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@modelcontextprotocol/sdk":"^1.19.1","hono":"^4.10.1","publint":"^0.3.14","tsup":"^8.5.0","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^3.25.34"},"_id":"@hono/mcp@0.1.5","gitHead":"fc17fafa9da18472f91f2791fca7bea62c53a926","dist":{"shasum":"b75bec672d23d5323b39b88ee6a132f04ba814b8","integrity":"sha512-q6Yurx9VUwVEpqnwVXtzIYaq4kgQgWWq9lYLM7NFS2W0sg1RzL+RdKh6jO4/dGyvBLKrahPd2v+NC6rr0XWBvQ==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.1.5.tgz","fileCount":7,"unpackedSize":41054,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHMnfZOktpdJNI3o7fXV9hj1Zi8n9TTOEmKfCibnWMH6AiBH2Dx3BEhoq6yTd4ztIWLSP/R/TUHhIBD8EGMBB+kLhQ=="}],"size":6316},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.5_1761805761258_0.3985528542107608"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-30T06:29:21.427Z","publish_time":1761805761427,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"@hono/mcp","version":"0.2.0","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.17.3","hono":"*","hono-rate-limiter":"^0.4.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.19.1","@types/node":"^24.2.1","hono":"^4.10.6","hono-rate-limiter":"^0.4.2","tsdown":"^0.15.9","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^3.25.34"},"_id":"@hono/mcp@0.2.0","gitHead":"2a8b85fc64cc27502414aae270afcdade1f2875b","dist":{"shasum":"30c3c1a088b952c6d9c00b089af9b45eee87e1bb","integrity":"sha512-kKZklY+yApZce6zzHzQPrEOhon4O7ANstUCDWstvGF3+B/Qn0j9mWUyps2XZhA/PzKoFGUBuAu1SwTFc7JRX9A==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.2.0.tgz","fileCount":21,"unpackedSize":644211,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDBrZQWLK5mUVIqO5s0Upd6H3f4JmbdfwQp4sAMyBnBLgIhAJUTwVPaDEH3PKmxLUmh0igB/uofq0efilC6AynZH7LR"}],"size":112398},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.2.0_1763970474449_0.65341764439468"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-24T07:47:54.658Z","publish_time":1763970474658,"_source_registry_name":"default","contributors":[]},"0.2.1":{"name":"@hono/mcp","version":"0.2.1","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.23.0","hono":"*","hono-rate-limiter":"^0.4.2","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.23.0","@types/node":"^24.2.1","hono":"^4.10.6","hono-rate-limiter":"^0.4.2","tsdown":"^0.15.9","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^4.1.13"},"_id":"@hono/mcp@0.2.1","gitHead":"d14f1de6681e37ee9ed7c3f459813a7fb4db03b1","dist":{"shasum":"1ae06fbd28f3eb235001f40bb56a221f5e29b5d1","integrity":"sha512-2h++bwfLw80M1D5qudnT7VfXGlL+N2JH+X1rrn5axIQXvkININcsyMd1ifdrUlJGgllmN2a7jk2GnP/J4piB8w==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.2.1.tgz","fileCount":21,"unpackedSize":222519,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjM2xSP22BCU7ogIZ667lLASHS3ZmVps92RD9+HSQ/2gIgXBvA/ntoPpGNAy7K0gdhWC53fGwF9qi2p1+E76ecRM0="}],"size":41704},"_npmUser":{"name":"anonymous","email":"yusuke@kamawada.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.2.1_1765011871397_0.6440054514710478"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-06T09:04:31.543Z","publish_time":1765011871543,"_source_registry_name":"default","contributors":[]},"0.2.2":{"name":"@hono/mcp","version":"0.2.2","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.23.0","hono":"*","hono-rate-limiter":"^0.4.2","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.23.0","@types/node":"^24.2.1","hono":"^4.10.6","hono-rate-limiter":"^0.4.2","tsdown":"^0.15.9","typescript":"^5.8.2","vitest":"^3.2.4","zod":"^4.1.13"},"_id":"@hono/mcp@0.2.2","gitHead":"b85d985b1c42b3d12d8e3aa56c398a5aab942441","dist":{"shasum":"ba9a88ace50afcd5379b5d40f05b3d60edc4f34e","integrity":"sha512-h1yHXsv08OWT8bXyIOoZVXw0qU1UmSDwm014fPnFXiyeS9iMMHftn907wNXTh07IorlGqPbZArev4nBz9Q3oKQ==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.2.2.tgz","fileCount":21,"unpackedSize":222876,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHBo7s1k+QiIa6XYBlzwKnTrgAEnjk1RnX50SAdmTJX7AiBKThI0ZattyX8SYIZ3Z0GicUqtjH/QZ1HtIM4olRr1pQ=="}],"size":41816},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.2.2_1765099842198_0.2125238410974568"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-07T09:30:42.351Z","publish_time":1765099842351,"_source_registry_name":"default","contributors":[]},"0.2.3":{"name":"@hono/mcp","version":"0.2.3","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.25.1","hono":"*","hono-rate-limiter":"^0.4.2","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.25.1","@types/node":"^24.2.1","hono":"^4.11.1","hono-rate-limiter":"^0.4.2","tsdown":"^0.15.9","typescript":"^5.8.2","vitest":"^4.0.16","zod":"^4.2.1"},"_id":"@hono/mcp@0.2.3","gitHead":"992b48e0fbce085ee17f45158cdee4d51db30d7c","dist":{"shasum":"e2d3da1f8f9674a9ee304b30a31bde180762ee1c","integrity":"sha512-wrYKVQSjnBg4/ZinnnP/1t3jlvP3Z9fqZv8OzuhLXV4gVTLOHOHDhnXsIwD0nFVKk2pMOvA+sDfrKyRzw4yUPg==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.2.3.tgz","fileCount":21,"unpackedSize":223410,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDPT36qnTm280i6UHTnn9FmpywpbaACUp+D9jp4jjFUPQIgc7V6ZwnBKicDsofUY1nAsw/0dvfAEXZ5RftihrihZiE="}],"size":41918},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.2.3_1766630946206_0.09662701314412625"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-25T02:49:06.354Z","publish_time":1766630946354,"_source_registry_name":"default","contributors":[]},"0.2.4":{"name":"@hono/mcp","version":"0.2.4","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.25.1","hono":"*","hono-rate-limiter":"^0.4.2","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.25.1","@types/node":"^25.2.3","hono":"^4.11.5","hono-rate-limiter":"^0.4.2","tsdown":"^0.15.9","typescript":"^5.9.3","vitest":"^4.1.0-beta.1","zod":"^4.2.1"},"_id":"@hono/mcp@0.2.4","gitHead":"54d95f501e1808ad82a93ce1ae479a9b691e8bf3","dist":{"shasum":"59064480cacc4068f7caeb18164589932278e672","integrity":"sha512-BKH1qNTbrdqVeGHB32zIDNgTKdWUvlNoojM86oiKwwWtD+FQoNJbx2f3NnPvwua0+ujJed8IuEfgRKCNZ+2RNw==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.2.4.tgz","fileCount":21,"unpackedSize":225330,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE+cRr8u8uuBWIJlVLqoNYWXVqQ62p7oEEhJX2a2KtdoAiEApTkmq8qpdCNwSNhKkI91zx7KnyTFhU4rG9p+fl2t7lc="}],"size":42437},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.2.4_1772181986475_0.34685059550740993"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-27T08:46:26.625Z","publish_time":1772181986625,"_source_registry_name":"default","contributors":[]},"0.2.5":{"name":"@hono/mcp","version":"0.2.5","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.25.1","hono":"*","hono-rate-limiter":"^0.4.2","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.25.1","@types/node":"^25.2.3","hono":"^4.11.5","hono-rate-limiter":"^0.4.2","tsdown":"^0.15.9","typescript":"^5.9.3","vitest":"^4.1.0-beta.1","zod":"^4.2.1"},"_id":"@hono/mcp@0.2.5","gitHead":"e058a303ac45d74e10e5e2778cf32a262cea0891","dist":{"shasum":"148e5373c939a764aeb07367dc57857dc01758c3","integrity":"sha512-JsaJes7VlNvUrUQ9j2b9C13xjFLvyKQY515aWtsdJ9cwhBmWz5od2yUCbDu7cX38GeADmlLmpu4BKNNAV6G27w==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.2.5.tgz","fileCount":21,"unpackedSize":228524,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCvKjXPAD7VPe0lymK5uRt0buWerNuBQex9HQvndD5ADQIhAIKFbLCG41eOFYPbuKwSxxUfKL6rzh7nY6ZxSObvkszR"}],"size":39170},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.2.5_1774866034660_0.35502400518600075"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-30T10:20:34.810Z","publish_time":1774866034810,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"@hono/mcp","version":"0.3.0","description":"MCP Middleware for Hono","type":"module","module":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsdown","format":"prettier --check . --ignore-path ../../.gitignore","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./auth":{"import":{"types":"./dist/auth/index.d.ts","default":"./dist/auth/index.js"},"require":{"types":"./dist/auth/index.d.cts","default":"./dist/auth/index.cjs"}}},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.25.1","hono":"*","hono-rate-limiter":"^0.5.3","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.4","@modelcontextprotocol/sdk":"^1.25.1","@types/node":"^25.2.3","hono":"^4.11.5","hono-rate-limiter":"^0.5.3","tsdown":"^0.15.9","typescript":"^5.9.3","vitest":"^4.1.0-beta.1","zod":"^4.2.1"},"_id":"@hono/mcp@0.3.0","gitHead":"f0da2ae5216a09c98175f9b4d7fabcdd06c4993a","dist":{"shasum":"0b496c107e57224f44bf57ee97f2377c35707d74","integrity":"sha512-UhSWFbZwRxHBdptOn2r1HyB8Vt6gU+BL3AbTis2t8TBW69ZhG4soJQ09yEL/t/ymxszJnWp5Rq6tOXXOjuK1qg==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.3.0.tgz","fileCount":21,"unpackedSize":232783,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEdJVQEkJcEcMbGbKqNLow5e0EJ8zS/KWT2D4liy39vVAiEA2+3dRVhkm8vTPhxo2z+55gLQ4zLaX28ZtRzfCfPeP/o="}],"size":42535},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.3.0_1778923867563_0.7679920153879005"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-16T09:31:07.717Z","publish_time":1778923867717,"_source_registry_name":"default","contributors":[]},"0.3.1":{"name":"@hono/mcp","version":"0.3.1","description":"MCP Middleware for Hono","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.cts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./auth":{"import":"./dist/auth.mjs","require":"./dist/auth.cjs"},"./package.json":"./package.json"},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.29.0","hono":"*","hono-rate-limiter":"^0.5.3","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@modelcontextprotocol/sdk":"^1.29.0","@types/node":"^25.2.3","hono":"^4.11.5","hono-rate-limiter":"^0.5.3","tsdown":"^0.22.3","typescript":"^6.0.3","vitest":"^4.1.7","zod":"^4.2.1"},"scripts":{"build":"pnpm -w run build:pkg","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"pnpm -w run version:set $npm_package_version"},"_nodeVersion":"22.18.0","_id":"@hono/mcp@0.3.1","dist":{"integrity":"sha512-EB2rTyyl27qT8KtvEysgfcLK2jhp4KBb5+XyJ5/bcKNA64usp6qyuUWja9X4QB8Rx9U/yhZHGpfI96Xa/jem4Q==","shasum":"911c2ae87a88a4f621fe15be684eddf23655b357","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.3.1.tgz","fileCount":16,"unpackedSize":219134,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICSABCD9q6+lCNI27JzQfeDP6i+K72B3YShPxZ1RkYF8AiBc+nA5qyH2ngPKmUyP7Noxk0mGuWsflr43hK8GZVfJPA=="}],"size":49784},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.3.1_1783633094032_0.36444940934574066"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-07-09T21:38:14.181Z","publish_time":1783633094181,"_source_registry_name":"default","contributors":[]},"0.3.2":{"name":"@hono/mcp","version":"0.3.2","description":"MCP Middleware for Hono","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.cts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./auth":{"import":"./dist/auth.mjs","require":"./dist/auth.cjs"},"./package.json":"./package.json"},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org","access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/honojs/middleware.git","directory":"packages/mcp"},"homepage":"https://honohub.dev/docs/hono-mcp","dependencies":{"pkce-challenge":"^5.0.0"},"peerDependencies":{"@modelcontextprotocol/sdk":"^1.29.0","hono":"*","hono-rate-limiter":"^0.5.3","zod":"^3.25.0 || ^4.0.0"},"devDependencies":{"@modelcontextprotocol/sdk":"^1.29.0","@types/node":"^25.2.3","hono":"^4.11.5","hono-rate-limiter":"^0.5.3","tsdown":"^0.22.3","typescript":"npm:@typescript/typescript6@^6.0.2","vitest":"^4.1.7","zod":"^4.2.1"},"scripts":{"build":"pnpm -w run build:pkg","lint":"eslint","typecheck":"tsc -b tsconfig.json","test":"vitest","version:jsr":"pnpm -w run version:set $npm_package_version"},"_nodeVersion":"22.18.0","_id":"@hono/mcp@0.3.2","dist":{"integrity":"sha512-IJQ4RazhwFLRwcTM95Dj9YfNBYXwOQzd1IfnDy4S3hiaBbtnVY0sWiT83auOOnhaCiE0TTbud4JV9UD30zknXA==","shasum":"2dd109454509baec2a426d0584b7ed1ffb0c8892","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@hono/mcp/-/mcp-0.3.2.tgz","fileCount":16,"unpackedSize":222237,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@hono%2fmcp@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD8Gu85WVd1DRZ+oDYno72O3Phl9BeV+f26KLQceutLXwIgKCB6tpnCVnndYAFR6/GyaIyzircv/ZgVPESyVNicB2w="}],"size":50876},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43872966-28a3-4843-bde6-a3e080961e58"}},"directories":{},"maintainers":[{"name":"anonymous","email":"yusuke@kamawada.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.3.2_1787037787498_0.5365113064251923"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-18T07:23:07.663Z","publish_time":1787037787663,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.3.2"},"name":"@hono/mcp","time":{"created":"2025-06-21T23:34:21.815Z","modified":"2026-08-18T07:23:19.189Z","0.1.0":"2025-06-17T22:17:50.763Z","0.1.1":"2025-07-29T20:23:10.645Z","0.1.2":"2025-08-26T20:13:13.802Z","0.1.3":"2025-09-09T05:09:41.464Z","0.1.4":"2025-09-09T05:30:49.745Z","0.1.5":"2025-10-30T06:29:21.427Z","0.2.0":"2025-11-24T07:47:54.658Z","0.2.1":"2025-12-06T09:04:31.543Z","0.2.2":"2025-12-07T09:30:42.351Z","0.2.3":"2025-12-25T02:49:06.354Z","0.2.4":"2026-02-27T08:46:26.625Z","0.2.5":"2026-03-30T10:20:34.810Z","0.3.0":"2026-05-16T09:31:07.717Z","0.3.1":"2026-07-09T21:38:14.181Z","0.3.2":"2026-08-18T07:23:07.663Z"},"readme":"# Hono MCP (Model Context Protocol)\n\nConnect Hono to a Model Context Protocol (MCP) server over HTTP Streaming Transport.\n\n## Streamable HTTP Transport\n\n```ts\nimport { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'\nimport { StreamableHTTPTransport } from '@hono/mcp'\nimport { Hono } from 'hono'\n\nconst app = new Hono()\n\n// Your MCP server implementation\nconst mcpServer = new McpServer({\n  name: 'my-mcp-server',\n  version: '1.0.0',\n})\n\n// Initialize the transport\nconst transport = new StreamableHTTPTransport()\n\napp.all('/mcp', async (c) => {\n  if (!mcpServer.isConnected()) {\n    // Connect the mcp with the transport\n    await mcpServer.connect(transport)\n  }\n\n  return transport.handleRequest(c)\n})\n\nexport default app\n```\n\n### Options\n\nThe `StreamableHTTPTransport` constructor accepts all options from the MCP SDK's `StreamableHTTPServerTransportOptions`, plus:\n\n- **`strictAcceptHeader`** (default: `false`) — When `false` (the default), the transport accepts POST requests where the `Accept` header contains `application/json`, `text/event-stream`, or `*/*`. This improves compatibility with clients like Gemini CLI, Java MCP SDK, Open WebUI, and curl. When `true`, the transport enforces strict MCP spec compliance, requiring both `application/json` and `text/event-stream` in the `Accept` header.\n- **`onsessiondisconnected`** — Optional callback invoked with the session ID when the standalone GET SSE stream disconnects. This does not close the session; clients can reconnect and resume it until they send `DELETE`.\n\n```ts\n// Permissive mode (default) — works with most HTTP clients\nconst transport = new StreamableHTTPTransport()\n\n// Strict mode — requires fully spec-compliant Accept header\nconst transport = new StreamableHTTPTransport({ strictAcceptHeader: true })\n```\n\n## Auth\n\nThe simplest way to setup MCP Auth when using 3rd party auth providers.\n\n```ts\nimport { Hono } from 'hono'\nimport { simpleMcpAuthRouter } from '@hono/mcp'\n\nconst app = new Hono()\n\napp.route(\n  '/',\n  simpleMcpAuthRouter({\n    issuer: '[auth provider domain]',\n    resourceServerUrl: new URL('http://localhost:3000/mcp'),\n  })\n)\n\n// ...\n// Logic to connect with the transport\n```\n\nFor implementing custom auth, check out the docs - <https://honohub.dev/docs/hono-mcp>\n\n## Author\n\nAditya Mathur <https://github.com/mathuraditya724>\n\n## License\n\nMIT","users":{}}