MCPTap v2.5.0 #8
pczerkas
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[2.5.0]
Highlights
Added
at
/ui/logs(Vue 3 + Naive UI, dark theme). The viewer displays avirtual-scroll table of all proxied requests with columns for date, model,
provider, input/output tokens, and cost. A time-range selector (15m – 1w)
filters the view; cursor-based pagination with infinite scroll loads older
entries automatically. Clicking any row opens a side drawer with full
request metadata (session ID, HTTP status, stream flag, token breakdown,
cost, path, duration) and pretty-printed JSON request/response bodies.
local SQLite database (WAL mode) with forward-only schema migrations.
Configurable via
MCP_TAP_LOG_DB(default:~/.local/share/mcptap/logs.db).Records store timestamp, session ID, model, provider, input/output/total
tokens, cost, HTTP status, full request/response bodies, request path,
stream flag, and round-trip duration.
GET /api/logs(paginated, time-range filtered, cursor-based) andGET /api/logs/{log_id}(full detail including request/response bodies).extract_usage_details()parsesinput_tokens,output_tokens,total_tokens, andcostfrom upstream Responses APIresponses for storage in the log database.
tests/test_log_store.pycoveringmigrations, recording, paginated queries, detail lookup, and the
record_from_responseconvenience wrapper.docs/FEATURES.md— new section 9 (UI interface) documenting the logviewer access URL, table columns, time-range presets, request detail
drawer, backing API, and SQLite storage schema.
docs/TROUBLESHOOTING.md— extracted from the README into a standalonetroubleshooting guide.
docs/DEVELOPMENT.md— new development documentation.Changed
installation, configuration, routing, model-instruction, and tool-call-hook
guidance; redundant sections removed and RTK link corrected.
Fixed
better visibility of detailed request data.
tests/test_log_store.pyre-enabled in thetest runner (previously skipped);
pytestimport type-ignore added totests/test_config_reloader.pyto silence missing-stub noise.Full Changelog
v2.4.0...v2.5.0
This discussion was created from the release MCPTap v2.5.0.
All reactions