Report the linux.do session
session_statusCheck Cloudflare clearance status for linux.do and determine whether browser refresh is available; if not, get the blocking reason, such as missing Chromium, Playwright, or DISPLAY.
Instructions
Report how this server currently reaches linux.do.
Shows whether a Cloudflare clearance is loaded, its fingerprint and age, and whether a browser refresh can run in this process. When it cannot, browser_unavailable_reason says why: no Chromium, no Playwright, or no DISPLAY — an MCP host may have stripped the display from the child environment, in which case run 'linuxdo-mcp doctor --refresh' from a desktop shell. It never returns the cookie.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "session_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | The same age as a short duration (3h32m); null when no cookie is stored. | |
| mode | Yes | cleared when a clearance cookie is loaded and usable, anonymous when the site needs no credential at all, missing when it needs one and none is stored. | |
| site | Yes | Site key this process was started for (linuxdo, idcflare). | |
| stale | No | True when the stored clearance is older than 30 days. Reads may still work; the transport keeps replaying it until the forum actually challenges, then refreshes. | |
| base_url | Yes | Origin every request is built from. | |
| transport | Yes | How requests are sent: 'httpx' plus a Cloudflare clearance for a site that challenges anonymous callers, or 'curl_cffi' reproducing a browser TLS fingerprint for a site that judges it. | |
| acquired_at | No | ISO 8601 timestamp of the browser run that obtained it. | |
| age_seconds | No | Whole seconds since that run; null when no cookie is stored. | |
| profile_dir | No | Persistent browser profile the clearance came from, home-relative (~/.cache/...); null when the site needs no browser at all. | |
| last_challenge | No | Last challenge timestamp, when the forum blocked a call. | |
| browser_available | Yes | Whether a browser refresh can run in this process right now. False is normal under an MCP host that spawns the server with a filtered environment, and it is meaningless for a site that needs no clearance. | |
| cookie_fingerprint | Yes | First 4 characters and length of the clearance cookie, never its value. | |
| browser_unavailable_reason | No | Why the refresh cannot run: no Chromium binary, the optional Playwright extra is missing, or this process has no DISPLAY/WAYLAND_DISPLAY because an MCP host stripped it. Null when browser_available is true. |