Basic information
About Server Watch MCP Server
# server-watch-mcp
Server Watch is a MCP server in the Other category listed in the AddMCP.net directory, published by BrennerSpear. It exposes 2 tools, including get_logs, search_logs. Supported transport: stdio. License: ISC. Source code is hosted on github.com. Related topics: cli-tool, log-monitoring, server-watch.
Setup
claude mcp add server-watch-mcp --transport http http://localhost:6280/sse
[mcp_servers.server-watch-mcp] url = "http://localhost:6280/sse"
{
"mcpServers": {
"server-watch-mcp": {
"url": "http://localhost:6280/sse"
}
}
}
{
"servers": {
"server-watch-mcp": {
"type": "http",
"url": "http://localhost:6280/sse"
}
}
}
Server Watch MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"server-watch-mcp": {
"command": "echo",
"type": "sse",
"url": "http://localhost:6280/sse"
}
}
}
Server Watch MCP Server tools
- get_logs — supports optional filtering by stream type
- search_logs — supports case-insensitive substring matching
Overview
What is Server Watch?
Server Watch is a CLI wrapper that wraps any running command, captures its stdout and stderr output, and exposes that output as an MCP server via HTTP/SSE. It is designed for development workflows where you need to view and search server logs, build output, or process output in real time.
How to use Server Watch?
Install globally with npm install -g server-watch-mcp. Then wrap your command, e.g., server-watch-mcp npm run dev. The server starts on port 6280 (or the SERVER_WATCH_MCP_PORT environment variable). Add the MCP server to Claude Code with claude mcp add -s user -t sse server-watch-mcp http://localhost:6280/sse.
Key features of Server Watch
- HTTP-based MCP server running as a standalone service
- Real-time capture of stdout and stderr from any command
- Circular in-memory buffer storing the last 5000 log entries
- Two MCP tools:
get_logsandsearch_logs get_logssupports optional filtering by stream typesearch_logssupports case-insensitive substring matching
Use cases of Server Watch
- Monitor a local development server (e.g.,
server-watch-mcp next dev) - Watch a build process in watch mode (e.g.,
server-watch-mcp npm run build:watch) - View logs from any command (e.g.,
server-watch-mcp python app.py) - Ask Claude to search for errors or specific output without leaving the editor
Frequently asked questions
1 What port does Server Watch use?
The default port is 6280. You can override it by setting the SERVER_WATCH_MCP_PORT environment variable.
2 How many log entries are kept?
The server maintains a circular buffer of the last 5000 log entries in memory.
3 Can I filter or search logs?
Yes. The get_logs tool can filter by stream type (stdout/stderr). The search_logs tool performs case‑insensitive substring matching across all logs.
4 What happens if the child process exits?
Server Watch continues running even if the child process exits, so you can still access captured logs.
5 What transport does Server Watch use?
Server Watch uses SSE (Server‑Sent Events) over HTTP. Claude Code requires the sse transport type.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In