[{"data":1,"prerenderedAt":689},["ShallowReactive",2],{"navigation":3,"\u002Fconfiguration":38,"\u002Fconfiguration-surround":684},[4,8,13,18,23,28,33],{"title":5,"path":6,"stem":7},"Getting started","\u002F","index",{"title":9,"path":10,"stem":11,"order":12},"Install","\u002Finstall","install",1,{"title":14,"path":15,"stem":16,"order":17},"Connect a client","\u002Fclients","clients",2,{"title":19,"path":20,"stem":21,"order":22},"MCP tools","\u002Ftools","tools",3,{"title":24,"path":25,"stem":26,"order":27},"CLI","\u002Fcli","cli",4,{"title":29,"path":30,"stem":31,"order":32},"Configuration","\u002Fconfiguration","configuration",5,{"title":34,"path":35,"stem":36,"order":37},"Changelog","\u002Fchangelog","changelog",6,{"id":39,"title":29,"body":40,"description":678,"extension":679,"meta":680,"navigation":681,"path":30,"seo":682,"stem":31,"__hash__":683},"docs\u002Fconfiguration.md",{"type":41,"value":42,"toc":669},"minimark",[43,48,60,78,92,96,114,202,272,276,330,334,344,400,404,407,465,553,559,563,569,600,621,625,639,658,665],[44,45,47],"h2",{"id":46},"api-key","API key",[49,50,51,52,59],"p",{},"The key comes from your ",[53,54,58],"a",{"href":55,"rel":56},"https:\u002F\u002Fonlinesim.io\u002Fv2\u002Fprofile\u002Fapi",[57],"nofollow","OnlineSim profile",". The server and the CLI read it from,\nin this order:",[61,62,63,71],"ol",{},[64,65,66,70],"li",{},[67,68,69],"code",{},"ONLINESIM_APIKEY"," (environment);",[64,72,73,74,77],{},"the config file written by ",[67,75,76],{},"onlinesim login",".",[49,79,80,81,84,85,87,88,91],{},"It is sent to the API as ",[67,82,83],{},"Authorization: Bearer \u003Ckey>",", never in a URL, and never appears in tool arguments, answers\nor logs. A running server re-reads the config on each tool call, so ",[67,86,76],{}," \u002F ",[67,89,90],{},"logout"," take effect without a\nrestart.",[44,93,95],{"id":94},"config-file","Config file",[49,97,98,101,102,105,106,109,110,113],{},[67,99,100],{},"onlinesim config path"," prints it: ",[67,103,104],{},"~\u002F.config\u002Fonlinesim\u002Fconfig.json"," on Linux,\n",[67,107,108],{},"~\u002FLibrary\u002FApplication Support\u002Fio.onlinesim.onlinesim\u002Fconfig.json"," on macOS,\n",[67,111,112],{},"%APPDATA%\\onlinesim\\onlinesim\\config\\config.json"," on Windows.",[115,116,121],"pre",{"className":117,"code":118,"language":119,"meta":120,"style":120},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"apikey\": \"…\",\n  \"base_url\": \"https:\u002F\u002Fonlinesim.host\u002Fapi\u002F\",\n  \"lang\": \"en\"\n}\n","json","",[67,122,123,131,158,178,197],{"__ignoreMap":120},[124,125,127],"span",{"class":126,"line":12},"line",[124,128,130],{"class":129},"sMK4o","{\n",[124,132,133,136,140,143,146,149,153,155],{"class":126,"line":17},[124,134,135],{"class":129},"  \"",[124,137,139],{"class":138},"spNyl","apikey",[124,141,142],{"class":129},"\"",[124,144,145],{"class":129},":",[124,147,148],{"class":129}," \"",[124,150,152],{"class":151},"sfazB","…",[124,154,142],{"class":129},[124,156,157],{"class":129},",\n",[124,159,160,162,165,167,169,171,174,176],{"class":126,"line":22},[124,161,135],{"class":129},[124,163,164],{"class":138},"base_url",[124,166,142],{"class":129},[124,168,145],{"class":129},[124,170,148],{"class":129},[124,172,173],{"class":151},"https:\u002F\u002Fonlinesim.host\u002Fapi\u002F",[124,175,142],{"class":129},[124,177,157],{"class":129},[124,179,180,182,185,187,189,191,194],{"class":126,"line":27},[124,181,135],{"class":129},[124,183,184],{"class":138},"lang",[124,186,142],{"class":129},[124,188,145],{"class":129},[124,190,148],{"class":129},[124,192,193],{"class":151},"en",[124,195,196],{"class":129},"\"\n",[124,198,199],{"class":126,"line":32},[124,200,201],{"class":129},"}\n",[203,204,205,221],"table",{},[206,207,208],"thead",{},[209,210,211,215,218],"tr",{},[212,213,214],"th",{},"Field",[212,216,217],{},"Default",[212,219,220],{},"Set with",[222,223,224,241,256],"tbody",{},[209,225,226,231,234],{},[227,228,229],"td",{},[67,230,139],{},[227,232,233],{},"—",[227,235,236,87,238],{},[67,237,76],{},[67,239,240],{},"onlinesim logout",[209,242,243,247,251],{},[227,244,245],{},[67,246,164],{},[227,248,249],{},[67,250,173],{},[227,252,253],{},[67,254,255],{},"onlinesim config set --base-url …",[209,257,258,262,266],{},[227,259,260],{},[67,261,184],{},[227,263,264],{},[67,265,193],{},[227,267,268,271],{},[67,269,270],{},"onlinesim config set --lang ru"," (language of API texts)",[44,273,275],{"id":274},"environment","Environment",[203,277,278,288],{},[206,279,280],{},[209,281,282,285],{},[212,283,284],{},"Variable",[212,286,287],{},"Meaning",[222,289,290,299,312],{},[209,291,292,296],{},[227,293,294],{},[67,295,69],{},[227,297,298],{},"API key; overrides the config file.",[209,300,301,306],{},[227,302,303],{},[67,304,305],{},"ONLINESIM_NO_UPDATE",[227,307,308,311],{},[67,309,310],{},"1"," turns off the daily release check.",[209,313,314,319],{},[227,315,316],{},[67,317,318],{},"RUST_LOG",[227,320,321,322,325,326,329],{},"Log filter, e.g. ",[67,323,324],{},"onlinesim_mcp=debug"," (wins over ",[67,327,328],{},"-v",").",[44,331,333],{"id":332},"logs","Logs",[49,335,336,339,340,343],{},[67,337,338],{},"onlinesim mcp"," logs to stderr at ",[67,341,342],{},"info",": start-up (bind address, where the key comes from — never the key), each tool\ncall with its duration and result, and wait start \u002F finish (the outcome only, never the SMS text or code).",[115,345,349],{"className":346,"code":347,"language":348,"meta":120,"style":120},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","onlinesim mcp                                  # onlinesim_mcp=info\nonlinesim -v mcp                               # onlinesim_mcp=debug (catalog cache, …)\nRUST_LOG=onlinesim_mcp=debug onlinesim mcp     # explicit filter\n","bash",[67,350,351,364,376],{"__ignoreMap":120},[124,352,353,357,360],{"class":126,"line":12},[124,354,356],{"class":355},"sBMFI","onlinesim",[124,358,359],{"class":151}," mcp",[124,361,363],{"class":362},"sHwdD","                                  # onlinesim_mcp=info\n",[124,365,366,368,371,373],{"class":126,"line":17},[124,367,356],{"class":355},[124,369,370],{"class":151}," -v",[124,372,359],{"class":151},[124,374,375],{"class":362},"                               # onlinesim_mcp=debug (catalog cache, …)\n",[124,377,378,381,384,387,389,392,395,397],{"class":126,"line":22},[124,379,318],{"class":380},"sTEyZ",[124,382,383],{"class":129},"=",[124,385,386],{"class":380},"onlinesim_mcp",[124,388,383],{"class":129},[124,390,391],{"class":151},"debug",[124,393,394],{"class":355}," onlinesim",[124,396,359],{"class":151},[124,398,399],{"class":362},"     # explicit filter\n",[44,401,403],{"id":402},"autostart","Autostart",[49,405,406],{},"Start the server at login \u002F reboot, the same way on every OS:",[203,408,409,424],{},[206,410,411],{},[209,412,413,416,419],{},[212,414,415],{},"OS",[212,417,418],{},"User (default)",[212,420,421],{},[67,422,423],{},"--system",[222,425,426,437,451],{},[209,427,428,431,434],{},[227,429,430],{},"Windows",[227,432,433],{},"HKCU Run",[227,435,436],{},"HKLM Run (admin)",[209,438,439,442,448],{},[227,440,441],{},"macOS",[227,443,444,445],{},"LaunchAgent in ",[67,446,447],{},"~\u002FLibrary\u002FLaunchAgents",[227,449,450],{},"LaunchDaemon (sudo)",[209,452,453,456,462],{},[227,454,455],{},"Linux",[227,457,458,459],{},"systemd ",[67,460,461],{},"--user",[227,463,464],{},"systemd system unit (sudo)",[115,466,468],{"className":346,"code":467,"language":348,"meta":120,"style":120},"onlinesim mcp autostart install               # enable + start in the background\nonlinesim mcp autostart install --bind 127.0.0.1:8787\nonlinesim mcp autostart status\nonlinesim mcp autostart start                 # start now, autostart unchanged\nonlinesim mcp autostart uninstall\nsudo onlinesim mcp autostart install --system\n",[67,469,470,485,501,512,526,537],{"__ignoreMap":120},[124,471,472,474,476,479,482],{"class":126,"line":12},[124,473,356],{"class":355},[124,475,359],{"class":151},[124,477,478],{"class":151}," autostart",[124,480,481],{"class":151}," install",[124,483,484],{"class":362},"               # enable + start in the background\n",[124,486,487,489,491,493,495,498],{"class":126,"line":17},[124,488,356],{"class":355},[124,490,359],{"class":151},[124,492,478],{"class":151},[124,494,481],{"class":151},[124,496,497],{"class":151}," --bind",[124,499,500],{"class":151}," 127.0.0.1:8787\n",[124,502,503,505,507,509],{"class":126,"line":22},[124,504,356],{"class":355},[124,506,359],{"class":151},[124,508,478],{"class":151},[124,510,511],{"class":151}," status\n",[124,513,514,516,518,520,523],{"class":126,"line":27},[124,515,356],{"class":355},[124,517,359],{"class":151},[124,519,478],{"class":151},[124,521,522],{"class":151}," start",[124,524,525],{"class":362},"                 # start now, autostart unchanged\n",[124,527,528,530,532,534],{"class":126,"line":32},[124,529,356],{"class":355},[124,531,359],{"class":151},[124,533,478],{"class":151},[124,535,536],{"class":151}," uninstall\n",[124,538,539,542,544,546,548,550],{"class":126,"line":37},[124,540,541],{"class":355},"sudo",[124,543,394],{"class":151},[124,545,359],{"class":151},[124,547,478],{"class":151},[124,549,481],{"class":151},[124,551,552],{"class":151}," --system\n",[49,554,555,556,558],{},"The user level runs as you, so ",[67,557,76],{}," and the config keep working.",[44,560,562],{"id":561},"system-tray","System tray",[49,564,565,566,568],{},"While ",[67,567,338],{}," runs, a tray icon shows the available balance and the active Quick SMS and rental numbers, and\nlets you:",[570,571,572,575,583,586,589,595],"ul",{},[64,573,574],{},"copy a number, an SMS code or the full message;",[64,576,577,578,582],{},"get a desktop notification on a new SMS (the code is copied automatically) — toggle ",[579,580,581],"strong",{},"Notify on SMS",";",[64,584,585],{},"cancel a Quick SMS order;",[64,587,588],{},"install the Cursor \u002F VS Code client config;",[64,590,591,592,582],{},"toggle ",[579,593,594],{},"Start at login",[64,596,597,77],{},[579,598,599],{},"Quit MCP",[49,601,602,605,606,87,609,612,613,616,617,620],{},[67,603,604],{},"--no-tray"," runs headless (SSH, CI). On Linux the tray needs a desktop session (",[67,607,608],{},"DISPLAY",[67,610,611],{},"WAYLAND_DISPLAY",") and the\nGTK \u002F AppIndicator libraries (",[67,614,615],{},"libgtk-3",", ",[67,618,619],{},"libayatana-appindicator3","); the Linux release binaries are headless.",[44,622,624],{"id":623},"network-safety","Network safety",[49,626,627,628,631,632,635,636,145],{},"The MCP endpoint has ",[579,629,630],{},"no authentication",": anyone who can reach it can spend your balance. It binds to\n",[67,633,634],{},"127.0.0.1:8787"," and refuses other addresses unless you pass ",[67,637,638],{},"--allow-remote",[115,640,642],{"className":346,"code":641,"language":348,"meta":120,"style":120},"onlinesim mcp --bind 0.0.0.0:8787 --allow-remote\n",[67,643,644],{"__ignoreMap":120},[124,645,646,648,650,652,655],{"class":126,"line":12},[124,647,356],{"class":355},[124,649,359],{"class":151},[124,651,497],{"class":151},[124,653,654],{"class":151}," 0.0.0.0:8787",[124,656,657],{"class":151}," --allow-remote\n",[49,659,660,661,664],{},"Do that only behind your own HTTPS and access control (a reverse proxy with auth, a VPN). Requests with a ",[67,662,663],{},"Host"," header\nother than the bind address and loopback are rejected.",[666,667,668],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":120,"searchDepth":17,"depth":17,"links":670},[671,672,673,674,675,676,677],{"id":46,"depth":17,"text":47},{"id":94,"depth":17,"text":95},{"id":274,"depth":17,"text":275},{"id":332,"depth":17,"text":333},{"id":402,"depth":17,"text":403},{"id":561,"depth":17,"text":562},{"id":623,"depth":17,"text":624},"API key, config file and environment, logs, autostart, the system tray and network safety of onlinesim mcp.","md",{},{"order":32},{"title":29,"description":678},"ul12JH6wsoMSrpVXQ6rRh7IKQLBWmO0EsMA9Mtt2I4U",[685,687],{"title":14,"path":15,"stem":16,"description":686,"order":17,"children":-1},"Point Cursor, Claude Code, VS Code Copilot, Codex, Claude Desktop or any Streamable HTTP MCP client at onlinesim mcp.",{"title":9,"path":10,"stem":11,"description":688,"order":12,"children":-1},"Install the onlinesim binary on macOS, Linux or Windows, or let your agent do it with the agent skill.",1795176760307]