Content
# Mastra Playwright MCP
This project is a template project for implementing browser automation with Playwright using Mastra.
## Features
- Browser automation using Mastra
- Integration of Playwright's MCP (Model-Control-Protocol)
- Type-safe implementation with TypeScript
## Requirements
- Node.js (v20 or higher recommended)
- npm or yarn
## Installation
```bash
# Install dependencies
npm install
```
## Starting the Development Environment
```bash
# Start the development server
npm run dev
```
## Project Structure
- `src/` - Source code directory
- `mastra/` - Mastra-related configurations and agents
- `agents/` - Implementation of Playwright agents
- `mcp/` - Registration of the MCP server
- `index.ts` - Main setup for Mastra
## Environment Variables
During development, please set the necessary environment variables in the `.env.development` file.
## Dependency Packages
Main dependency packages:
- @mastra/core: ^0.7.0
- @mastra/mcp: ^0.3.6
- @playwright/mcp: ^0.0.5
- mastra: ^0.4.4
Connection Info
You Might Also Like
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
servers
Model Context Protocol Servers
Time
A Model Context Protocol server for time and timezone conversions.
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.
Sequential Thinking
A structured MCP server for dynamic problem-solving and reflective thinking.
git
A Model Context Protocol server for Git automation and interaction.