<img width="1007" height="428" alt="Image" src="https://github.com/user-attachments/assets/7500228f-0771-41c4-ae9f-7755d3facc71" /> My sample code ``` // 1. Configure MCP servers const config = { mcpServers: { playwright: { command: "npx", args: ["@playwright/mcp@latest"] }, }, }; const client = MCPClient.fromDict(config); const llm = new ChatOpenAI({ model: "gpt-4o", temperature: 0 }); const agent = new MCPAgent({ llm: llm, client: client, maxSteps: 30 }); const result = await agent.run(`Hello world`, 30); console.log(`\nResult: ${result}`); ``` my package.json file "@langchain/openai": "^0.5.15", "langchain": "^0.3.27", "openai": "^5.12.2", "mcp-use": "^0.1.11", "@playwright/mcp": "^0.0.33", "@modelcontextprotocol/sdk": "^1.17.2",
My sample code
my package.json file