AI agent (MCP)
This feature lets an external AI agent such as Codex or Claude Code operate the running Cloud Toolkit on your behalf. It is off by default.
How it works
This is a different feature from the AI panel in chapter 13 (off in this version). Here, an AI agent that the user runs separately sends requests to the app from inside this PC.
mcp argumentRequest forwardingToken authenticationAn AI agent that supports MCP, such as Codex or Claude Code.
Runs on the same PC as the app, as the same Windows user.
The app's features are offered as a list of ‘actions’; the agent queries the list and calls the actions it needs.
The client runs the Cloud Toolkit executable with the mcp argument.
It runs without a window and passes the requests it receives to the running app.
The executable file name is nhn-net-checker.exe.
Connects only to an address internal to the PC and authenticates with a token. The token changes when the app is restarted.
Before sending the token, it checks that the other side is the real app. When the app exits, it deletes the connection info file.
Requests that come from web pages are rejected.
The default time limit for one request is 120 seconds.
Performs the requested action with the app's own features.
For sensitive actions, it shows an approval dialog on screen and asks the user.
Requests that change something are processed one at a time, in order.
How to turn it on
Turn it on in Settings › AI agent (MCP). Checkboxes take effect as soon as you click them, and you do not need to press Save.
Allow external AI agents to control the app
Master switch. Off by default. Once turned on, it stays on even after the app is restarted.
Allow foreground RDP mouse control (uses the local cursor)
Off by default. Cleared when the app is restarted or the master switch is turned off.
Allow foreground RDP keyboard control (uses the local input queue, for verification)
Off by default. Cleared when the app is restarted or the master switch is turned off.
Allow AI background RDP mode (separate connection, no local input)
Off by default. This choice is saved and is kept after the app is restarted.
Connect AI clients
Where you register Cloud Toolkit with the AI clients on this PC. Described on the next page.
Connecting AI clients
Connect AI clients registers Cloud Toolkit with Claude Code, Codex, Claude Desktop and Antigravity. It applies as soon as you press it and has nothing to do with Save.
Connect AI clients
Shows the status and settings file location of the three clients, one per row. Existing settings are left alone; only the Cloud Toolkit entry is added or corrected.
Status badge
Registered, Another copy, Not registered, Not found, Config unreadable. The meanings are in the table two pages ahead.
Register
Registers with a client that is not registered. A confirmation panel opens first (the next page).
Update
Changes a registration that points to a Cloud Toolkit in another location so that it points to this app. A confirmation panel opens first.
Remove
Removes the Cloud Toolkit registration from that client. It is removed immediately with no confirmation dialog, and you can register again with Register.
Other MCP clients (below the list)
A sample configuration for clients not in the list. Server name
cloud_toolkit, command: the path of this app's executable, argumentmcp. Enter it yourself in that client's MCP settings.
Registration confirmation and applying
Pressing Register or Update opens a confirmation panel first. The register button turns on only after you read the content and check the box.
Press Register or Update
A panel titled ‘Check before registering with <client>’ opens below the list. Closing it with Cancel changes nothing.
Read the panel content
It covers the scope the agent can handle and the current state of the app control permission, the content that goes to external AI services, the commands that run without confirmation, and whether audit records are kept.
Check ‘I have checked the above’
The Register with <클라이언트> (Register with <client>) button, or for Update the Update <클라이언트> button, turns on only after you check the box.
Press the register button
The row changes to Registered and a notice about when it takes effect appears. If the app control permission is off, it tells you that as well.
Apply it in the client
Claude Code and Codex use it from the next session they start. Claude Desktop needs to be fully quit and reopened. Antigravity picks it up after a refresh in its MCP servers screen or after reopening.
Status badges and registration method
Each row has one badge, and the buttons you can press depend on the badge.
| Badge | Meaning | Button |
|---|---|---|
| Registered | Registered so that it points to this Cloud Toolkit. | Remove |
| Another copy | Registered, but pointing to a Cloud Toolkit executable in another location. The row shows that path. | Update, Remove |
| Not registered | The client exists but is not registered. | Register |
| Not found | The client was not found on this PC. | None |
| Config unreadable | The settings file could not be read. In this case the file is not changed. | None |
Three RDP input methods
There are three ways for an agent to send input to a Windows server screen, and each is allowed separately in Settings. Login is always done by the user.
| Method | How input is delivered | Limits and cautions | Persistence |
|---|---|---|---|
| Foreground mouse | Sends input with the local mouse cursor to the Native RDP session visible on screen. | Do not operate other windows while input is being sent. If the window focus changes, the local PC can be affected. | Cleared on restart or when the master switch is turned off |
| Foreground keyboard | Sends local key input to the Native RDP session. | Only ordinary characters, Escape and Ctrl+A are allowed. Win and Alt shortcuts are blocked. A risk of input going to the local PC remains. | Cleared on restart or when the master switch is turned off |
| Remote key delivery | The default method when foreground keyboard is not turned on. Sends keys only through the remote session interface. | An approval dialog appears for every input. There is no continuous allowance. | No separate switch |
| Background RDP | Creates a separate RDP connection dedicated to AI. It does not use the local mouse, keyboard or clipboard. | If you connect with the same account, the existing remote session may be reconnected, depending on server policy. If the connection drops, it is not reconnected automatically. | Mode choice is kept. Per-session control permission is lost on restart |
What it can and cannot do
With the switch on, an agent can request most of what the user does on screen. Some requests go through an approval dialog, and some are blocked outright.
- CAN
What the agent can do
- Read app state such as projects, scan status, the instance list and transfer status
- Switch views, select a project, start a scan, open Settings
- Open SSH and RDP tabs with saved connection settings
- Read terminal text (up to 100,000 characters), capture terminal, app and RDP screens
- Enter one command line in a terminal, send keys such as
Enter,Tab,Ctrl-Cand the arrow keys - SFTP listing, upload and download; Ansible runs; changes to settings, key profiles and routes; migration file export and import
- CANNOT
What the agent cannot do
- Any action while the switch is off or the screensaver lock is active
- Click approval dialogs, MCP settings items or the RDP window on your behalf
- Enter values in password fields and file selection fields
- Read saved passwords, key contents or tokens (masked as
[REDACTED]in responses) - Run blocked-level commands (chapter 13) or interactive
sudo -i(the one account switch approved by a person is the exception) - Type into a terminal that is waiting for password or MFA input, or a terminal where a line the user was typing remains
Read-only mode
On by default. While it is on, the agent can look things up right away, and every action that changes something needs approval on this PC each time.
| Action | Read-only (default) | Changes allowed (30 minutes) |
|---|---|---|
| Lookups: app state, settings, scan results, terminal text, screenshots, reading files on servers | Runs right away | Runs right away |
| SSH connections, scans, SFTP listings | Runs right away | Runs right away |
Server commands that certainly only read, such as cat, ls, grep, tail, df, ps, ss, systemctl status and journalctl | Runs right away | Runs right away |
Other server commands (commands not on the list, writing to a file with >, $(…) and so on) | Approval dialog | Runs right away |
| Other changes such as RDP connections, web search, disconnecting, renaming or reordering, and filling input fields on screen | Approval dialog | Runs right away |
| Deleting, uploads and downloads, reading or writing local files, saving passwords and keys, migration, commands that need confirmation | Approval dialog | Approval dialog |
| Blocked commands (chapter 13) | Never run | Never run |
Command style rules
Server commands from an agent must be as easy to read as ones a person types. A command that breaks the rules is refused without an approval dialog; the agent gets the reason and sends a plain command instead.
| Refused | Example | Instead |
|---|---|---|
| Printing fixed text or separators, comments | echo '=== disk ===', df -h # 용량 (disk usage) | df -h |
Several commands on one line (;, &&, ||, a trailing &) | cd /var/log && ls | ls /var/log |
A command inside a command ($(…), backticks, bash -c, eval, python -c) | cat $(which nginx) | which nginx, then cat <경로> (path) |
Shell programs (for, while, if, here-docs, subshells in parentheses) | for h in a b; do …; done | One command per host |
| Four or more pipes, more than 400 characters | ps aux | … | … | … | head | Keep only the steps you need |
Approval dialogs shown to the local user
The actions below proceed only when the user allows them on screen. Most appear as a Windows confirmation dialog, and the agent cannot click this dialog.
| Action requested by the agent | Dialog title | What the dialog shows |
|---|---|---|
| Sensitive app functions (34 kinds, such as deleting, saving, uploading and migration) | Cloud Toolkit MCP | AI agent requests <동작>. (the placeholder is the action name) + argument preview (secret values masked) + Allow this operation? |
| Changes in read-only mode, and commands that are not read-only | Cloud Toolkit MCP — read-only mode | Read-only mode: the AI agent requests a change. + the action or command + Allow this once? |
| Button click on screen | Cloud Toolkit MCP | AI agent requests a UI click: + button name |
| Remote commands at the needs-confirmation level (chapter 13) | Cloud Toolkit MCP command | Instance name, command, and the reason confirmation is required |
SSH account switch (sudo -n -i) | Cloud Toolkit MCP — SSH 계정 전환 (SSH account switch) | 대화형 SSH 계정 전환 승인 … 이번 계정 전환을 허용하시겠습니까? (Interactive SSH account switch approval … Allow this account switch?) |
| SSH key or IronRDP certificate of a server connected to for the first time | Cloud Toolkit MCP — 새 서버 | AI 에이전트가 처음 접속하는 서버의 … 저장하려고 합니다. (The AI agent wants to store … of a server it connects to for the first time.) + server name, address and SHA256 fingerprint. If allowed, only that key is stored and the connection is retried. |
Sending Enter to a terminal | Cloud Toolkit MCP | Send Enter to the remote terminal? This may submit pending input. |
| Interrupting a running command | Cloud Toolkit MCP | Send Ctrl-C to this agent command? … |
| Canceling an SFTP transfer | Cloud Toolkit MCP | Cancel this SFTP transfer? A partial destination file may remain; … |
| RDP input, background RDP connection and closing | Cloud Toolkit MCP — RDP 입력 승인 (RDP input approval) | Appears as a dialog inside the app. Described on the next page. |
RDP input approval dialog
The dialog that appears inside the app when an agent tries to send input to an RDP screen. The figure is a screen made with sample values.
Request details
Shows the target server, project, session, the requested input, and how the input is delivered (local cursor, local keyboard or remote interface).
Deny
Rejects the request. It is also denied if you close the dialog or do not choose within 90 seconds.
Allow this input
Allows this one input only.
Allow this server for 10 min / 100 inputs
Appears only for foreground RDP requests. For the current connection to this server only, it does not ask again for 10 minutes, up to 100 inputs.
AI foreground control bar
When you press ‘Allow this server for 10 min / 100 inputs’, a bar appears in place of the Header and stays visible while the continuous allowance is valid.
What it shows
The server name, time remaining and number of inputs remaining.
로컬 입력 사용 중(Local input in use) means input is delivered with the local mouse or keyboard.Stop now
Ends the continuous allowance at once. One input that was already being sent may still be delivered.
When it ends automatically
10 minutes elapsed, 100 inputs used up, switching to another tab, project or view, opening Settings, screen lock, app window hidden, RDP connection closed, a change to the RDP input switches in Settings.
AI RDP window
The window for viewing and handling background RDP sessions. Open it with the monitor icon at the bottom of the Navigation rail; it also opens automatically when a connection is approved.
Connection approval
When an agent requests a connection, the approval dialog shows
사용자@주소:포트(user@address:port), the project, and the SHA-256 fingerprint of the server certificate. Check the fingerprint, then allow.Prerequisites
An RDP user name and password must be saved for the instance. The connection is made with the clipboard turned off.
Stop AI / prepare manual login
Stops AI control so that you click and type on the screen inside the window yourself. Login and security confirmation dialogs are handled by the user.
Confirm desktop and allow AI control for this session (10 min / 100 inputs)
Press it after you finish logging in to allow AI input for this session only.
Close this AI connection (not a logoff)
Closes this connection only. It is not a Windows logoff, and ordinary RDP tabs are left as they are.
Status display
연결 중(Connecting),연결됨 · 직접 로그인 준비 가능(Connected · manual login can be prepared),AI 제어 중 (남은 초·횟수)(AI in control, with seconds and count remaining),연결 종료 · 로그인 준비 버튼 사용 불가(Connection closed · login preparation button unavailable).
Revoking permissions
Take back the permissions you allowed with the methods below. The surest method is to turn off the master switch.
| Method | Effect |
|---|---|
| Turn off 외부 AI 에이전트의 앱 제어 허용 (Allow external AI agents to control the app) | All pending requests are failed, and RDP input permission and background RDP control are revoked. The two foreground RDP switches are also turned off. |
| Screensaver lock | While locked, all requests are rejected and RDP input permission is revoked. (chapter 16) |
| 읽기 전용으로 (Back to read-only) (the bar or Settings) | Ends the changes window at once. Changes go through the approval dialog again. |
| 즉시 중지 (Stop now) | Ends the 10 min / 100 inputs continuous allowance for foreground RDP. |
| AI 중지 / 직접 로그인 준비 (Stop AI / prepare manual login) | Stops AI control of the background RDP session. |
| 이 AI 연결 닫기 (로그오프 아님) (Close this AI connection (not a logoff)) | Closes the background RDP connection. |
| Restart the app | The connection token inside the PC changes, the foreground RDP switches and per-session allowances are reset, and the app returns to read-only mode. The main switch stays on. |
| Remove (Connect AI clients), or delete the server entry in the client's settings | Removes the Cloud Toolkit registration from the client. For the three clients in the list use Remove; for other clients, delete it in that client's settings. |