DrissionPage MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | The logging level for the server (e.g., DEBUG, INFO, WARNING, ERROR). | |
| CHROME_PATH | No | Custom path to the Chrome or Chromium browser executable. |
Capabilities
Features and capabilities supported by this server
| 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 |
|---|---|
| page_navigateC | Navigate to a specific URL in the browser |
| page_go_backA | Go back to the previous page in browser history |
| page_go_forwardA | Go forward to the next page in browser history |
| page_refreshB | Refresh the current page |
| tab_listA | List browser tabs tracked by the current DrissionPage MCP session. |
| tab_switchB | Switch the active browser tab by id from tab_list. |
| tab_closeA | Close a browser tab by id from tab_list without closing the whole browser. |
| page_resizeB | Resize the browser window to specified dimensions |
| page_screenshotA | Take an inline screenshot of the current page |
| page_screenshot_saveB | Save a screenshot to a local path under DP_MCP_SCREENSHOT_ROOT |
| page_snapshotA | Return a bounded page outline with text excerpt, headings, links, buttons, inputs, forms, and recommended selectors. |
| page_observeA | Return a compact current-page fingerprint with URL, title, ready state, element counts, visible text samples, active element, and recent console summary. |
| page_evaluateB | Run a bounded JavaScript function body in the current page and return a JSON-safe result. This can mutate the page. |
| page_click_xyA | Click at specific coordinates on the page |
| page_closeB | Close the current page/browser |
| page_get_urlA | Get the current URL of the page |
| page_console_logsA | Read bounded browser console messages from the current tab. Supports level filtering, cursor pagination, and a maximum result limit. |
| element_findA | Find an element on the page using CSS selector or XPath. Bare selectors are treated as CSS; use text:... for text matching. |
| element_find_allA | Find multiple matching elements with bounded text/attribute summaries and recommended selectors for repeated lists, cards, and tables. |
| element_clickA | Click an element found by CSS selector or XPath. Bare selectors are treated as CSS; use text:... for text matching. |
| element_typeB | Type text into an input element |
| element_get_textA | Get text from an element or the whole page |
| element_get_attributeB | Get an attribute value from an element |
| element_get_propertyA | Get a live DOM property value from an element, such as an input's current value |
| element_get_htmlA | Get HTML from an element or the whole page |
| form_inspectA | Inspect forms and controls with labels, selectors, methods, actions, requirements, options, and safe optional values. |
| wait_for_elementB | Wait for an element to appear on the page. Bare selectors are treated as CSS; use text:... for text matching. |
| wait_for_urlA | Wait for the current URL to contain a substring |
| wait_timeA | Wait for a specific amount of time |
| wait_untilA | Wait for observable page state: element present/visible/hidden/detached/clickable/stable, text contains/matches, or URL contains/matches. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| browser_navigate_and_summarize | Navigate to a page and summarize the requested content. |
| browser_extract_structured_data | Navigate, inspect content, and return JSON matching a schema. |
| browser_fill_form_safely | Fill form fields while requiring confirmation before submission. |
| browser_debug_page_issue | Gather page evidence for a browser automation issue. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| session_summary | Current DrissionPage MCP browser/session state. |
| session_history | Recent DrissionPage MCP tool actions with sensitive arguments redacted. |
| page_current | Bounded current page summary with text and HTML excerpts. |
| tools_catalog | Public tool list with safety annotations and data schemas. |
| policy_summary | Configured local safety policy without secret/path leakage. |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jumodada/Drissionpage-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server