Skip to content

Commit c584a4d

Browse files
cliffhallclaude
andcommitted
fix(smoke): start fetch with --allow-private-ips for its loopback page (modelcontextprotocol#4838)
fetch now refuses loopback addresses by default, and the boot smoke serves fetch's page from 127.0.0.1, so the smoke opts out of the guard. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent 315ad50 commit c584a4d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎scripts/smoke-servers.mjs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ export const SERVERS = [
150150
name: "fetch",
151151
language: "py",
152152
transports: ["stdio"],
153+
// fetch refuses loopback addresses by default (#4838); the smoke page is
154+
// on loopback, so the guard is turned off for it.
155+
args: () => ["--allow-private-ips"],
153156
// The loopback page must not be routed through a proxy the developer has
154157
// configured for real traffic.
155158
env: () => ({

0 commit comments

Comments
 (0)