Skip to main content
Glama

Playwright Server MCP

by ziux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UV_PUBLISH_TOKENNoToken for publishing to PyPI
UV_PUBLISH_PASSWORDNoPassword for publishing to PyPI
UV_PUBLISH_USERNAMENoUsername for publishing to PyPI

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
playwright_navigate

浏览器导航到指定网址,如果没有活跃的浏览器会话,会自动创建一个新会话

playwright_evaluate

在浏览器控制台中执行JavaScript代码并返回执行结果

playwright_get_text_content

获取当前页面中所有可见元素的文本内容,智能过滤重复内容

playwright_get_html_content

获取页面中指定元素的HTML内容

playwright_new_session

创建新的浏览器会话,打开一个浏览器窗口并可选择性地访问指定网址

playwright_action

根据给定的locator 和action 执行操作

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ziux/playwright-plus-python-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server