playwright-mcp-server-test
Verified Safeby scalvert
Overview
A Playwright-based testing framework for evaluating and testing Model Context Protocol (MCP) servers.
Installation
npm testEnvironment Variables
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- MCP_ACCESS_TOKEN
- MCP_REFRESH_TOKEN
- MCP_TOKEN_TYPE
- MCP_TOKEN_EXPIRES_AT
- MCP_OAUTH_SERVER_URL
- MCP_OAUTH_CLIENT_ID
- MCP_OAUTH_CLIENT_SECRET
- MCP_OAUTH_SCOPES
- MCP_OAUTH_RESOURCE
- MCP_AUTH_STATE_PATH
- CI
- OAUTH_DEBUG
- TEST_USER
- TEST_PASSWORD
Security Notes
The project functions as an MCP client and testing framework. It adheres to good security practices by retrieving API keys from environment variables and storing OAuth tokens securely on the filesystem with restrictive permissions (0o600 for files, 0o700 for directories). Network requests are primarily for discovering and interacting with the target MCP server and OAuth providers, which is inherent to its function. `JSON.parse` is used appropriately for protocol communication and internal data. No obvious malicious patterns or obfuscation were found.
Similar Servers
playwright-mcp
Provides a Model Context Protocol (MCP) server for LLMs to automate browser interactions using Playwright's accessibility tree, avoiding pixel-based vision models.
mcp-interviewer
A Python CLI tool to evaluate Model Context Protocol (MCP) servers for agentic use-cases, by inspecting capabilities, running functional tests, and providing LLM-as-a-judge evaluations.
mcpbr
A benchmark runner for evaluating Model Context Protocol (MCP) servers by comparing LLM agent performance with and without MCP tools on software engineering tasks.
mcp-jest
A testing framework for Model Context Protocol (MCP) servers, allowing automated validation of AI agent tools, resources, and prompts.