Skip to content

Feat/http sse transport#6

Merged
getlatedev merged 4 commits intodevelopfrom
feat/http-sse-transport
Jan 14, 2026
Merged

Feat/http sse transport#6
getlatedev merged 4 commits intodevelopfrom
feat/http-sse-transport

Conversation

@getlatedev
Copy link
Contributor

No description provided.

carlosmgv02 and others added 4 commits January 14, 2026 09:26
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)
@getlatedev getlatedev merged commit 9a0211e into develop Jan 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants