Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Deep MCP LoggerNew to Visual Studio Code? Get it now.
Deep MCP Logger

Deep MCP Logger

dvlpr_sunil

|
3 installs
| (0) | Free
A powerful VS Code extension for advanced logging, including AST-based log insertion, a workspace log explorer, and MCP server support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Deep MCP Logger

Deep MCP Logger is a powerful VS Code extension for advanced logging, including AST-based log insertion, a workspace log explorer, and MCP server support. It's a feature-rich replacement for tools like Turbo Console Log, designed for professional developers who need maximum control and efficiency.

Features

Core Features

  • AST-Aware Log Insertion: Intelligently inserts log statements without breaking your code.
  • Multi-Language Support: Works with JavaScript, TypeScript, JSX/TSX, PHP, Python, and Go.
  • Multiple Log Types: Supports console.log, console.warn, console.error, console.debug, console.info, and console.table.
  • Customizable Log Messages: Tailor log messages with prefixes, emojis, and contextual information (filename, line number, function name).
  • Multi-Cursor Support: Insert multiple logs at once.
  • Log Management: Quickly comment, uncomment, or delete logs added by the extension.

Pro-Level Features

  • Workspace Log Explorer: A dedicated TreeView to visualize, navigate, and manage all log statements in your workspace.
    • Filter logs by type (log, warn, error, etc.).
    • Search for specific log messages.
    • Jump directly to the log statement in your code.
  • Workspace-Wide Cleanup: Comment, uncomment, or delete all logs in a file, folder, or the entire workspace with a single command.
  • MCP Server Integration: Control logging via the Model Context Protocol (MCP). This allows AI clients like Gemini, Claude, or ChatGPT to interact with your codebase's logging framework.

MCP Server

Deep MCP Logger includes a built-in MCP server that runs independently of VS Code. This allows external tools and services to interact with your project's logs.

MCP Commands

  • insert_log: Inserts a log statement at a specified location.
  • remove_logs: Removes log statements.
  • search_logs: Searches for logs in the workspace.
  • list_logs: Lists all logs in the workspace.
  • format_log_template: Formats a log message based on a template.
  • get_log_context: Retrieves context for a log statement.

Running the MCP Server

To run the MCP server manually:

node ./dist/mcp-server.js

Installation

  1. Clone the repository.
  2. Run npm install.
  3. Open the project in VS Code.
  4. Press F5 to start the extension in a new Extension Development Host window.

Usage

Inserting a Log

  1. Place your cursor on a variable or select an expression.
  2. Press Cmd+Alt+L (Mac) or Ctrl+Alt+L (Windows/Linux).

Managing Logs

  • Comment/Uncomment/Delete Logs: Use the commands from the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
  • Workspace Cleanup: Use the "Deep MCP Logger: Workspace Cleanup" command.

Keybindings

  • Insert Log: Cmd+Alt+L (Mac), Ctrl+Alt+L (Windows/Linux)
  • Remove Logs: Cmd+Alt+D (Mac), Ctrl+Alt+D (Windows/Linux)

Building and Packaging

  • Compile: npm run compile
  • Watch for changes: npm run watch
  • Run tests: npm run test
  • Package: vsce package

License

This project is licensed under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft