feat: Migrate to Hono to support Streamable HTTP #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request migrates the project from a Node.js/stdio-based MCP server to a modern, HTTP-based architecture using Hono, Vite, and Cloudflare Workers. It introduces a new API design, improves deployment and developer tooling, and updates documentation to reflect these changes.
Architecture & API Overhaul
index.jsstdio-based MCP server with a new HTTP API powered by Hono and Cloudflare Workers, supporting Streamable HTTP and optional API key authentication via thePASSWORDenvironment variable. (src/index.ts[1]src/mcp.ts[2]src/schema.ts[3]index.js[4]src/mcp.ts[1]src/schema.ts[2]Developer Tooling & Workflow
package.json[1]vite.config.ts[2]wrangler.jsonc[3]prettier.config.mts[4]lint-staged.config.mjs[5].simple-git-hooks.mjs[6].prettierignoreand updates example environment variables. (.prettierignore[1].dev.vars.example[2]Documentation Updates
README.mdto reflect the new HTTP-based API, Cloudflare deployment, usage examples, authentication, and configuration. Removes Docker instructions and stdio references. (README.md[1] [2] [3] [4] [5]test_query.sh) for local testing of the new API. (test_query.shtest_query.shR1-R49)Removed Legacy Code
Dockerfile[1]index.js[2]Summary of Most Important Changes
1. Migration to HTTP/Cloudflare Workers Architecture
src/index.ts[1]wrangler.jsonc[2]vite.config.ts[3]package.json[4]2. Improved Tooling and Developer Experience
package.json[1].simple-git-hooks.mjs[2]lint-staged.config.mjs[3]prettier.config.mts[4].prettierignore[5]3. Enhanced API Design and Validation
src/mcp.ts[1]src/schema.ts[2]4. Documentation Overhaul
README.mdto describe the new HTTP API, deployment, authentication, and usage, and removes Docker/stdio instructions. (README.md[1] [2] [3] [4] [5]5. Removal of Legacy Implementation
Dockerfile[1]index.js[2]