Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
porterminal — Quick n' dirty web/mcp terminal tunneling your phone & pc | Kitploit
Tools/GitHubGitHub/lyehe/porterminal
Web Proxies & InterceptionPenetration TestingCommand and ControlUtilities & FrameworksRed TeamingRemote Access Tool
GitHublyehe/porterminal

porterminal

Quick n' dirty web/mcp terminal tunneling your phone & pc

View Repository
29694514 days agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

PTN — Portable Terminal with decorative QR artwork.

Give your agent any computer

One command. One URL. A real terminal for your agent, a live view for you.

PyPI Python CI License

Run Porterminal on a Windows, macOS, or Linux computer and give the generated link to your AI agent. It gets a real shell with the files, tools, and projects on that machine. Open the same link on your phone or in any browser to watch the agent work and type into its terminal.

Start here

On the computer you want to give your agent:

uvx ptn
  1. Give the agent the link. Press c in the local Porterminal window to copy the URL and connection instructions. Paste them into your agent with a task. The agent needs remote MCP support or a way to make HTTP requests.
  2. Open your view. Scan the QR code or open the complete URL in a browser. Select the agent's 🤖 tab to see its terminal.
  3. Work together. Watch the output, answer an interactive prompt, type a command, or close the tab to end that shell.
  4. Access your computer from any phone. Use your phone's browser for vibe coding, quick fixes, running commands, and more.

To start in a particular project, use uvx ptn /path/to/project. For installation options, see installation, or use an installer below.

The link is the key to the computer. The complete URL and QR code grant shell access. Share them only with people and agents you trust. Read the security model.

The agent works. You stay in the loop.

Your agentYou
Runs commands in the computer's real shellWatches the same output live in a browser
Reads terminal screens and answers promptsTypes into the same terminal when needed
Keeps shell state across tool callsSwitches between agent and personal tabs
Uses MCP or HTTP to connectUses the QR code or URL from a phone or desktop

Terminal input is shared; coordinate typing with your agent. Porterminal supports interactive terminal apps, multiple tabs, and reconnecting to running sessions while the server and session remain alive.

The phone UI includes Ctrl/Alt/Shift keys, touch selection, scrolling, pinch-to-zoom, and a compose field for editing or dictating longer input. See terminal controls.

Try the demo

Give an agent a small invoice project with a failing check. Watch it find the bug, edit the file, and turn the checks green. Then answer the receipt's label prompt from your phone and have the agent read the result.

The demo guide includes a ready-to-copy project, an agent task, and a 60-second recording plan. It demonstrates commands, file changes, verification, and human input in one shared session.

Connect your agent

Pressing c copies instructions for the available connection methods. The running server also serves them at <url>/llms.txt.

Here, <url> is the complete generated URL, including its access code.

Agent capabilityConnection
Remote MCP<url>/mcp — Streamable HTTP
HTTP requests<url>/api/agent/run — REST
Browser automationOpen <url>/; use Terminal screen and Terminal input

MCP exposes four tools: run_command, read_screen, send_keys, and send_signal. REST returns a session_id that the agent reuses for subsequent commands and interaction. Agent shells appear as 🤖 tabs in your browser.

See agent access for client setup, request examples, session lifetimes, and long-running commands.

Install

Requires Python 3.12+. Porterminal attempts to install cloudflared automatically when it is missing.

MethodRun or installUpdate
uvxuvx ptnuvx --isolated ptn@latest
uv tooluv tool install ptnuv tool upgrade ptn
pipxpipx install ptnpipx upgrade ptn
pippip install ptnpip install -U ptn

Install uv and Porterminal together:

Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/porterminal/porterminal/master/install.ps1 | iex"

macOS / Linux:

curl -LsSf https://raw.githubusercontent.com/porterminal/porterminal/master/install.sh | sh

Usage

After installing, run ptn or ptn /path/to/project.

OptionPurpose
--no-tunnelRun without a Cloudflare tunnel
--mcp-onlyExpose MCP only; disables the QR code, browser terminal, and REST API
--composeStart with the mobile compose field enabled
--initGenerate .ptn/ptn.yaml with buttons discovered from project scripts
--passwordAdd a password to browser terminal access
--helpShow all options
--versionShow the installed version

While running: c copies the agent instructions, u copies only the URL, and s shows the share text on screen (q closes it). Ctrl+C stops Porterminal. In MCP-only mode the share keys use the MCP URL.

Custom shells, toolbar buttons, and startup settings live in ptn.yaml. See configuration.

Security

Porterminal gives access to a real shell with your user's permissions. The starting directory is a convenience, not a sandbox or a limit on file access.

Each launch creates a new 128-bit random access path. The bare tunnel hostname and wrong paths return 404, but anyone with the complete URL can use the shell. Keep the URL and QR code private, stop Porterminal when finished, and restart it to rotate the access code if the link leaks.

The optional password protects browser connections. MCP and REST use the complete URL as their credential and do not require that password.

See security for the full model and password behavior. Report vulnerabilities through the security policy.

Documentation and development

Download Tool