sourcefuse/robotframework-mcp
282edd24e942robotframework-mcp-server1.3.0 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- MEDIUMTool
browser_screenshotreads or writes any file path by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
browser_screenshotcan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
browser_screenshot, switch them off. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 43 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
export_robot_testexport_robot_test, reset_sessionNo tool was seen to: connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · export_robot_test
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (43: 43 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
browser_screenshottool Take a screenshot of the current browser page.Reads/writes files
Take a screenshot of the current browser page.
filename: optional path/name for the PNG file.
If omitted, a timestamped file is created in the current directory.
Returns the absolute path of the saved screenshot.browser_clicktool Click an element identified by selector.
Click an element identified by selector.
Selector formats: id=, name=, css=, xpath=, class=, tag=, link=, partial_link=
or plain CSS (default).
timeout: seconds to wait for the element to be clickable.browser_closetool Close the active browser session.
Close the active browser session.
browser_get_texttool Return the visible text content of an element.
Return the visible text content of an element.
browser_launchtool Launch a browser, navigate to url, and start a live session.
Launch a browser, navigate to url, and start a live session.
browser: 'Chrome' (default) or 'Firefox'.
headless: run without a visible window when True.
Must be called before any other browser_* tool.browser_navigatetool Navigate the open browser session to a new URL.
Navigate the open browser session to a new URL.
browser_send_keystool Type text into an input element.
Type text into an input element.
clear_first: clear existing content before typing (default True).
Selector formats: id=, name=, css=, xpath=, class=, tag= or plain CSS.browser_wait_for_elementtool Wait for an element to reach a given state.
Wait for an element to reach a given state.
state: 'visible' (default), 'present', 'clickable', or 'hidden'.
Returns confirmation when the condition is met or a timeout error.check_checkboxtool Check the checkbox found by the given selector.
Check the checkbox found by the given selector.
clear_recordingtool Throw away the steps recorded so far, so export_robot_test only
Throw away the steps recorded so far, so export_robot_test only
includes what runs from now on. Useful after exploring, before doing
the clean run you want to keep. The browser itself is not touched, so
the export will not include an open_browser step. Use reset_session(url)
instead to get a test that starts from a fresh browser.clear_texttool Clear the text field found by the given selector.
Clear the text field found by the given selector.
clicktool Click the element found by the given selector.
Click the element found by the given selector.
close_browsertool Close all open browsers, contexts, and pages.
Close all open browsers, contexts, and pages.
close_pagetool Close the current active page.
Close the current active page.
create_advanced_selenium_keywordstool Generate Robot Framework keywords for advanced Selenium operations. Returns .robot file content as text - does not execute.
Generate Robot Framework keywords for advanced Selenium operations. Returns .robot file content as text - does not execute.
create_api_integration_testtool Generate Robot Framework API integration test code. Returns .robot file content as text - does not execute.
Generate Robot Framework API integration test code. Returns .robot file content as text - does not execute.
create_cicd_pipelinetool Generate a GitHub Actions workflow file for running Robot Framework tests.
Generate a GitHub Actions workflow file for running Robot Framework tests.
Returns the complete YAML content to save as .github/workflows/robot-tests.yml.
project_name: workflow and artifact name (default 'robot-tests').
python_version: Python version for the runner. Defaults to the version currently
running this MCP server (e.g. '3.11'). Pass explicitly to override.
test_directory: path to the Robot Framework test folder (default 'tests/').
trigger_branches: comma-separated branch names that trigger the workflow (default 'main').
schedule: optional cron expression for scheduled runs, e.g. '0 9 * * 1-5' for
weekdays at 09:00 UTC. Leave empty to disable scheduled runs.
output_dir: folder where Robot Framework writes results (default 'results/').
requirements_file: pip requirements file path (default 'requirements.txt').create_data_driven_testtool Generate Robot Framework data-driven test template code. Returns .robot file content as text - does not execute.
Generate Robot Framework data-driven test template code. Returns .robot file content as text - does not execute.
create_extended_selenium_keywordstool Generate extended Robot Framework keywords for screenshots, performance monitoring, and window management. Returns .robot file content as text - does not execut
Generate extended Robot Framework keywords for screenshots, performance monitoring, and window management. Returns .robot file content as text - does not execute.
create_login_test_casetool Generate Robot Framework test case code for login functionality. Returns the complete .robot file content as text - does not execute the test.
Generate Robot Framework test case code for login functionality. Returns the complete .robot file content as text - does not execute the test.
create_page_object_logintool Generate Robot Framework page object model code for login page. Returns .robot file content as text - does not execute.
Generate Robot Framework page object model code for login page. Returns .robot file content as text - does not execute.
create_performance_monitoring_testtool Generate Robot Framework performance monitoring test code. Returns complete .robot file content as text - does not execute.
Generate Robot Framework performance monitoring test code. Returns complete .robot file content as text - does not execute.
evaluate_javascripttool Evaluate arbitrary JavaScript in the page context. If selector is
Evaluate arbitrary JavaScript in the page context. If selector is
given, the matched element is passed into the function as its
argument, e.g. function="(elem) => elem.textContent".export_robot_testtool Export the browser steps that actually ran and passed in this sessionProcessesFilesoutside text
Export the browser steps that actually ran and passed in this session
as a draft Robot Framework (.robot) test that a person can review.
Only keywords that succeeded are included, exactly as they were
executed. Failed attempts and state probes are left out. Values read
with get_text / get_url / get_title / get_attribute / get_element_count
appear as commented "==" assertions holding the observed value, so the
reviewer can choose which ones to keep. Typed values (including
passwords) are written as-is.
Returns the file content. If path is given, also writes it there
(relative paths resolve against the server's working directory);
an existing file is only replaced when overwrite is true.fill_texttool Clear the field found by the given selector and fill in the given text
Clear the field found by the given selector and fill in the given text
in one action (fast, no per-character events).get_attributetool Return the value of the given HTML attribute of the element found by
Return the value of the given HTML attribute of the element found by
the given selector.get_element_counttool Return the number of elements matching the given selector.
Return the number of elements matching the given selector.
get_texttool Return the text content of the element found by the given selector.
Return the text content of the element found by the given selector.
get_titletool Return the current page title.
Return the current page title.
get_urltool Return the current page URL.
Return the current page URL.
go_totool Navigate the current page to the given URL. Optional timeout_s
Navigate the current page to the given URL. Optional timeout_s
overrides the Browser library's default navigation timeout.new_pagetool Open a new page (tab). Auto-launches a default headless Chromium
Open a new page (tab). Auto-launches a default headless Chromium
browser first if none is open yet.open_browsertool Launch a browser and open a new page, optionally navigating to a URL.
Launch a browser and open a new page, optionally navigating to a URL.
browser: one of "chromium", "firefox", "webkit".press_keystool Press one or more keys (e.g. "Enter", "Control+A") on the element
Press one or more keys (e.g. "Enter", "Control+A") on the element
found by the given selector, in order.reset_sessiontool Close every browser, context, and page, then (if url is given) startFiles
Close every browser, context, and page, then (if url is given) start
a fresh browser on that URL. Use this to recover when the page state is
unreliable after a failure. Also clears the step recording, so
export_robot_test starts from the fresh browser.run_keywordtool Run any Robot Framework Browser-library keyword by name, for
Run any Robot Framework Browser-library keyword by name, for
anything not covered by a dedicated tool above. name is the keyword
name (e.g. "New Context", "Get Viewport Size"), args is a list of
strings passed positionally, using "key=value" for optional/named
arguments -- exactly as you would write them in a .robot file.select_options_bytool Select one or more options in a <select> element found by the given
Select one or more options in a <select> element found by the given
selector. attribute is one of "value", "label", "text", "index".session_statustool Report the real current state of the browser session: whether a
Report the real current state of the browser session: whether a
browser is open, how many pages, and the active page's URL and title.
Call this after any failed step before continuing.take_screenshottool Take a screenshot of the page (or of one element if selector is
Take a screenshot of the page (or of one element if selector is
given) and save it to disk. Returns the saved file path.type_texttool Type text into the field found by the given selector one character at
Type text into the field found by the given selector one character at
a time (fires real keydown/keyup events, useful for JS-driven inputs).
Optional delay_ms adds a delay between keystrokes.uncheck_checkboxtool Uncheck the checkbox found by the given selector.
Uncheck the checkbox found by the given selector.
validate_robot_framework_syntaxtool Validate Robot Framework syntax and provide suggestions. Returns validation report as text - does not execute code.
Validate Robot Framework syntax and provide suggestions. Returns validation report as text - does not execute code.
wait_for_elements_statetool Wait for the element found by the given selector to reach the given
Wait for the element found by the given selector to reach the given
state: "attached", "detached", "visible", "hidden", "enabled",
"disabled", "editable", "readonly", "selected", "deselected",
"focused", or "stable".Text the model reads (43)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
open_browser tool
Launch a browser and open a new page, optionally navigating to a URL.
browser: one of "chromium", "firefox", "webkit".session_status tool
Report the real current state of the browser session: whether a
browser is open, how many pages, and the active page's URL and title.
Call this after any failed step before continuing.reset_session tool
Close every browser, context, and page, then (if url is given) start
a fresh browser on that URL. Use this to recover when the page state is
unreliable after a failure. Also clears the step recording, so
export_robot_test starts from the fresh browser.new_page tool
Open a new page (tab). Auto-launches a default headless Chromium
browser first if none is open yet.close_page tool
Close the current active page.
close_browser tool
Close all open browsers, contexts, and pages.
go_to tool
Navigate the current page to the given URL. Optional timeout_s
overrides the Browser library's default navigation timeout.get_url tool
Return the current page URL.
get_title tool
Return the current page title.
click tool
Click the element found by the given selector.
fill_text tool
Clear the field found by the given selector and fill in the given text
in one action (fast, no per-character events).type_text tool
Type text into the field found by the given selector one character at
a time (fires real keydown/keyup events, useful for JS-driven inputs).
Optional delay_ms adds a delay between keystrokes.clear_text tool
Clear the text field found by the given selector.
press_keys tool
Press one or more keys (e.g. "Enter", "Control+A") on the element
found by the given selector, in order.check_checkbox tool
Check the checkbox found by the given selector.
uncheck_checkbox tool
Uncheck the checkbox found by the given selector.
select_options_by tool
Select one or more options in a <select> element found by the given
selector. attribute is one of "value", "label", "text", "index".get_text tool
Return the text content of the element found by the given selector.
get_attribute tool
Return the value of the given HTML attribute of the element found by
the given selector.get_element_count tool
Return the number of elements matching the given selector.
wait_for_elements_state tool
Wait for the element found by the given selector to reach the given
state: "attached", "detached", "visible", "hidden", "enabled",
"disabled", "editable", "readonly", "selected", "deselected",
"focused", or "stable".take_screenshot tool
Take a screenshot of the page (or of one element if selector is
given) and save it to disk. Returns the saved file path.evaluate_javascript tool
Evaluate arbitrary JavaScript in the page context. If selector is
given, the matched element is passed into the function as its
argument, e.g. function="(elem) => elem.textContent".run_keyword tool
Run any Robot Framework Browser-library keyword by name, for
anything not covered by a dedicated tool above. name is the keyword
name (e.g. "New Context", "Get Viewport Size"), args is a list of
strings passed positionally, using "key=value" for optional/named
arguments -- exactly as you would write them in a .robot file.export_robot_test tool
Export the browser steps that actually ran and passed in this session
as a draft Robot Framework (.robot) test that a person can review.
Only keywords that succeeded are included, exactly as they were
executed. Failed attempts and state probes are left out. Values read
with get_text / get_url / get_title / get_attribute / get_element_count
appear as commented "==" assertions holding the observed value, so the
reviewer can choose which ones to keep. Typed values (including
passwords) are written as-is.
Returns the file content. If path is given, also writes it there
(relative paths resolve against the server's working directory);
an existing file is only replaced when overwrite is true.clear_recording tool
Throw away the steps recorded so far, so export_robot_test only
includes what runs from now on. Useful after exploring, before doing
the clean run you want to keep. The browser itself is not touched, so
the export will not include an open_browser step. Use reset_session(url)
instead to get a test that starts from a fresh browser.browser_launch tool
Launch a browser, navigate to url, and start a live session.
browser: 'Chrome' (default) or 'Firefox'.
headless: run without a visible window when True.
Must be called before any other browser_* tool.browser_navigate tool
Navigate the open browser session to a new URL.
browser_click tool
Click an element identified by selector.
Selector formats: id=, name=, css=, xpath=, class=, tag=, link=, partial_link=
or plain CSS (default).
timeout: seconds to wait for the element to be clickable.browser_send_keys tool
Type text into an input element.
clear_first: clear existing content before typing (default True).
Selector formats: id=, name=, css=, xpath=, class=, tag= or plain CSS.browser_get_text tool
Return the visible text content of an element.
browser_wait_for_element tool
Wait for an element to reach a given state.
state: 'visible' (default), 'present', 'clickable', or 'hidden'.
Returns confirmation when the condition is met or a timeout error.browser_screenshot tool
Take a screenshot of the current browser page.
filename: optional path/name for the PNG file.
If omitted, a timestamped file is created in the current directory.
Returns the absolute path of the saved screenshot.browser_close tool
Close the active browser session.
create_login_test_case tool
Generate Robot Framework test case code for login functionality. Returns the complete .robot file content as text - does not execute the test.
create_page_object_login tool
Generate Robot Framework page object model code for login page. Returns .robot file content as text - does not execute.
create_advanced_selenium_keywords tool
Generate Robot Framework keywords for advanced Selenium operations. Returns .robot file content as text - does not execute.
create_extended_selenium_keywords tool
Generate extended Robot Framework keywords for screenshots, performance monitoring, and window management. Returns .robot file content as text - does not execute.
create_performance_monitoring_test tool
Generate Robot Framework performance monitoring test code. Returns complete .robot file content as text - does not execute.
create_data_driven_test tool
Generate Robot Framework data-driven test template code. Returns .robot file content as text - does not execute.
create_api_integration_test tool
Generate Robot Framework API integration test code. Returns .robot file content as text - does not execute.
validate_robot_framework_syntax tool
Validate Robot Framework syntax and provide suggestions. Returns validation report as text - does not execute code.
create_cicd_pipeline tool
Generate a GitHub Actions workflow file for running Robot Framework tests.
Returns the complete YAML content to save as .github/workflows/robot-tests.yml.
project_name: workflow and artifact name (default 'robot-tests').
python_version: Python version for the runner. Defaults to the version currently
running this MCP server (e.g. '3.11'). Pass explicitly to override.
test_directory: path to the Robot Framework test folder (default 'tests/').
trigger_branches: comma-separated branch names that trigger the workflow (default 'main').
schedule: optional cron expression for scheduled runs, e.g. '0 9 * * 1-5' for
weekdays at 09:00 UTC. Leave empty to disable scheduled runs.
output_dir: folder where Robot Framework writes results (default 'results/').
requirements_file: pip requirements file path (default 'requirements.txt').What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 43 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 43 tool handlers traced
- Reads or writes any file path MEDIUM1 finding in browser_screenshot
- Requests any addressNo tool sends a request to an address the caller supplies — 43 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 43 tool handlers traced
- Tools that start processes1 of 43 capabilities start processes; 37 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 43 capabilities touch files; 36 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 43 capabilities; 38 more call code the scanner could not follow, where it may happen
Where the code is: 43 handlers in 2 files at commit 282edd24e942
browser/src/rf_browser_mcp/server.pyopen_browser, session_status, reset_session, new_page, close_page, close_browser, go_to, get_url, get_title, click, fill_text, type_text +14mcp_server.pybrowser_launch, browser_navigate, browser_click, browser_send_keys, browser_get_text, browser_wait_for_element, browser_screenshot, browser_close, create_login_test_case, create_page_object_login, create_advanced_selenium_keywords, create_extended_selenium_keywords +5
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests4 manifests: browser/pyproject.toml, package.json, pyproject.toml, requirements.txt
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 3 not resolved: browser/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.2.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 43 capabilities; 38 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=2.0.0, mcp >=1.2.0 |
| Servers in the code | 2 (rf-browser-mcp, Robot framework MCP Server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-06 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| Listed in | 3 catalogs (glama, mcp_toplist, npm) |
| License | MIT |
| Created | 2025-07-28 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.