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.1.tar.gz
(23.5 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.1.tar.gz.
File metadata
- Download URL: mcpplex-0.1.1.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4157ffd2f1f048daad1cd651e8bcc406fd90d5319d28353bb133be749d1cee23
|
|
| MD5 |
83d0065ac80668bc79045522fdf9ef8b
|
|
| BLAKE2b-256 |
075c2df0645f799fa405022a107bd0cc155c20407c1947bb1aba4e203dbaf193
|
File details
Details for the file mcpplex-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcpplex-0.1.1-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 |
78b76345af444bb9e94a819c510c34a98ddae73bbe3400b1c82100859b72af07
|
|
| MD5 |
c0299fb4b5beacffe8167105f408ffa7
|
|
| BLAKE2b-256 |
16060b7477bb6e86f676ecc09f45c1d3fbed188d93914a207451e0798300280a
|