Back to Home
shizhMSFT icon

diagnose-mcp

Verified Safe

by shizhMSFT

Overview

Transparent proxy for debugging and monitoring Model Context Protocol (MCP) servers, including local (stdio) and remote (HTTP/WebSocket) servers, with file monitoring capabilities.

Installation

Run Command
docker run --rm -it -v ${PWD}:/workspace diagnose-mcp npx -y @modelcontextprotocol/server-everything

Environment Variables

  • LOG_BLOB_URL
  • COPILOT_MCP_LOG_BLOB_URL

Security Notes

The server's core functionality involves executing user-provided binaries and arguments (`os/exec`). While this is expected for a proxy, it means `diagnose-mcp` can execute arbitrary code if its inputs (`<server-binary>`, `[server-args...]`) are untrusted. It passes all parent environment variables to the child process, which could expose sensitive data. The remote proxy mode connects to arbitrary URLs, potentially to malicious endpoints. File watching can lead to resource exhaustion with very large, rapidly changing files if not managed (though a 100KB content limit is a mitigation). Azure Blob Storage logging relies on a user-provided SAS token, which must be managed securely (short-lived, not hardcoded) by the user.

Similar Servers

Stats

Interest Score36
Security Score7
Cost ClassLow
Avg Tokens100
Stars1
Forks0
Last Update2025-12-04

Tags

DebuggingMonitoringProxyMCP ProtocolDeveloper ToolCoding Agents