Skip to content

Commit df2fb7d

Browse files
committed
Add playwright-mcp as default tool
1 parent 46c7e62 commit df2fb7d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

packages/mcp-client/cli.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,22 @@ const SERVERS: StdioServerParameters[] = [
1717
args: ["-y", "@modelcontextprotocol/server-filesystem", join(homedir(), "Desktop")],
1818
},
1919
{
20+
// Playwright MCP
21+
command: "npx",
22+
args: ["@playwright/mcp@latest"],
23+
},
24+
];
25+
26+
if (process.env.EXPERIMENTAL_HF_MCP_SERVER) {
27+
SERVERS.push({
2028
// Early version of a HF-MCP server
2129
command: "node",
2230
args: ["--disable-warning=ExperimentalWarning", join(homedir(), "Desktop/hf-mcp/index.ts")],
2331
env: {
2432
HF_TOKEN: process.env.HF_TOKEN ?? "",
2533
},
26-
},
27-
];
34+
});
35+
}
2836

2937
async function main() {
3038
if (!process.env.HF_TOKEN) {

0 commit comments

Comments
 (0)