EN
MCP AI PlugIn Tunnel Manager
DOCUMENTATION

From zero to connected.

A practical guide to setting up a local MCP workspace, validating the complete chain, starting the secure tunnel, and diagnosing the most common failures.

Install and prepare the machine

The desktop application manages the operational layer, but the local MCP runtime it starts still needs to exist on the machine.

01

Install Tunnel ManagerUse the signed Windows installer once the public stable release is available. The landing page and release endpoint will expose the same version metadata.

02

Prepare the MCP runtimeInstall the runtime required by your target MCP server. For Serena-based projects, make sure the Serena command can be resolved from the environment used by Tunnel Manager.

03

Keep the project localYour source project remains on the machine. Tunnel Manager only coordinates the local MCP process and secure tunnel connection.

Create a profile

A profile is the reusable connection definition for one MCP workspace. Keep one profile per project/runtime combination so validation and runtime state remain unambiguous.

Recommended profile fields

A

Project folderThe local workspace that the MCP server should operate against.

B

MCP target commandThe command Tunnel Manager starts, for example a Serena MCP server for the selected project.

C

Tunnel identity and runtime keyUse the values issued for the OpenAI secure tunnel workflow. Sensitive values should be stored only in the local control layer.

Do not duplicate profiles just to recover from a failed key load. Fix the stored credential state and revalidate the existing profile instead.

Validate before start

Validation should be treated as a required preflight step. A healthy profile must pass configuration, credential, tunnel identity, MCP target, and local runtime checks before the Start action becomes available.

Profile configuration PASS Runtime API key PASS Tunnel ID PASS MCP target PASS Local runtime READY
If a process is already running, state-aware controls should prevent a second Start operation. Stop or restart the existing process instead of launching another copy.

Connect ChatGPT

Once validation passes, start the profile. Tunnel Manager starts the configured local MCP process, establishes the secure tunnel, and exposes the connection state in the desktop UI.

01

Start the validated profileWait until both the MCP runtime and tunnel show a healthy running state.

02

Open ChatGPT connector settingsSelect or reconnect the MCP connector associated with the tunnel.

03

Watch AI activityWhen ChatGPT invokes a local MCP tool, Tunnel Manager should transition from Connected/Standby to AI Active and stream the corresponding runtime logs.

Serena project setup

For Serena-backed projects, keep project-level behavior in the project’s .serena directory and machine-specific overrides in project.local.yml.

.serena/ ├── project.yml # versioned project configuration └── project.local.yml # machine-specific overrides

Trusted project requirement

Serena only runs a project activation_command when the project path is trusted by the global Serena configuration. Prefer trusting the exact project path or a narrow development directory instead of using a global ** rule.

trusted_project_path_patterns: - /home/your-user/dev/your-project

Troubleshooting

Start with the visible validation state, then inspect the streaming logs. The problem is usually isolated to one layer of the chain.

API key missing or duplicated

Confirm the profile loads the existing stored key before adding another one. Revalidate after any credential change.

Tunnel ID invalid

Verify the tunnel belongs to the intended environment and that the profile is not reusing an obsolete identifier.

Workspace not found

Confirm the project folder exists on the machine where the MCP runtime actually runs. Remote Linux workspaces must use a path valid on that Linux host.

Serena not installed or command not found

Run the configured MCP target manually in the same user environment. Fix PATH/runtime installation before retrying Tunnel Manager.

Project not trusted

Add the exact project path to Serena’s global trusted_project_path_patterns, then restart the Serena/tunnel process so the new global configuration is loaded.

Port already in use

Identify the existing process first. Avoid starting duplicate servers; either reuse the healthy process or stop the stale process and restart the profile.

Tunnel disconnected

Check local network reachability, profile credentials, and tunnel state. If auto recovery is enabled, verify whether the reconnect attempt is progressing in the live log.

Button appears inactive

Check the current state. Start should be disabled while a process is already starting or running; Validate may also be unavailable during incompatible transitions.