Skip to content

Commit 2815d62

Browse files
authored
Merge pull request #7 from elabit/rfmcp
feat: Added rf-mcp lab
2 parents 08b928f + 95c4111 commit 2815d62

23 files changed

Lines changed: 418 additions & 37 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Environment: RF + Browser Library + CryptoLibrary
2+
# Shared by all examples/templates that declare RMKS_ENVIRONMENT=rf-libbrowser-libcrypto in their .env file.
3+
4+
_subdirectory: template
5+
_answers_file: .copier-env-answers.yml
6+
7+
rf_version:
8+
type: str
9+
default: "7.1.1"
10+
11+
rf_lib_browser_version:
12+
type: str
13+
default: "19.12.5"
14+
15+
rf_lib_rfmcp_version:
16+
type: str
17+
default: "0.31.2"
18+
19+
python_version:
20+
type: str
21+
default: "3.12"
22+
23+
pip_version:
24+
type: str
25+
default: "23.2.1"
26+
27+
nodejs_version:
28+
type: str
29+
default: "22.11.0"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- python={{ python_version }}
5+
- pip={{ pip_version }}
6+
- nodejs={{ nodejs_version }}
7+
- pip:
8+
- robotframework=={{ rf_version }}
9+
- robotframework-browser=={{ rf_lib_browser_version }}
10+
- rf-mcp[web]=={{ rf_lib_rfmcp_version }}
11+
12+
# Install Browser Library binaries after environment creation.
13+
rccPostInstall:
14+
- rfbrowser init
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
| Library | Version |
2+
|---|---|
3+
| Python | `{{ python_version }}` |
4+
| Node.js | `{{ nodejs_version }}` |
5+
| Robot Framework | `{{ rf_version }}` |
6+
| robotframework-browser | `{{ rf_lib_browser_version }}` |
7+
| rf-mcp | `{{ rf_lib_rfmcp_version }}` |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Checkmk Workshop
2+
3+
{% include 'how-to-run-lab.partial.md' %}
4+
5+
## About this Repository
6+
7+
This is a complete playground to test out the Robot Framework [MCP-Server](https://github.com/manykarim/rf-mcp/tree/main/docker) which helps you to implement, refactor and debug your Robot Framework tests in a more efficient way.
8+
To have something to test against, we have set up a Checkmk instance, which you can also use to integrate the tests you are creating.
9+
10+
## Links
11+
12+
TBD
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copier template for the cryptolibrary example.
2+
# Maintainer-only: generates examples/cryptolibrary/ from this template.
3+
# The conda.yaml is injected automatically from _dev/_environments/ based on RMKS_ENVIRONMENT.
4+
# Run via: task generate
5+
6+
_subdirectory: template
7+
_answers_file: .copier-answers.yml
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This file is managed by Copier.
2+
# Do NOT edit manually. To regenerate: task generate
3+
_src_path: {{ _copier_conf.src_path }}
4+
_commit: {{ _copier_conf.commit or 'none' }}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ── robotmk-starter ──────────────────────────────────────────────────────────
2+
# RCC environment
3+
RMKS_ENVIRONMENT=rf-libbrowser-rfmcp
4+
# Devcontainer type
5+
RMKS_DEVCONTAINER=cmk25
6+
7+
# ── Environment ───────────────────────────────────────────────────────────────
8+
# VNC desktop resolution (default: 1280x1024 if not set)
9+
# VNC_RESOLUTION=1920x1080
10+
RMKCRYPTPW=rmksecret
11+
ROBOTMK_HEADLESS_HOST=true

_dev/_labs/robotmk-lab-rfmcp/template/.vscode/mcp.json

Whitespace-only changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- python=3.12
5+
- pip=23.2.1
6+
- nodejs=22.11.0
7+
- pip:
8+
- robotframework==7.4
9+
- robotframework-browser==19.14.2
10+
- rf-mcp[web]==0.31.2
11+
12+
# Install Browser Library binaries after environment creation.
13+
rccPostInstall:
14+
- rfbrowser init
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
tasks:
2+
# Tasks are preconfigured commands which can be run from the command line.
3+
# (Robotmk does not use them at all, but executes custom Robot Framework commands inside of "rcc task shell")
4+
noexec:
5+
shell: echo "not for execution as RCC task"
6+
7+
condaConfigFile: conda.yaml
8+
artifactsDir: output
9+
ignoreFiles:
10+
- .gitignore

0 commit comments

Comments
 (0)