DrissionPageMCPServer_Modified
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | No | Path to the project's src directory, required for the Python environment to locate the drissionpage_mcp package. | |
| DRISSIONPAGE_MCP_TIMEOUT | No | Timeout setting for browser operations in seconds. | 30 |
| DRISSIONPAGE_MCP_HEADLESS | No | Whether to run the browser in headless mode. | false |
| DRISSIONPAGE_MCP_LOG_LEVEL | No | The logging level for the server (e.g., INFO, DEBUG). | INFO |
| DRISSIONPAGE_MCP_BROWSER_PATH | No | Optional specific path to the Chrome, Edge, or other Chromium-based browser executable. | |
| DRISSIONPAGE_MCP_DOWNLOAD_PATH | No | Optional directory path for file downloads. | |
| DRISSIONPAGE_MCP_SCREENSHOT_PATH | No | Optional directory path for saving screenshots. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| connect_browserB | 连接到浏览器或启动新浏览器 |
| new_tabD | 创建新标签页 |
| navigateB | 导航到指定URL |
| click_elementA | 点击页面元素(智能优化版) |
| input_textA | 在输入框中输入文本(智能优化版) |
| get_element_textA | 获取元素文本内容(精确定位版) |
| get_page_textA | 获取页面完整文本内容(预处理必备工具) |
| take_screenshotA | 截取页面截图(标准化工作流程第1步) |
| get_screenshot_dataC | 获取截图二进制数据 |
| get_dom_treeA | 获取DOM树结构(结构化分析工具) |
| find_elementsA | 查找页面元素(智能定位工具) |
| enable_network_monitoringD | 启用网络监控 |
| get_network_logsB | 获取网络请求日志 |
| save_page_sourceC | 保存页面源码到文件 |
| get_cookiesB | 获取当前页面的Cookies |
| execute_javascriptD | 执行JavaScript代码 |
| run_cdp_commandD | 执行CDP命令 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| global_automation_hints | 永远附加的全局自动化测试操作提示 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_default_config | 获取默认配置 |
| get_all_instructions | 获取所有工具指令 |
| get_browser_status | 获取浏览器状态 |
TDQS
Scored across 17 tools
Most tools have distinct purposes with clear boundaries, such as take_screenshot for visual capture, get_dom_tree for structural analysis, and click_element for interaction. However, some overlap exists between find_elements and get_dom_tree, as both assist in element location, which could cause minor confusion in selection. The detailed descriptions help mitigate this overlap by clarifying their specific roles.
All tool names follow a consistent snake_case pattern with clear verb_noun combinations, such as take_screenshot, get_dom_tree, and click_element. This uniformity makes the tool set predictable and easy to understand, with no deviations in naming style or convention throughout the list.
With 17 tools, the count is slightly high but reasonable for a browser automation server, covering essential operations like navigation, interaction, and monitoring. Some tools, like get_screenshot_data and save_page_source, might be redundant or niche, but overall, the set is well-scoped for its domain without being overly bloated.
The tool set provides comprehensive coverage for browser automation, including navigation, element interaction, monitoring, and data extraction. It supports a full workflow from setup (connect_browser) to interaction (click_element, input_text) and analysis (get_dom_tree, get_network_logs), with no obvious gaps that would hinder agent operations in this domain.