You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Major changes:
- Add hybrid mode to run Magg with both stdio and HTTP simultaneously
- New --hybrid flag for `magg serve` command
- Concurrent task management for both transports
- Useful for mbro hosting Magg while using stdio connection
- Convert verbose INFO logs to DEBUG level throughout codebase
- Server mounting/unmounting operations
- Config reload operations
- Authentication key generation
- File watcher initialization
- Improve mbro CLI behavior
- Clean exit on Ctrl+C with empty buffer
- Better multiline continuation handling
- Consistent error message formatting with repr()
- Add documentation for hybrid mode
- Examples for Claude Code integration
- Examples for mbro hosting scenarios
- Updated readme.md with third running mode
- Bump version to 0.9.1
This release improves production readiness with quieter logging
and enables powerful hybrid connectivity scenarios.
Signed-off-by: Phillip Sitbon <phillip.sitbon@gmail.com>
Copy file name to clipboardExpand all lines: docs/index.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,10 +112,37 @@ magg serve
112
112
# Or for HTTP mode
113
113
magg serve --http
114
114
115
+
# Or for hybrid mode (both stdio and HTTP simultaneously)
116
+
magg serve --hybrid
117
+
magg serve --hybrid --port 8080 # Custom port
118
+
115
119
# Or run directly without installation (if you have uvx)
116
120
uvx magg serve
117
121
```
118
122
123
+
#### Hybrid Mode
124
+
125
+
Magg supports running in hybrid mode where it accepts connections via both stdio and HTTP simultaneously. This is particularly useful when you want to:
126
+
127
+
- Use Magg through an MCP client (stdio) while also accessing it via HTTP API
128
+
- Have mbro host the server while connecting to it via stdio
129
+
- Test both interfaces without running multiple instances
130
+
131
+
**Example with mbro:**
132
+
```bash
133
+
# mbro can host Magg in hybrid mode and connect to it via stdio
0 commit comments