Submit

MCP Server Logger

@mlshv

a year ago
developer-tools
console.log for your stdio MCP server
Overview

what is MCP Server Logger?

MCP Server Logger is a logging utility designed for MCP (Model Context Protocol) servers that use stdio transport, allowing developers to redirect console logs to a separate terminal window through a TCP connection.

how to use MCP Server Logger?

To use MCP Server Logger, install it in your MCP server using npm, import it in your server entry file, and start the logger to receive logs from the MCP server.

key features of MCP Server Logger?

  • Redirects console logs to a separate terminal window.
  • Patches console methods (log, warn, error, debug) to maintain existing logging code.
  • Keeps the stdio channel clean for MCP communication.

use cases of MCP Server Logger?

  1. Developing MCP servers without console log interference.
  2. Debugging MCP server applications while maintaining clean communication channels.
  3. Enhancing logging capabilities in development environments.

FAQ from MCP Server Logger?

  • Can MCP Server Logger be used in production?

It is recommended to use MCP Server Logger in development mode to avoid log interference in production environments.

  • How do I install MCP Server Logger?

You can install it using npm with the command npm install mcps-logger.

  • Is MCP Server Logger open source?

Yes, MCP Server Logger is open source and licensed under the MIT license.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.

MCP Server Logger MCP Server