Server Watch

by BrennerSpear

297 downloads Not rated yet
GitHub

About

# server-watch-mcp A straight-forward CLI wrapper that monitors and captures output from any running command and exposes it as an MCP server. Perfect for development workflows where you need to access server logs, build output, or any process output. ![Run server](./assets/run_server.png) ![Claude…

Explore

- HTTP-based MCP server - Run as a standalone service that clients can connect to
- Real-time log capture - Captures stdout and stderr from any command
- Circular buffer storage - Maintains last 5000 log entries in memory
- Two MCP tools:
- get_logs - Retrieve recent logs with optional filtering by stream type
- search_logs - Search through logs with case-insensitive substring matching

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Server Watch
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

npm install -g server-watch-mcp

SERVER_WATCH_MCP_PORT - Override the default port (6280)

bash
SERVER_WATCH_MCP_PORT=6281 server-watch-mcp npm run dev
```

pnpm install

Once connected, you can use these tools:

- Get recent logs: "Show me the last 50 logs from stderr"
- Search logs: "Search for any errors in the logs"
- Monitor output: "What's happening with my dev server?"

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "server watch": {
            "server-watch-mcp": {
                "command": "echo",
                "type": "sse",
                "url": "http://localhost:6280/sse"
            }
        }
    }
}

McpServers

{
    "server-watch-mcp": {
        "command": "echo",
        "type": "sse",
        "url": "http://localhost:6280/sse"
    }
}

A straight-forward CLI wrapper that monitors and captures output from any running command and exposes it as an MCP server. Perfect for development workflows where you need to access server logs, build output, or any process output.

Run server

Claude Code

Features

- HTTP-based MCP server - Run as a standalone service that clients can connect to
- Real-time log capture - Captures stdout and stderr from any command
- Circular buffer storage - Maintains last 5000 log entries in memory
- Two MCP tools:
- get_logs - Retrieve recent logs with optional filtering by stream type
- search_logs - Search through logs with case-insensitive substring matching

Installation

```bash
npm install -g server-watch-mcp

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.