Netrun

Publish websites and Telegram bots to Netrun — upload a folder from your editor, get a URL

OtherTypeScriptv0.3.0

netrun-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

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

Setup (one minute)

  1. Sign in at netrun.io → MCP (https://netrun.io/mcp) → create an access key.
  2. Connect your editor. The MCP page gives you a ready button or command with the key already inside; the generic form is:
{
  "mcpServers": {
    "netrun": {
      "command": "npx",
      "args": ["-y", "netrun-mcp"],
      "env": {
        "NETRUN_API_KEY": "nru_…"
      }
    }
  }
}
  • Cursor — click Add to Cursor on the MCP page, or put the JSON above into ~/.cursor/mcp.json.
  • Claude Code — claude mcp add netrun -s user -e NETRUN_API_KEY=nru_… -- npx -y netrun-mcp
  • Codex — codex mcp add netrun --env NETRUN_API_KEY=nru_… -- npx -y netrun-mcp
  • Claude Desktop, VS Code, Windsurf — the JSON above in the MCP servers config.

Node.js has to be installed — AI editors usually ship with it.

What the agent can do

ToolWhat it does
netrun_publishUploads 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.
netrun_statusIs the project running, its URL, what blocks it and why the last publish failed.
netrun_logsLast lines of the application output — the first place to look when a bot goes silent.
netrun_set_secretsSaves tokens and API keys as environment variables (stored encrypted) and re-publishes so the app picks them up.
netrun_controlStart, stop or restart a project.
netrun_list_projectsAll projects of the account with URLs and state.
netrun_whoamiThe plan, how many projects are available and how much free running time bots have left.

What it deliberately cannot do

  • The agent cannot pay, renew a plan or buy places — you do that in the dashboard.
  • It cannot delete projects or files from persistent storage either — anything irreversible stays with you.
  • If the code needs a token or a password, the agent asks you before publishing — it never makes values up.
  • The access key lives only in your editor config; you can revoke it in the dashboard at any time.

How it works

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).

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y netrun-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-fadeynotchenko-netrun": {
      "command": "npx",
      "args": [
        "-y",
        "netrun-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

netrun-mcpnpm

Compatible MCP Clients

Netrun works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More