Skip to main content
Glama

iowap-client-mcp

MCP toolkit for IOWAP: run a curated IOWAP toolset from any MCP-speaking agent — without teaching every agent the node CLI's pitfalls.

The problem

IOWAP is a distributed capability mesh: the relay routes tasks, nodes execute them. Today, an AI agent that wants to use IOWAP shells out to iowap-cli --json. That works, but every agent has to relearn the same pitfalls itself: response envelopes that must be unwrapped, node IDs vs. names, the global flag position, which commands are safe and which mutate the node. Knowledge ends up in one agent's skill file instead of in code.

Related MCP server: ChatGPT Gateway MCP Nyan

The answer

iowap-mcp is an MCP stdio server that wraps iowap-cli behind a small, curated toolset:

Tool

Purpose

relay_status

Relay health, queue depth, task counters

node_list

Fleet overview (IDs, status, capabilities, load)

capabilities_list

What the relay can do — including input schemas and the node IDs that own each capability

task_list

Filtered task query (submitted_by, owner_node_id, status csv, created window) — compact rows, newest-first, first limit (default 50)

task_submit

Submit a task against a capability (optional short wait)

task_result

Poll a task result

artifact_download

Fetch a task artifact to a local path

artifact_link

Create a short-lived signed download URL for a task artifact (T-033)

docs

Read the live relay documentation

The node CLI remains the source of truth for authentication and execution — the server adds zero credential handling of its own. Destructive commands (register, update, daemon control, capability publishing) are deliberately not exposed.

Trust model: whoever can launch iowap-mcp on the host acts with the host's node identity — an MCP client spawning this server is a trusted executor. Environment filtering of the stdio subprocess is host behavior; the package relies on the node's on-disk identity and enforces none of it itself.

Narrowable execution: operators can restrict which capabilities task_submit may fire with IOWAP_ALLOW_CAPS=cap.one,cap.two (csv env, unset means all) — with hermes mcp add that is an --env line away. artifact_download writes a file: an existing path is refused unless overwrite: true states the replacement explicitly.

Scope is one host: the server binds the local node to local MCP clients. POSIX host (Linux/macOS) — no Windows support.

Scope: stdio / local agents only (T-037)

iowap-client-mcp is the local-agent path: stdio is the default and only transport (spawned by the MCP client on the same host, no env, no port).

Container-HTTP lives in iowap-node-mcp (T-037 package split): the Streamable HTTP /mcp surface with Bearer auth (IOWAP_MCP_BEARER, fail closed — the former iowap-mcp --http, T-004) moved into the container-MCP package iowap-node-mcp (subdirectory mcp/ — the package code lives in the universal-node flavour repo, not in its own repo), which imports this package's toolset as a library. If your node runs in a container (Docker Desktop topology), the image already installs iowap-node-mcp and its entrypoint starts iowap-node-mcp on port 7781; point the MCP client at http://127.0.0.1:7781/mcp with the Bearer token — local MCP-client configs (command: iowap-mcp) remain unchanged.

Install

pip install "iowap-client-mcp[mcp]"

…or let the local node install it: iowap-cli mcp install (own venv, client-neutral, PyPI registry). Requires a node installation of IOWAP on the same host (see iowap-node) — the server shells out to the installed iowap-cli. Both wheels are regular PyPI packages: iowap-cli update check/apply keeps node and toolkit current together (toolkit upgrades need no service restart — the server process reloads on the next client spawn).

Wire it into an MCP client

Example for Hermes Agent (~/.hermes/config.yaml):

mcp_servers:
  iowap:
    command: "iowap-mcp"

Or: hermes mcp add iowap --command iowap-mcp

Any other MCP client uses the equivalent stdio spawn (command = iowap-mcp). Tested with Hermes Agent (hermes mcp add + /reload-mcp, live against a running relay) and Codex (OpenAI) — same stdio command, zero per-client code.

Development

python -m venv .venv && .venv/bin/pip install -e ".[mcp,dev]"
.venv/bin/pytest

License

MIT — see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agent clients to safely connect to tools and execution resources through MCP with authorization, approvals, audit, chat-context isolation, SSH/Docker access, and long-running command session tracking.
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Enables AI agents to create and control persistent terminal sessions, run and monitor asynchronous jobs, page through ordered event history, and resolve registered device connection details without exposing stored secrets. Exposes 15 MCP tools over stdio that mirror a REST API, keeping session state alive independently of the agent that started it.
      15
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants and MCP clients to execute commands, copy/move files, manage background jobs and port forwarding, and optionally view and control remote screens using scoped, expiring agent tokens.
      16 npm
      1
      MIT