MCP Server Pentest logo

MCP Server Pentest

by 9olidity

MCP Server Pentest is a tool for automated web application security testing. It allows for vulnerability detection, screenshot capture, and comprehensive network interaction within a browser context.

View on GitHub

Last updated: N/A

What is MCP Server Pentest?

MCP Server Pentest is a server designed to automate web application penetration testing tasks. It leverages a browser automation framework (Playwright) to interact with web pages, detect vulnerabilities, capture screenshots, and execute JavaScript in the browser context.

How to use MCP Server Pentest?

To use MCP Server Pentest, first install the necessary dependencies (Playwright, yarn/npm). Then, configure the server in your Claude config file with the provided JSON configuration. Finally, use the provided tools (browser_url_reflected_xss, browser_url_sql_injection, browser_navigate, etc.) by sending requests with the appropriate parameters as demonstrated in the README examples.

Key features of MCP Server Pentest

  • Full browser xss, sql vulnerability automatic detection

  • Screenshots of the entire page or specific elements

  • Comprehensive network interaction (navigation, clicks, form filling)

  • Console log monitoring

  • JavaScript execution in the browser context

Use cases of MCP Server Pentest

  • Automated XSS vulnerability scanning

  • Automated SQL injection vulnerability scanning

  • Web application functional testing

  • Web page screenshot capture for documentation or analysis

  • Automated form filling and submission

FAQ from MCP Server Pentest

What browsers are supported?

The tool uses Playwright, which supports Chromium, Firefox, and WebKit.

Can I customize the browser settings?

The README doesn't specify customization options, but Playwright offers extensive configuration possibilities. You may need to modify the server's code to expose these options.

How do I handle authentication?

Use the browser_fill and browser_click tools to fill in login forms and submit them.

How can I test pages that require JavaScript?

The tool uses a real browser, so JavaScript execution is enabled by default.

How can I extend the functionality of the server?

You can add new tools by creating new functions that use the Playwright API to interact with the browser.