Skip to content

Commit 7e3320a

Browse files
committed
Update README.md to correct NATS_URL format
- Changed the NATS_URL environment variable from "localhost:42222" to "nats://localhost:42222" in multiple sections of the README.md for consistency and clarity in NATS server configuration.
1 parent 9af74c8 commit 7e3320a

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ cursor
154154
"mcpServers": {
155155
"nats": {
156156
"env": {
157-
"NATS_URL": "localhost:42222",
157+
"NATS_URL": "nats://localhost:42222",
158158
"NATS_SYS_CREDS": "<base64 of SYS account creds>"
159159
"NATS_A_CREDS": "<base64 of A account creds>"
160160
},
@@ -170,7 +170,7 @@ cursor
170170
"mcpServers": {
171171
"nats": {
172172
"env": {
173-
"NATS_URL": "localhost:42222",
173+
"NATS_URL": "nats://localhost:42222",
174174
"NATS_NO_AUTHENTICATION": "true"
175175
},
176176
"url": "http://localhost:8000/sse"
@@ -185,7 +185,7 @@ cursor
185185
"mcpServers": {
186186
"nats": {
187187
"env": {
188-
"NATS_URL": "localhost:42222",
188+
"NATS_URL": "nats://localhost:42222",
189189
"NATS_USER": "myuser",
190190
"NATS_PASSWORD": "mypass"
191191
},
@@ -206,8 +206,8 @@ If using the binary:
206206
"stdio"
207207
],
208208
"env": {
209-
"NATS_URL": "localhost:42222",
210-
"NATS_SYS_CREDS": "<base64 of SYS account creds>"
209+
"NATS_URL": "nats://localhost:42222",
210+
"NATS_SYS_CREDS": "<base64 of SYS account creds>",
211211
"NATS_A_CREDS": "<base64 of A account creds>"
212212
}
213213
}
@@ -227,7 +227,7 @@ If using the binary:
227227
"--no-authentication"
228228
],
229229
"env": {
230-
"NATS_URL": "localhost:42222"
230+
"NATS_URL": "nats://localhost:4222"
231231
}
232232
}
233233
}
@@ -244,12 +244,11 @@ If using the binary:
244244
"--transport",
245245
"stdio",
246246
"--user",
247-
"myuser",
248-
"--password",
249-
"mypass"
247+
"myuser"
250248
],
251249
"env": {
252-
"NATS_URL": "localhost:42222"
250+
"NATS_URL": "nats://localhost:4222",
251+
"NATS_PASSWORD": "mypass"
253252
}
254253
}
255254
}

0 commit comments

Comments
 (0)