使用说明
npm install
npm run dev
npm run deploy
For generating/synchronizing types based on your Worker configuration run:
npm run cf-typegen
Pass the CloudflareBindings as generics when instantiation Hono:
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()
InspectorでMCPを確認する場合
Auth が未実装なので
DANGEROUSLY_OMIT_AUTH=true pnpx @modelcontextprotocol/inspector
で起動し、
- Transport Type: Streamable HTTP
- URL: http://localhost:8787/mcp
で実行できた。
