1. Conduid
  2. AI
  3. mcps-logger
MCP server · AI

mcps-logger

console.log for your stdio MCP server

Unclaimed last commit a year ago MCPModel Context ProtocolLogger
42Fair

Scored 6 days ago · breakdown

About mcps-logger

mcps-logger is an MCP server published by git+mlshv in the AI category: console.log for your stdio MCP server.

The repository has 23 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Install
npx mcps-logger
Claude Code
claude mcp add mcps-logger -- npx -y mcps-logger
npx
npx -y mcps-logger

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about mcps-logger

Powered by Claude · Grounded in docs

I know everything about mcps-logger. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

MCP Server Logger

console.log for your stdio MCP server

npm version

Why?

When developing an MCP (Model Context Protocol) server with stdio transport, console.log interferes with the protocol communication.

For example, this is what you normally get in MCP inspector npx @modelcontextprotocol/inspector when calling console.log in your MCP server code:

Error from MCP server: SyntaxError: Unexpected token S in JSON at position 0

Solution

This package patches the console methods (log, warn, error, debug) and redirects logs to a separate terminal.

https://github.com/user-attachments/assets/33ff367e-74b4-48e8-9f04-0bcafbad5e00

Usage

Start the logger in a terminal where you want to see the logs:

npx mcps-logger

Install the logger in your MCP server:

npm install mcps-logger

Add it to your MCP server entry file:

import "mcps-logger/console";

Or if you want to use in development mode only:

if (process.env.NODE_ENV !== "production") {
    import("mcps-logger/console");
}

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About mcps-logger

How do I install mcps-logger?

Run npx mcps-logger, then add the server to your MCP client's configuration.

Is mcps-logger safe to use with an AI agent?

Its trust score is 42 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is mcps-logger still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.