feat: Add HTTP transport support, fix API filters, and improve rate limiting#4
Open
JumpLink wants to merge 4 commits intogscalzo:mainfrom
Open
feat: Add HTTP transport support, fix API filters, and improve rate limiting#4JumpLink wants to merge 4 commits intogscalzo:mainfrom
JumpLink wants to merge 4 commits intogscalzo:mainfrom
Conversation
- Add streamable-http transport support for Docker deployments - Replace invalid custom filter IDs with built-in filters (withbody, default) - Implement intelligent rate limiting (25 req/sec with backoff handling) - Add API quota monitoring and warnings - Support method-specific backoff from API responses - Add API key status logging on startup - Refactor code for better maintainability and documentation - Update dependencies: @modelcontextprotocol/sdk 0.6.0 -> 1.25.3 - Add express and zod dependencies for HTTP transport - Improve error handling and type safety
- Add streamable-http transport support for Docker deployments - Replace invalid custom filter IDs with built-in filters (withbody, default) - Implement intelligent rate limiting (25 req/sec with backoff handling) - Add API quota monitoring and warnings - Support method-specific backoff from API responses - Add API key status logging on startup - Refactor code for better maintainability and documentation - Update dependencies: @modelcontextprotocol/sdk 0.6.0 -> 1.25.3 - Add express and zod dependencies for HTTP transport - Improve error handling and type safety
- Remove redundant module declarations and comments from index.ts and types/index.ts - Simplify code by eliminating unused sections and improving readability - Update test comments for clarity in rateLimiting.test.ts
- Add comprehensive JSDoc comments for all functions - Document function parameters, return values, and behavior - Update README with new features (structured logging, graceful shutdown, session management) - Document all HTTP endpoints (GET/DELETE /mcp) - Improve code consistency and maintainability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 PR adds HTTP (streamable-http) transport support for Docker deployments, fixes invalid API filter issues, and implements intelligent rate limiting with backoff handling.
Changes
HTTP Transport Support
streamable-httptransport mode for containerized deploymentsPORTenvironment variableGET /health) and session managementAPI Filter Fixes
!*MZqiDl8Y0c)yVzXS, etc.) with built-in filterswithbodyanddefaultfilters which are always validRate Limiting Improvements
backofffield)Code Quality
Dependencies
Testing
Breaking Changes
None - fully backward compatible. Stdio mode remains the default when
PORTis not set.