Back to Home
scalvert icon

playwright-mcp-server-test

Verified Safe

by scalvert

Overview

A Playwright-based testing framework for evaluating and testing Model Context Protocol (MCP) servers.

Installation

Run Command
npm test

Environment 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

Stats

Interest Score14
Security Score9
Cost ClassMedium
Avg Tokens800
Stars3
Forks0
Last Update2025-12-18

Tags

MCPTestingPlaywrightEvaluationAutomation