podkop-mcp

v0.3.0
io.github.mikel38487/podkop-mcp Checked 1 day ago Published 21 days ago

MCP server for managing Podkop and Forkop on OpenWrt over SSH

Values you need

VariableWhat it is
PODKOP_MCP_SSH_HOSTrequired Router address
PODKOP_MCP_SSH_USERoptional SSH user (root on OpenWrt)
PODKOP_MCP_SSH_KEY_PATHoptional Path to the private SSH key
PODKOP_MCP_HOST_KEY_POLICYoptional reject (default), accept-new or ignore
PODKOP_MCP_READ_ONLYoptional 1 blocks all writes

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add podkop-mcp -e 'PODKOP_MCP_SSH_HOST=<PODKOP_MCP_SSH_HOST>' -- uvx podkop-mcp==0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "podkop-mcp": {
      "args": [
        "podkop-mcp==0.3.0"
      ],
      "command": "uvx",
      "env": {
        "PODKOP_MCP_SSH_HOST": "<PODKOP_MCP_SSH_HOST>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "podkop-mcp": {
      "args": [
        "podkop-mcp==0.3.0"
      ],
      "command": "uvx",
      "env": {
        "PODKOP_MCP_SSH_HOST": "<PODKOP_MCP_SSH_HOST>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PODKOP_MCP_SSH_HOST",
      "id": "podkop-mcp-ssh-host",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "podkop-mcp": {
      "args": [
        "podkop-mcp==0.3.0"
      ],
      "command": "uvx",
      "env": {
        "PODKOP_MCP_SSH_HOST": "${input:podkop-mcp-ssh-host}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.podkop-mcp]
command = "uvx"
args = ["podkop-mcp==0.3.0"]
env = { "PODKOP_MCP_SSH_HOST" = "<PODKOP_MCP_SSH_HOST>" }

For AI agents

  1. Ask the user for: PODKOP_MCP_SSH_HOST. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: podkop_doctor, podkop_status, podkop_core_features, podkop_import_check, podkop_installer_status, podkop_installer_log, podkop_system_info, podkop_health, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json