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
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 totail -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.0.tar.gz
(23.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcpplex-0.1.0.tar.gz.
File metadata
- Download URL: mcpplex-0.1.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
196cd986330549169909edd7b74fc838dfa65770d9f01f302f7c851f9ffad81e
|
|
| MD5 |
4c99634bf1d5af8a5e4db35bfc70d925
|
|
| BLAKE2b-256 |
a18ed77e011268669a3fe4a7a58b5698d27aef8f181590df1a79b2f7f7a06787
|
File details
Details for the file mcpplex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcpplex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6427749577a00108b793c90786d99ae0a8c1d2cbfa15a91b908583f29a4145c
|
|
| MD5 |
9b8b09e1f90cb9536ef9fc174f6c662c
|
|
| BLAKE2b-256 |
e629feeda112db059b2808e9ae51aa55cd93cb8b34172f6abf244a8e5af39838
|