Back to Home
kirha-ai icon

iowrapper

by kirha-ai

Overview

Wraps stdio-based programs, particularly MCP servers, and exposes them as an HTTP JSON-RPC API.

Installation

Run Command
docker run -p 8222:8222 -e CLI_TOOL_COMMAND="npx" -e CLI_TOOL_ARGS="-y @modelcontextprotocol/server-memory" ghcr.io/kirha-ai/iowrapper:latest

Environment Variables

  • CLI_TOOL_COMMAND
  • CLI_TOOL_ARGS
  • SERVER_PORT

Security Notes

The application executes arbitrary commands specified via the `CLI_TOOL_COMMAND` and `CLI_TOOL_ARGS` environment variables. This mechanism introduces a significant remote code execution (RCE) risk if these environment variables are not strictly controlled and secured. There is no explicit sanitization or validation of the command or its arguments within the provided source code. If deployed in an untrusted environment or with vulnerable configuration, this could allow an attacker to execute arbitrary code on the host system.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens250
Stars0
Forks0
Last Update2025-11-20

Tags

stdio wrapperHTTP APIJSON-RPCMCPGo