Linux System MCP SSE Server

Linux System MCP SSE Server

0

The Linux System MCP SSE Server by aimiox is a lightweight agent for Ubuntu 22.04+ that exposes system and network data via SSE to be used with OpenAI or compatible MCP clients. It functions on a local network or through a VPN and supports various telemetry features and logs.

๐Ÿ–ฅ๏ธ Linux System MCP SSE Server

The aimiox Linux System MCP SSE Server is a lightweight agent for exposing system telemetry, logs, and network information via SSE. It's designed for Ubuntu 22.04+ and integrates seamlessly with the OpenAI Agents SDK or any compatible MCP client.

โš ๏ธ Note: This server does not support HTTPS and is intended for use on trusted local networks or over a secure VPN connection.

โœจ Features

โœ… Zero-config startup on modern Ubuntu systems (22.04+)

๐Ÿ“ก Exposes system info (CPU, memory, uptime, processes, etc.)

๐Ÿ“ Reads logs from journalctl or custom sources

๐ŸŒ Reports on IP addresses, interfaces, and ports

๐Ÿค– Compatible with OpenAI Assistant's MCPServerSse

๐Ÿš€ Quick Start

Simply download mcp_ubuntu_system binary and run :

$ mcp_ubuntu_system

โš™๏ธ Server Arguments

OptionEnv VariableDefaultDescription
--ipMCP_LINUX_IP0.0.0.0IP to bind the server to
--portMCP_LINUX_PORT8003Port to listen on

๐Ÿงช Test with CLI Client

To test the SSE server locally or remotely using the OpenAI Agents SDK, use the included linux_mcp_cli.py.

1. Set Your API Key

Create a .env file in the project root and add:

OPENAI_API_KEY=your-openai-key-here

2. Set the MCP Endpoint

Edit the following line in linux_mcp_cli.py:

MCP_LINUX_URL = "http://<mcp_ip_address>:<mcp_port>/sse"

Replace <mcp_ip_address> and <mcp_port> with your actual server values.

3. Run the Client

pip install openai-agents
python3 linux_mcp_cli.py

4. Interact with the Agent

The client will connect to the SSE server and allow you to chat with the Linux System Agent.

๐Ÿ“ž Support

For questions, issues, or contributions, open an issue on github.com/aimiox/mcp, or