Loading...
npx @modelcontextprotocol/inspector uv --directory C:\Users\YUNYING\Documents\project\python\mcp\playwright-server run playwright-serverplaywright_navigateNavigates the browser to a specified URL.
Can be used to visit malicious websites.
playwright_screenshotTakes a screenshot of the current page or a specific element.
Screenshots can inadvertently capture sensitive information.
playwright_clickClicks an element on the page using a CSS selector.
Clicking elements is generally safe but could trigger unintended actions.
playwright_fillFills out an input field with a specified value.
Filling input fields could submit sensitive data or trigger unwanted actions.
playwright_evaluateExecutes JavaScript code in the browser console.
Arbitrary JavaScript execution can lead to code injection and other security risks.
playwright_click_textClicks an element on the page by its text content.
Clicking elements is generally safe but could trigger unintended actions.
playwright_get_text_contentGets the text content of all visible elements on the page.
Read-only operation, no side effects.
playwright_get_html_contentGets the HTML content of a specified element on the page.
Read-only operation, no side effects.
This server offers useful browser automation but carries moderate risk. The ability to navigate to any URL and execute JavaScript introduces potential for malicious activity. Exercise caution when using Playwright tools with untrusted URLs or content. The note storage system itself poses a lower risk, but access should still be controlled.