use-mcp/examples/example-server/vengabus
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Glen Maddern ba9e6c9f3f Add debug logging and Accept headers for MCP transport debugging
- Added extensive debug logging to transport creation and connection flows
- Added proper Accept header (application/json, text/event-stream) to transport options
- Fixed scroll jittering during streaming with instant scroll behavior
- Investigating HTTP transport 'Not connected' errors and SSE connection hanging
2025-06-24 22:25:57 +10:00
..
src Add debug logging and Accept headers for MCP transport debugging 2025-06-24 22:25:57 +10:00
.gitignore Added a simple example server for the demo 2025-06-24 16:19:32 +10:00
package.json Added a simpe Hono server to test 2025-06-24 17:26:16 +10:00
pnpm-lock.yaml Added a simpe Hono server to test 2025-06-24 17:26:16 +10:00
README.md Added a simple example server for the demo 2025-06-24 16:19:32 +10:00
tsconfig.json Added a simple example server for the demo 2025-06-24 16:19:32 +10:00
worker-configuration.d.ts Added a simple example server for the demo 2025-06-24 16:19:32 +10:00
wrangler.jsonc Added a simple example server for the demo 2025-06-24 16:19:32 +10:00

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 }>()