Skip to content

Commit 89dc190

Browse files
Use the everything server as the example
1 parent 2402830 commit 89dc190

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"mcpServers": {
3+
"everything": {
4+
"command": "npm",
5+
"args": [
6+
"--silent",
7+
"--prefix",
8+
"/path/to/mcp/servers/src/everything",
9+
"run",
10+
"start"
11+
],
12+
"env": {
13+
"FOO": "bar",
14+
"BAZ": "bat"
15+
}
16+
}
17+
}
18+
}

client/e2e/fixtures/test-cli-config.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

client/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const getWebServerCommand = () => {
77
*/
88
switch (process.env.CLI_TEST_SCENARIO) {
99
case "inline":
10-
return "npx . -e FOO=bar -e BAZ=bat uv run main.py";
10+
return "npx . -e FOO=bar -e BAZ=bat npm --silent --prefix /path/to/mcp/servers/src/everything run start";
1111
case "file":
12-
return "npx . --config client/e2e/fixtures/test-cli-config.json --server test-server";
12+
return "npx . --config client/e2e/fixtures/everything-server.json --server everything";
1313
/* FIXME: With and without a mock localStorage
1414
* case "none":
1515
* return "npx . ";

0 commit comments

Comments
 (0)