v0.1.15
What's Changed
MCP Server
- Built-in MCP server with 9 tools (memory, budget, governance, cortex)
- Streamable HTTP + legacy SSE + stdio transports
mayros serveCLI commandmayros mcp-setupfor Claude Code/Desktop auto-configuration
Production Hardening
- CORS default-deny when allowedOrigins is empty
- SSE session cap (50) to prevent connection exhaustion
- Content-Type validation on POST endpoints
- Timing-safe bearer token comparison
- Command injection prevention (host/port validation, execFileSync)
- Graceful shutdown with cached promise pattern
- skipSignalHandlers option for managed sidecar lifecycle
- JSON parse resilience for non-JSON Cortex responses
- Input validation (Array.isArray for tags, limit caps)
- Word-boundary regex in governance policy matching
- 20 hardening tests
Infrastructure
- Bump Node Docker image to
2e45682 - Require Cortex >= 0.4.3
Full Changelog: v0.1.14...v0.1.15