CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 12:53:19 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/sitbon/magg.git
etag: W/"3a66e58444ce88df2e8a5cae0d7e65ed"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ok%2F1TN45G5Kzd41fyLX4uPAwJHYEe9bgRue9U88HnY0RBxdLLd9qPeTp5sUxKtcrUC7czWX7PRKX8L2DvOY4k9mgRNb20W%2FO0zg%2Bk9ZSohEcUG0dqnWeDC1DMmwH%2BSL6zL2HdLkTWQAXp1XYkuFaANx%2Bvi%2Bit5rLjVoNTOvBDelNDjBwpR3BvUmDbu49JBoKOtJqRrWpjrc2bAAdEzjWhUflcgB1qA6awq%2FCfMBZoEm6ZQDbxRNc5SzDy%2B3zpefpgF4d31xa6VE1z6PK0014qg%3D%3D--lsK6GF0olrX55CEt--T4SJTPUlKUcwpm2npmUBCg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.900622698.1753966398; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 12:53:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 12:53:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CE60:373DAE:A756D3:C67862:688B673E
feat: Add proxy pagination, MBro stdio support, subprocess stderr con… · sitbon/magg@596fa16 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit 596fa16
committed
feat: Add proxy pagination, MBro stdio support, subprocess stderr control, and FastMCP 2.10.5 compatibility
## Major Changes
### Proxy Tool Pagination
- Add limit, offset, and filter_server parameters to proxy tool
- Default limit of 100 items to prevent token limit errors
- Support filtering results by server name prefix
- Update documentation with pagination examples
### MBro Enhancements
- Fix stdio transport support using Magg's transport inference
- Improve tab completion with browse-then-apply behavior
- Show completion menu on TAB even for single items
- Fix ESC key handling for single-press menu cancellation
- Add rich parameter completion with type info and descriptions
### Subprocess Output Control
- Add MAGG_STDERR_SHOW environment variable (default: false)
- Suppress subprocess MCP server stderr output by default
- Create stdio_patch utility for clean stderr redirection
- Document new configuration option
### FastMCP 2.10.5 Compatibility
- Update all tests for CallToolResult API change
- Suppress FastMCP banner with show_banner=False
- Configure FastMCP logger to ERROR level
- Fix transport URL tests for trailing slash changes
### Other Improvements
- Fix outdated server mounting message in CLI
- Add parse_command_string utility for command parsing
- Update FastMCP to 2.10.5 in pyproject.toml
- Improve logging configuration for cleaner output
## Technical Details
- FastMCP 2.10.5 returns CallToolResult objects instead of content lists
- Subprocess stderr suppression uses monkey-patching of stdio_client
- Tab completion uses prompt-toolkit's select_first=False for better UX
- Pagination prevents loading 200+ tools into context window
Resolves token limit issues when proxying servers with many tools.
Provides cleaner output by default while maintaining debuggability.
Signed-off-by: Phillip Sitbon <phillip.sitbon@gmail.com>1 parent 8a0e923 commit 596fa16Copy full SHA for 596fa16
File tree
Expand file treeCollapse file tree
21 files changed
+703
-230
lines changedFilter options
- docs
- magg
- logs
- mbro
- proxy
- server
- test
- util
Expand file treeCollapse file tree
21 files changed
+703
-230
lines changed+37-3Lines changed: 37 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
43 | 58 |
| |
44 | 59 |
| |
45 | 60 |
| |
46 |
| - | |
| 61 | + | |
47 | 62 |
| |
48 | 63 |
| |
49 | 64 |
| |
50 | 65 |
| |
51 | 66 |
| |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
52 | 82 |
| |
53 | 83 |
| |
54 | 84 |
| |
| |||
101 | 131 |
| |
102 | 132 |
| |
103 | 133 |
| |
104 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
105 | 138 |
| |
106 | 139 |
| |
107 | 140 |
| |
| |||
333 | 366 |
| |
334 | 367 |
| |
335 | 368 |
| |
336 |
| - | |
| 369 | + | |
| 370 | + | |
337 | 371 |
| |
338 | 372 |
| |
339 | 373 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
| 209 | + | |
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
|
+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 |
| |
59 | 64 |
| |
60 | 65 |
| |
|
+42-3Lines changed: 42 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
141 | 142 |
| |
142 | 143 |
| |
143 | 144 |
| |
144 |
| - | |
| 145 | + | |
145 | 146 |
| |
146 |
| - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
147 | 151 |
| |
148 | 152 |
| |
149 | 153 |
| |
| |||
182 | 186 |
| |
183 | 187 |
| |
184 | 188 |
| |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
185 | 224 |
| |
186 | 225 |
| |
187 | 226 |
| |
| |||
193 | 232 |
| |
194 | 233 |
| |
195 | 234 |
| |
196 |
| - | |
| 235 | + | |
197 | 236 |
| |
198 | 237 |
| |
199 | 238 |
| |
|
+4-3Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
85 |
| - | |
86 |
| - | |
87 |
| - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
88 | 89 |
| |
89 | 90 |
| |
90 | 91 |
| |
|
+31Lines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
85 | 97 |
| |
86 | 98 |
| |
87 | 99 |
| |
| |||
110 | 122 |
| |
111 | 123 |
| |
112 | 124 |
| |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
113 | 130 |
| |
114 | 131 |
| |
115 | 132 |
| |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
116 | 144 |
| |
117 | 145 |
| |
118 | 146 |
| |
| |||
122 | 150 |
| |
123 | 151 |
| |
124 | 152 |
| |
| 153 | + | |
| 154 | + | |
| 155 | + | |
125 | 156 |
| |
126 | 157 |
| |
127 | 158 |
| |
|
+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
128 | 134 |
| |
129 | 135 |
| |
130 | 136 |
| |
131 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
132 | 144 |
| |
133 | 145 |
| |
134 | 146 |
| |
|
+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
| |||
98 | 100 |
| |
99 | 101 |
| |
100 | 102 |
| |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 |
| |
102 | 107 |
| |
103 | 108 |
| |
| |||
425 | 430 |
| |
426 | 431 |
| |
427 | 432 |
| |
428 |
| - | |
| 433 | + | |
429 | 434 |
| |
430 | 435 |
| |
431 | 436 |
| |
432 | 437 |
| |
433 |
| - | |
| 438 | + | |
434 | 439 |
| |
435 | 440 |
| |
436 | 441 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
| 220 | + | |
220 | 221 |
| |
221 | 222 |
| |
222 | 223 |
| |
|
+15-9Lines changed: 15 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
53 |
| - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| |||
76 | 77 |
| |
77 | 78 |
| |
78 | 79 |
| |
79 |
| - | |
80 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 |
| |
82 |
| - | |
83 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
84 | 89 |
| |
85 | 90 |
| |
86 | 91 |
| |
| |||
100 | 105 |
| |
101 | 106 |
| |
102 | 107 |
| |
103 |
| - | |
104 |
| - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
105 | 111 |
| |
106 | 112 |
|
You can’t perform that action at this time.
0 commit comments