[PR #205] feat: log MCP requests to audit log #196

Closed
opened 2026-02-26 17:37:42 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/205

State: closed
Merged: Yes


Summary

  • Move request body reading outside #if DEBUG so audit logging works in production
  • Log each MCP request via IAuditService: token name, HTTP method, path, body
  • Add output icon to OutputFormat dropdown in AIServer settings

Test plan

  • MCP requests appear in Audit Logs with token name and request details
  • DEBUG-only Debug.WriteLine still only runs in debug builds
**Original Pull Request:** https://github.com/Corsinvest/cv4pve-admin/pull/205 **State:** closed **Merged:** Yes --- ## Summary - Move request body reading outside `#if DEBUG` so audit logging works in production - Log each MCP request via `IAuditService`: token name, HTTP method, path, body - Add `output` icon to OutputFormat dropdown in AIServer settings ## Test plan - [ ] MCP requests appear in Audit Logs with token name and request details - [ ] DEBUG-only `Debug.WriteLine` still only runs in debug builds
kerem 2026-02-26 17:37:42 +03:00
kerem changed title from [PR #205] [MERGED] feat: log MCP requests to audit log to [PR #205] feat: log MCP requests to audit log 2026-03-07 19:57:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#196
No description provided.