Skip to main content

MCP log viewer TUI

Project description

mcpplex

A terminal UI for viewing and exploring MCP (Model Context Protocol) server logs.

Built with Textual.

Note: This tool has been developed and tested primarily with Claude Desktop logs. It may work with other MCP clients, but this has not been verified.

Screenshots

List view

Detail view

Features

  • Log parsing — auto-detects timestamps, server names, log levels, and JSON-RPC messages
  • Request/response pairing — matches client requests with server responses by message ID, scoped per session
  • JSON payload inspection — pretty-printed detail view for structured payloads, including truncated JSON recovery
  • Search — filter log entries in real time with /
  • Live tail — follow a log file for new entries (-f), similar to tail -f
  • Color-coded connectors — each MCP server gets a distinct color via golden-ratio hue spacing
  • Sortable time column — click the Time header to toggle ascending/descending

Install

pipx install mcpplex

Or with pip:

pip install mcpplex

Usage

# View a log file
mcpplex mcp.log

# Follow a log file for live updates
mcpplex -f mcp.log

# Pipe from stdin
cat mcp.log | mcpplex

Keybindings

Key Action
/ Open search bar
Enter Show detail view
f Toggle follow mode
Escape Close search / clear
q Quit

Contributing

git clone https://github.com/shuaibird/mcpplex
cd mcpplex
pip install -e ".[dev]"
pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcpplex-0.1.4.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcpplex-0.1.4-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file mcpplex-0.1.4.tar.gz.

File metadata

  • Download URL: mcpplex-0.1.4.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mcpplex-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ba0683cfe17af5cd46fcf167c66f1285fd1265c98e37d7f691feaef6e83e7600
MD5 c4289538efb77bdb5fb8a4a21d5c51df
BLAKE2b-256 3eeb860571764bfe6d2db698f7cd457bfa70d1b7c811ad80cb01a341474c36d1

See more details on using hashes here.

File details

Details for the file mcpplex-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: mcpplex-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mcpplex-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8798ade8352438255baa7b7606d57afa6e189b85a055ac8c2d4169f06f24cbec
MD5 17496e000d7add1194c90b77cf58d0f0
BLAKE2b-256 6ab237c60f8bcdce34e59cba104221bf55dea61a8f2e5d791e8a3c235c7872b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page