mcplog

bernoussama/mcplog
★ 0 stars TypeScript 📦 Other Updated today
JSON-lines logger for MCP servers
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcplog": {
      "command": "npx",
      "args": [
        "-y",
        "bernoussama/mcplog"
      ]
    }
  }
}

README Excerpt

> Small JSON-lines logger for MCP servers. ```sh pnpm add mcplog npm install mcplog ``` ```ts import { McpLogger } from "mcplog"; ``` ```ts import { McpLogger } from "mcp-log"; const logger = new McpLogger({ name: "my-mcp-server" }); logger.info("server started", { port: 3000 }); logger.error("request failed", { requestId: "abc123" });