Skip to main content
Glama

mcp-akiko-proxy

MCP-stdio-Proxy über SSH, der entfernte MCP-Server (gebunden an localhost auf einem Remote-Rechner) als Tools auf dem lokalen Rechner bereitstellt.

Er richtet SSH-Tunnel über Ihren vorhandenen ~/.ssh/config-Host-Alias ein, verbindet sich über streamable-http durch den Tunnel mit den entfernten MCP-Servern und stellt deren Tools aggregiert hinter einem lokalen stdio-MCP-Server bereit.

Standardziele (konfigurierbar):

Name

Lokaler Port

Remote-URL

Stellt bereit

blender

8001

http://127.0.0.1:8001/

Blender MCP (blender-mcp-Daemon auf dem Remote)

qgis

8000

http://127.0.0.1:8000/mcp

QGIS MCP (qgis-mcp-Daemon auf dem Remote)

Sanfte Degradierung

Wenn der Tunnel nicht verfügbar ist oder ein Backend nicht erreichbar ist, verschwinden die Tools dieses Backends aus tools/list (oder ihre Aufrufe geben einen klaren Fehler zurück). Der Proxy läuft weiter und versucht regelmäßig erneut – er stürzt nie ab, weil ein Backend fehlt.

Related MCP server: Bonsai MCP

Verwendung

# run (stdio; opencode/claude/any MCP client will spawn it):
npx -y github:gbastkowski/mcp-proxy
# or clone + npm install + npm start

Konfiguration (Umgebungsvariablen)

Variable

Standard

Zweck

MCP_PROXY_HOST

akiko

SSH-Host-Alias aus ~/.ssh/config

MCP_PROXY_TUNNELS

blender+qgis-Standard

JSON [{ name, localPort, remotePort, url }]

MCP_PROXY_TUNNEL_RETRY_MS

15000

Wiederverbindungs-/Wiederholungsintervall für tote Backends

MCP_PROXY_CONNECT_TIMEOUT_MS

10000

Wartezeit auf einen Tunnel-/Backend-Port

MCP_PROXY_SSH_TIMEOUT_MS

5000

ssh ConnectTimeout

MCP_PROXY_NO_TUNNEL

nicht gesetzt

truthy: ssh überspringen, direkt mit localhost sprechen (Test)

Beispiel: opencode auf einem Macbook mit Blender+QGIS auf der akiko-Box

{
  "mcp": {
    "akiko": {
      "type": "local",
      "command": ["npx", "-y", "github:gbastkowski/mcp-proxy"]
    }
  }
}

Führen Sie MCP_PROXY_HOST=akiko npx -y github:gbastkowski/mcp-proxy aus – der Host wird aus Ihrer normalen ssh-Konfiguration gelesen, Schlüssel aus Ihrem Agent.

Anforderungen

  • Node >= 18

  • ssh mit einem konfigurierten Host-Alias für den Remote-Rechner + funktionierende Schlüsselauthentifizierung

  • Auf dem Remote: Die Ziel-MCP-Server müssen an 127.0.0.1 gebunden sein (sie sind nicht im Netzwerk exponiert; der SSH-Tunnel ist die einzige Brücke)

Lizenz

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables remote Docker management over SSH via a local MCP server, providing tools to manage containers, images, Compose, and system resources.
    1
    GPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    Connects MCP clients to a local Blender + Bonsai (BlenderBIM) session for scene inspection, IFC project querying, viewport screenshots, and executing Python code in Blender.
    8
    8
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Local SSH credential broker and stdio MCP server that enables AI clients to perform SSH and SFTP operations via stable server_id aliases without exposing passwords, private keys, or passphrases.
    7 npm
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables remote control of Blender through MCP, allowing code execution, scene manipulation, rendering, and file transfer in a containerized environment.
    1
    -