Scan your whole stack
From OX Research Newsroom
Are you using @foreverworks/mcp-etoll?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.2
@foreverworks/mcp-etoll was last scanned on 28 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.2 LATEST | 28 Nov 2026 | No rules fired |
| 0.1.0 | 16 Nov 2026 | No rules fired |
Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Check your cars' rovinietă (Romania's road-use vignette) from your AI
assistant, on your eToll account: until which day each vignette is
valid and how many days are left, the vignettes and bridge passes you bought,
the invoices, eToll's notifications and the status page of CNAIR, the national
road infrastructure company that runs eToll. It can also buy a
vignette: quote_vignette gives the price for each duration, and
place_order, its one money tool, places the order after you confirm one
line and hands you eToll's card payment page on euplatesc.ro. You pay there
yourself; the server never sees a card.
You need an eToll account with your cars on it. The server signs in either with your eToll user name and password (from a file, or from a vault MCP server), or through your browser once, for an account that signs in with ROeID, Google or eIDAS. eToll has no public API: this is an unofficial client of the API the portal itself uses, so it can break when eToll changes it.
With Claude Code:
claude mcp add etoll -- npx -y @foreverworks/mcp-etoll
Claude Desktop (Settings, Developer, Edit Config) and most other clients read the same command as JSON:
{
"mcpServers": {
"etoll": {
"command": "npx",
"args": ["-y", "@foreverworks/mcp-etoll"]
}
}
}
Each runs the published package on Node 22.19 or newer. VS Code and the Claude Desktop bundle ask for each setting as they add the server; leave an optional one empty. Cursor reads each from your environment instead (${env:ETOLL_USERNAME} and so on), so set them before you start Cursor. Every setting is optional; Configuration says which ones you need for which tools.
git clone https://github.com/foreverworks/mcps.git && cd mcps
npm ci && npm run build
claude mcp add etoll -- node "$PWD/servers/etoll/dist/index.js"
In a JSON configuration, the command is node and its one argument the full path of servers/etoll/dist/index.js. To share one running copy between several clients over HTTP, see docs/deploying.md.
Every variable is optional. With none set the server signs in through the browser; set a user name and a password source to have it sign in by itself.
| Variable | Required | Meaning |
|---|---|---|
ETOLL_USERNAME |
no | The e-mail address or phone number you sign in to eToll with. Needed with ETOLL_PASSWORD_FILE; with a vault, it overrides the vault item's user name. |
ETOLL_PASSWORD_FILE |
no | File holding only your eToll password (ETOLL_PASSWORD for a local run). Read at each sign-in, never kept. |
ETOLL_VAULT_MCP_URL |
no | A vault MCP server over Streamable HTTP to read the user name and password from instead (this repository's bitwarden server, for one). |
ETOLL_VAULT_MCP_TOKEN_FILE |
no | File holding the vault server's bearer token (ETOLL_VAULT_MCP_TOKEN for a local run). |
ETOLL_VAULT_MCP_COMMAND |
no | Or a vault MCP server to spawn over stdio: a JSON array of strings, or words separated by spaces. |
ETOLL_VAULT_ITEM |
no | The vault item holding the eToll login. |
ETOLL_VAULT_TOOL |
no | The vault tool to call. Default get_password. |
ETOLL_VAULT_ARGS |
no | Its arguments as a JSON template, {{item}} replaced by the item. Default {"id":"{{item}}"}. |
ETOLL_VAULT_PASSWORD_FIELD |
no | Dot path to the password in the tool's JSON answer (. for the whole answer). Default password. |
ETOLL_VAULT_USERNAME_FIELD |
no | Dot path to the user name. Default username. |
ETOLL_STATE_DIR |
no | Where the session, a begun browser sign-in, quotes and orders live, all 0600; the default is in docs/configuration.md. It holds a live session: keep it readable by the server's user only. |
ETOLL_OUTBOX_DIR |
no | Where download_invoice writes PDFs. Default <ETOLL_STATE_DIR>/outbox. |
ETOLL_LOGIN_SCRIPT |
no | A command your deployment provides that runs a whole browser sign-in. When set, every needs_login remedy names it first, and health reports it. |
ETOLL_ISSUER |
no | The Keycloak realm. Default https://sso.etoll.ro/auth/realms/external. |
ETOLL_CLIENT_ID |
no | The portal's public client. Default ddcm-authz-client. |
ETOLL_API |
no | The portal. Default https://portal.etoll.ro. |
ETOLL_REDIRECT_URI |
no | Where a browser sign-in lands. Default <ETOLL_API>/portal-extern/apm-env.js. |
ETOLL_SCOPES |
no | Space-separated. Default openid profile offline_access. |
The variables every server shares are in docs/configuration.md.
health. It says whether a session is stored and
where a password would come from (password_sign_in), never the password.needs_login, and the assistant calls begin_login.code= and state=) and
paste it into the conversation at once: its code dies within a minute.
complete_login stores the session.The session is an offline one: it does not expire by the clock, only when
eToll ends it. With a password configured the server then signs in again by
itself; without one, the next tool answers needs_login and you repeat the
browser steps.
read changes nothing at eToll; write changes only what this server holds, or drops an unpaid order; money places an order.
| Tool | Access | What it does |
|---|---|---|
health |
read | Whether a session is stored (none, present or expired), how it was made, and where a password comes from. No network. |
session_status |
read | Who is signed in and when the tokens expire; probe refreshes (or signs in with the password) once to prove it works. Never shows a token. |
begin_login |
write | The link for a browser sign-in, and its 15-minute deadline. |
complete_login |
write | Takes the address the browser landed on, exchanges its code and stores the session. |
logout |
write | Forgets the session here and ends it at eToll's sign-in server. |
list_vehicles |
read | Every car on the account with its vignette: valid until (a day in Bucharest), days left, and the periods a new one may cover. |
list_tolls |
read | The vignettes and bridge passes bought, newest first, filtered by status or plate, a page at a time (cursor, size up to 100). |
list_invoices |
read | The invoices in a window of days (from, to; the last year by default), a page at a time. |
download_invoice |
read | Saves an invoice's PDF in the outbox; answers its path, SHA-256 and size. |
notifications |
read | eToll's messages to the account (a vignette about to end), and how many are unread. |
service_status |
read | CNAIR's public status page: each component, open incidents, planned maintenance. Needs no account. |
quote_vignette |
read | The price of a vignette for one car from a start date, for every duration from 1 day to 12 months, each with a quote_id. Orders nothing. |
place_order |
money | Orders a quoted vignette and hands over the card payment page on euplatesc.ro. |
get_order |
read | An order place_order made: pending (with its payment page), paid, expired or cancelled. |
cancel_order |
write | Drops an unpaid order. Safe to call twice; a paid order is refused. |
place_order is the only tool that buys anything. It takes a quote_id from
quote_vignette (at most 30 minutes old) and, when the account bills to more
than one person or company, a billing_id. Before it runs, the user confirms
one line, computed from the stored quote and the account's billing details:
etoll: Buy rovinietă 12 months, category A, for B123ABC (RO), valid from 2026-12-01 to 2027-11-30, 139.41 RON, billed to Ana Popescu, paid by card on euplatesc.ro
Your client confirms it with you; a deployment can have the server ask
instead (MCP_CONFIRM=elicit, docs/configuration.md).
Then, in order, and stopping at the first that fails:
refused with PRICE_CHANGED, and nothing is ordered.PRICE_CHANGED (or
drift, when eToll gave no total). An order eToll makes but answers in a
shape the server cannot read is cancelled too, and the answer is drift.drift. If eToll
refuses or fails the request, the order is cancelled too, and the answer
is eToll's error.From the moment the order exists, any failure cancels it, and the answer says
so. If the cancel fails as well, the answer is outcome_unknown and names the
order that is still open, so you can cancel_order it: eToll lists an unpaid
order nowhere and refuses another for the same vignette while it is open.
The answer is the payment page, which a client that shows links offers you
directly. Nothing is paid until you pay there. An unpaid order expires by
itself; cancel_order drops it sooner, and get_order says when it is paid.
needs_login. No session, or eToll no longer honours it, and no password
is configured (reason: never_connected, expired, revoked or
refused). Sign in through the browser as in First run, or
configure a password.
login_refused. eToll's sign-in server refused the configured user name
and password. Do not retry until they are fixed: it locks an account after
repeated failures, so the server itself waits 15 minutes before sending the
same password again. Fix the password file or the vault item, then call
session_status with probe to try at once. An account that signs in with
ROeID, Google or eIDAS has no eToll password: use the browser sign-in.
upstream. The vault server failed: check the ETOLL_VAULT_* settings,
that it is reachable, and that it is unlocked.
refused, PENDING_ORDER_SAME_PRODUCT. An unpaid order for the same
vignette is already open; pendingOrderId names it. Pay it on the page
place_order handed over, or cancel_order it and order again.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.