Merged
Conversation
Add HTTP server with Server-Sent Events (SSE) transport to enable remote access to the MCP server from Claude Code CLI and other clients. Features: - Modular architecture with separated concerns (auth, config, routes) - API key authentication with multiple methods (Bearer, X-API-Key, query) - Health check endpoint for monitoring - Dual transport support (STDIO + HTTP/SSE) - Railway deployment ready with Dockerfile - Comprehensive documentation New files: - src/late/mcp/constants.py - Global constants - src/late/mcp/config.py - Configuration management - src/late/mcp/auth.py - API key authentication - src/late/mcp/routes.py - Route handlers - src/late/mcp/http_server.py - Main HTTP server - Dockerfile - Container configuration for Railway - .dockerignore - Docker build optimization - docs/HTTP_DEPLOYMENT.md - Deployment guide Modified: - pyproject.toml - Added starlette, uvicorn dependencies - server.py - Added main() function for STDIO entry point - README.md - Added HTTP deployment documentation - .env.example - Added MCP server configuration
- Replace Optional[X] with X | None for modern type hints - Prefix unused request parameters with underscore
- Add id parameter to cache mount (Railway requirement) - Use PORT environment variable with fallback to 8080 - Remove HEALTHCHECK (Railway handles this externally)
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.
No description provided.