netrun_whoami
Netrun account
The plan, how many projects are available and how much free running time bots have left.
無需輸入參數。

io.netrun由 netrun.io 發布官方發布者v0.4.0更新於 Oct 30, 2026
Publish websites and Telegram bots to Netrun — upload a folder from your editor, get a URL
Netrun 讓助理從編輯器部署網站與機器人(Telegram、Discord):上傳專案資料夾、等待建置並回傳公開網址。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.netrun%2Fnetrun/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"netrun": {
"type": "http",
"url": "https://api.netrun.io/v1/mcp"
}
}
}Publish websites and Telegram bots to Netrun — upload a folder from your editor, get a URL.
Connect Netrun to your AI editor and just ask: “publish this bot”. The agent uploads your code folder and sends back the link. MCP is the common way to connect external services to AI editors. With Netrun connected, you tell the agent in chat that you want the project online: it uploads the code folder, asks for a token if the code needs one, waits for the build and gives you the link. Works in Cursor, Claude Code, Codex, Claude Desktop, VS Code and Windsurf, and in ChatGPT and Claude right in the browser.
Publish this bot to Netrun
I fixed the greeting — update the project
Why is the bot silent? Check the logs
Change the bot token and restart
~/.cursor/mcp.json.claude mcp add netrun -s user -e NETRUN_API_KEY=nru_… -- npx -y netrun-mcp@latestcodex mcp add netrun --env NETRUN_API_KEY=nru_… -- npx -y netrun-mcp@latestNode.js has to be installed — AI editors usually ship with it.
Netrun also runs as a remote MCP server: https://api.netrun.io/v1/mcp (Streamable HTTP, OAuth sign-in). In the chat settings open connections (Connectors or Apps), add a custom one with this address and press Connect. You sign in to Netrun by email — no key needed. ChatGPT allows custom connections on paid plans — turn on developer mode in the settings. Claude allows them on every plan, one on the free plan. The agent takes the code right from the conversation; a large multi-file project is easier to publish from an editor.
This package is a thin courier: it zips the folder (honouring .gitignore), sends it to the Netrun API with your key, and asks for status and logs. Building, running, HTTPS and addresses all happen on Netrun.
Environment variables: NETRUN_API_KEY (required), NETRUN_API_URL (default https://api.netrun.io/v1), NETRUN_APP_URL (default https://netrun.io).
io.netrun/netrunMIT
來源:README.md,提交 2581702
Netrun account
The plan, how many projects are available and how much free running time bots have left.
無需輸入參數。
List Netrun projects
All projects of the account with URLs and state.
無需輸入參數。
Project status
Is the project running, its URL, what blocks it, which secrets are already set and why the last publish failed. It also lists the names of the secrets already saved; their values are never returned.
project_id必填Project logs
Last lines of the application output — the first place to look when a bot goes silent. Most failures name their cause in the last lines.
linesproject_id必填Publish to Netrun
Uploads a project folder and puts it online — a new project or a new version of an existing one. Detects the stack (Python, Node, Go, Rust, PHP, static HTML, Docker, docker-compose), asks for missing secrets, waits for the build and returns the URL or the failure reason. A new project takes a name; an existing one is updated by project_id. When the code needs secrets that are not set yet, the result is needs_secrets with their names, and values go in “secrets”. A build takes 1-5 minutes.
namepath必填waitcommentsecretsproject_idskip_secretswait_secondsSet project secrets
Saves tokens and API keys as environment variables (stored encrypted) and re-publishes so the app picks them up. Values are write-only and are never returned.
filepublishsecrets必填project_id必填Custom domain
Points your own domain at the site and checks whether the registrar settings have taken effect. Until they have, it shows which records to add. The result lists the DNS records to add at the registrar; action "check" verifies them. Records take minutes to hours to spread. Custom domains need a paid plan and a website (bots have no address). Removing a domain is only available in the dashboard.
actiondomainproject_id必填Public link
Decides whether the project gets a public HTTPS address — for example a webhook bot we took for a background program. Re-publishes the project; the link appears if the app answers requests from the internet. Netrun guesses from the code whether a project needs an address, and a webhook bot or an API can look like a background program. needed=true gives the project a URL, needed=false removes it; the choice survives later code updates. The project is re-published (a short restart). The link appears only if the app listens on 0.0.0.0 on the port from the PORT environment variable; otherwise the project keeps running in the background without a link. The URL is not registered with the bot platform automatically (for Telegram that is setWebhook).
waitneeded必填project_id必填wait_secondsStart / stop / restart
Start, stop or restart a project. On the Free plan a bot’s free running time is counted only while it runs.
action必填project_id必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
{ "mcpServers": { "netrun": { "command": "npx", "args": ["-y", "netrun-mcp@latest"], "env": { "NETRUN_API_KEY": "nru_…" } } }}