explaingit

perceivingai/portus-mcp

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

An MCP server that lets AI assistants like ChatGPT and Codex directly read, write, and run code on your local or remote machines.

Mindmap

mindmap
  root((Portus MCP))
    What it does
      Bridges AI to machines
      Registers project folders
      Runs commands and edits
    Tech stack
      TypeScript
      Node.js
      MCP protocol
    Use cases
      Remote code editing
      Multi machine AI sessions
      Tunneled remote access
    Audience
      Developers
      AI power users
    Setup
      Node 20 required
      Env var project list
      Optional tunnel exposure

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let ChatGPT or Codex read, edit, and run code directly on your local computer.

USE CASE 2

Connect one AI conversation to several registered machines or virtual machines at once.

USE CASE 3

Expose a local MCP server to a hosted AI client using a tunnel like Tailscale Funnel.

USE CASE 4

Restrict what an AI agent can touch using per-project permission and path policies.

What is it built with?

TypeScriptNode.jsMCP

How does it compare?

perceivingai/portus-mcp0xradioac7iv/tempfsabboskhonov/hermium
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Node.js 20+, and remote access requires setting up a tunnel like Tailscale Funnel.

In plain English

Portus MCP is a server that lets AI assistants like ChatGPT and Codex reach out and actually work on code on your local machine or on remote virtual machines, instead of just generating text in a chat window. MCP stands for Model Context Protocol, a standard way for AI tools to connect to external capabilities. Portus MCP acts as that bridge. You run it on any machine you want an AI to be able to access, register the project folders you want it to work in, and then point your AI client at the server's address. From that point the AI can read and write files inside those projects, run commands, and perform real development work directly on your machine. You can run Portus MCP on multiple machines at the same time, for example your local PC, a Linux virtual machine, and a remote workstation, and connect an AI client to all of them in the same conversation. The setup uses a simple environment variable to list which project folders are registered, and optionally a bearer token for clients that support authentication. For remote access from a hosted AI service, the README recommends exposing the local server using a tunnel tool like Tailscale Funnel or a similar exposure layer. The server enforces permission policies that restrict what paths the AI can touch, along with caps on input and output sizes. An optional spawned agent mode exists for delegated work, though the README notes this is not a hard filesystem sandbox and only commands you are comfortable granting should be allowed. The project is written in TypeScript and requires Node.js 20 or newer. The README does not state a license for this project.

Copy-paste prompts

Prompt 1
Help me install Portus MCP and configure my first project with PORTUS_MCP_PROJECTS.
Prompt 2
Explain how Portus MCP's permission policies restrict what an AI agent can access.
Prompt 3
Walk me through exposing my local Portus MCP server with Tailscale Funnel.
Prompt 4
How do I register multiple machines so one AI client can work across all of them?

Frequently asked questions

What is portus-mcp?

An MCP server that lets AI assistants like ChatGPT and Codex directly read, write, and run code on your local or remote machines.

What language is portus-mcp written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, MCP.

How hard is portus-mcp to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is portus-mcp for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.