Skip to content

Commit 32d1e07

Browse files
critesjoshclaude
andcommitted
chore: remove deprecated --prefer-online flag from npx commands
The --prefer-online flag was causing problems in Claude Code and has been deprecated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 49f7efb commit 32d1e07

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Add to your `.mcp.json`:
3636
"mcpServers": {
3737
"aztec-mcp": {
3838
"command": "npx",
39-
"args": ["--prefer-online", "-y", "@aztec/mcp-server@latest"]
39+
"args": ["-y", "@aztec/mcp-server@latest"]
4040
}
4141
}
4242
}
@@ -135,7 +135,7 @@ Override with the `AZTEC_MCP_REPOS_DIR` environment variable:
135135
"mcpServers": {
136136
"aztec-mcp": {
137137
"command": "npx",
138-
"args": ["--prefer-online", "-y", "@aztec/mcp-server"],
138+
"args": ["-y", "@aztec/mcp-server"],
139139
"env": {
140140
"AZTEC_MCP_REPOS_DIR": "/custom/path"
141141
}
@@ -153,7 +153,7 @@ Set the default Aztec version with the `AZTEC_DEFAULT_VERSION` environment varia
153153
"mcpServers": {
154154
"aztec-mcp": {
155155
"command": "npx",
156-
"args": ["--prefer-online", "-y", "@aztec/mcp-server"],
156+
"args": ["-y", "@aztec/mcp-server"],
157157
"env": {
158158
"AZTEC_DEFAULT_VERSION": "v3.0.0-devnet.6-plugin.1"
159159
}

0 commit comments

Comments
 (0)