feat: show MCP server process logs in the admin UI #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/server-logs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
A stdio server that fails to start left nothing to look at in the app. The runner kept a stderr tail per process but dropped it when the process exited, and the API only stored a squashed 2000-char
lastError.What
GET /logs/:serverId.GET /api/admin/servers/:id/logs(admin only). Each process is labelledshared,user(with email) ortest(the connection test'sPROBE_USER_IDkey). An unreachable runner gives502 runner_unavailablewithout the internal message. Remote servers return nothing, without calling the runner.docs/architecture.md, Packages and the runner.Notes
lastError.Testing
npm test,npm run lintandnpm run typecheckpass locally.🤖 Generated with Claude Code