Commit a2e2a49
Expand federation local-only bypass list to prevent proxy loops
Add /api-key, /server-startup-utc, /marker-file-timestamp, /mcp-transport,
and /mcpserver/workspace to the FederationMiddleware local-only path list.
These infrastructure and workspace-management endpoints must never be
proxied through federation — they either issue local tokens, serve local
metadata, or handle workspace listing that is inherently per-server.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0dbfd0c commit a2e2a49
File tree
1 file changed
+11
-6
lines changed- src/McpServer.Support.Mcp/Middleware
1 file changed
+11
-6
lines changedLines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments