{"type":"mcp_server","name":"CursorMCPMonitor","description":"This .NET console application monitors Cursor AI editor's Model Context Protocol (MCP) interactions by parsing and color-coding log files in real-time, providing developers with debugging and analysis capabilities.","category":"Developer Tools","language":"C#","stars":12,"forks":1,"owner":"willibrandon","github_url":"https://github.com/willibrandon/CursorMCPMonitor","homepage":null,"setup":"## Setup\n\n1.  Install the tool globally using the .NET CLI:\n\n    ```bash\n    # Install from NuGet.org\n    dotnet tool install --global CursorMCPMonitor\n\n    # Or install from GitHub Packages\n    dotnet nuget add source --name github \"https://nuget.pkg.github.com/willibrandon/index.json\"\n    dotnet tool install --global CursorMCPMonitor --add-source github\n    ```\n\n2.  Run the tool from anywhere using:\n\n    ```bash\n    cursor-mcp --help\n    ```\n\n3.  Update to the latest version:\n\n    ```bash\n    dotnet tool update --global CursorMCPMonitor\n    ```\n\n4.  Uninstall:\n\n    ```bash\n    dotnet tool uninstall --global CursorMCPMonitor\n    ```\n\n5. Configure the application through `appsettings.json` or override settings using environment variables.\n\n6. Build the application using `dotnet build` after installing the .NET 9.0 SDK or later.\n\n7. Run the application using `dotnet run`.\n\n8. For Docker support, build the image using `docker build -t cursor-mcp-monitor -f src/CursorMCPMonitor/Dockerfile .` from the repository root directory.\n\n9. Run the Docker container with volume mapping for logs and set the `LogsRoot` environment variable.","tools":"## Available Tools\n\n1.  Real-time monitoring of MCP client-server interactions in Cursor (monitors client creation, server offerings, protocol errors, and client lifecycle).\n2.  Monitors the Cursor logs directory for new MCP log files.\n3.  Parses and color-codes different message types (green for client creation, yellow for server offerings, red for errors, gray for general information).\n4.  Supports log rotation and file truncation.\n5.  Cross-platform support (Windows, macOS, Linux).\n6.  Smart error handling with exponential backoff and retry logic.\n7.  Configurable polling interval and log file patterns.\n8.  Command-line interface for easy customization.\n9.  Structured logging with Serilog for improved observability (console logging, file logging, contextual properties, log level filtering).\n10. Interactive web-based dashboard (real-time event streaming, automatic reconnection, event rate monitoring).\n11. Terminal display with timestamps and color-coded messages.\n12. Advanced search functionality with highlighting and keyboard shortcuts.\n13. Command palette for quick access to actions (clear logs, copy entries, toggle auto-scroll, focus search).\n14. Status indicators for WebSocket connection, client count, and events per second.\n15. Dark and light themes with system theme detection.","faq":null,"created_at":"2025-03-03T05:22:43+00:00","updated_at":"2025-03-23T13:13:49+00:00","source_url":"https://model-context-protocol.com/servers/cursor-ai-mcp-interaction-monitor","related_articles":[]}