descope-playwright-mcp-auth
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@descope-playwright-mcp-authTake a screenshot of https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Adding Remote Support and Authentication to a Local MCP Server
A secure Playwright MCP server with authentication and role-based access control powered by Descope. This project demonstrates how to add enterprise-grade security to MCP servers for safe remote access and team collaboration.
How it Works
The MCP client, in this case, the MCP Inspector, registers with the proxy via the DCR.
It redirects you to the authentication/consent flow set up in the Descope console.
You log in and consent to the requested scopes.
Descope issues an access token to the MCP client.
The MCP client includes this token in its requests to the proxy server.
The proxy server validates the token before forwarding the request to the MCP server.
Related MCP server: auth-vault
Prerequisites
Node.js 18+
Follow along with the article to set up the Descope project
Local Setup
Clone the repository:
git clone https://github.com/kimanikevin254/descope-playwright-mcp-auth.git cd descope-playwright-mcp-authInstall dependencies:
npm installConfigure environment variables by copying the
.env.examplefile and replacing the placeholder values with the actual project credentials from the Descope Console:cp .env.example .envStart the MCP server (Terminal 1):
npm run start:mcpStart the auth proxy (Terminal 2):
npx nodemon --exec 'ts-node' src/auth-proxy.tsTest with MCP Inspector (Terminal 3):
npx @modelcontextprotocol/inspector@0.17.2 --transport http --server-url http://localhost:3000/mcpIf you have another machine running on the network, you can run the MCP Inspector on it with the command
npx @modelcontextprotocol/inspector@0.17.2 --transport http --server-url http://<AUTH-PROXY-MACHINE-IP>:3000/mcp, where<AUTH-PROXY-MACHINE-IP>is the IP address of the machine that is running both the MCP server and the auth proxy.Once the MCP Inspector UI launches, select Connect to connect to your MCP server.
This server cannot be deployed
Maintenance
Related MCP Connectors
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
1242Hosted MCP server and REST API that lets AI agents use apps with no API, signed in as you.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Related MCP Servers
- FlicenseBqualityDmaintenancePlaywright wrapper for MCP that enables LLM-powered clients to control a browser for automation tasks.4101-
- AlicenseBqualityCmaintenanceMCP server for secure credential management, browser-based login automation, and TOTP/2FA auto-solving. Encrypts credentials with AES-256-GCM and automates login flows via Playwright.322MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides structured control of a Playwright browser for QA, scraping, diagnostics, and reproducible browser workflows.3,012 npmMIT
- FlicenseNot gradedqualityDmaintenanceA policy-aware Meta-MCP server that orchestrates Playwright and Chrome DevTools for secure, high-level browser automation with origin whitelists and credential redaction.-