[PR #191] feat: refactor AIServer MCP infrastructure — ToolHelper, McpBridge, ApiAccess/Bridge tabs #182

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

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

State: closed
Merged: Yes


Summary

  • Add ToolHelper.cs and ToolOutputFormat enum (JsonCompact, JsonNormal, Toon, Csv) replacing McpToolsHelper
  • Add IAiServerService / AiServerService for MCP serialization and endpoint management
  • Add Permissions.cs for AIServer module access control
  • Add McpAuthFailedNotification for authentication failure handling
  • Add ApiAccess and Bridge tab components (replaces Status component)
  • Add McpBridge standalone .NET project (cv4pve-mcp-bridge) — stdio↔HTTP proxy enabling Claude Desktop and other stdio-only MCP clients to connect
  • Remove legacy mcp-bridge/ JS/shell scripts (superseded by McpBridge .NET project)
  • Update Module.cs, Settings.cs, VmTools.cs, ClusterTools.cs
  • Add OutputFormat InfoIcon with format descriptions to RenderSettings dropdown

Test plan

  • Verify AIServer module loads without errors
  • Verify MCP endpoint responds at https://<server>/mcp/<api-key>
  • Verify ApiAccess tab shows connection URL and API key
  • Verify Bridge tab generates correct claude_desktop_config.json
  • Verify ToolOutputFormat serialization works for all 4 formats
  • Test McpBridge binary connects successfully to MCP endpoint
**Original Pull Request:** https://github.com/Corsinvest/cv4pve-admin/pull/191 **State:** closed **Merged:** Yes --- ## Summary - Add `ToolHelper.cs` and `ToolOutputFormat` enum (`JsonCompact`, `JsonNormal`, `Toon`, `Csv`) replacing `McpToolsHelper` - Add `IAiServerService` / `AiServerService` for MCP serialization and endpoint management - Add `Permissions.cs` for AIServer module access control - Add `McpAuthFailedNotification` for authentication failure handling - Add **ApiAccess** and **Bridge** tab components (replaces Status component) - Add **McpBridge** standalone .NET project (`cv4pve-mcp-bridge`) — stdio↔HTTP proxy enabling Claude Desktop and other stdio-only MCP clients to connect - Remove legacy `mcp-bridge/` JS/shell scripts (superseded by McpBridge .NET project) - Update `Module.cs`, `Settings.cs`, `VmTools.cs`, `ClusterTools.cs` - Add OutputFormat `InfoIcon` with format descriptions to `RenderSettings` dropdown ## Test plan - [ ] Verify AIServer module loads without errors - [ ] Verify MCP endpoint responds at `https://<server>/mcp/<api-key>` - [ ] Verify ApiAccess tab shows connection URL and API key - [ ] Verify Bridge tab generates correct `claude_desktop_config.json` - [ ] Verify `ToolOutputFormat` serialization works for all 4 formats - [ ] Test McpBridge binary connects successfully to MCP endpoint
kerem 2026-02-26 17:37:39 +03:00
kerem changed title from [PR #191] [MERGED] feat: refactor AIServer MCP infrastructure — ToolHelper, McpBridge, ApiAccess/Bridge tabs to [PR #191] feat: refactor AIServer MCP infrastructure — ToolHelper, McpBridge, ApiAccess/Bridge tabs 2026-03-07 19:57:22 +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#182
No description provided.