Update mcp.ts

This commit is contained in:
Tommy D. Rossi
2025-11-16 12:35:38 +01:00
parent 4cb83bacb7
commit 15d73ef3e7
+2 -2
View File
@@ -108,7 +108,7 @@ async function getCurrentPage() {
const server = new McpServer({
name: 'playwriter',
title: 'Playwright MCP Server',
title: 'The better playwright MCP: works as a browser extension. No context bloat. More capable.',
version: '1.0.0',
})
@@ -121,7 +121,7 @@ server.tool(
code: z
.string()
.describe(
'JavaScript code to execute with page and context in scope. Should be one line, using ; to execute multiple statements. To execute complex actions call execute multiple times. ',
'JavaScript code to execute with page, state, context in scope. Should be one line, using ; to execute multiple statements. To execute complex actions call execute multiple times. ',
),
timeout: z.number().default(3000).describe('Timeout in milliseconds for code execution (default: 3000ms)'),
},