Skip to content

Add MCP server and tool health manager#101

Merged
slashdevcorpse merged 3 commits into
mainfrom
feature/mcp-health-manager
May 31, 2026
Merged

Add MCP server and tool health manager#101
slashdevcorpse merged 3 commits into
mainfrom
feature/mcp-health-manager

Conversation

@slashdevcorpse
Copy link
Copy Markdown
Owner

@slashdevcorpse slashdevcorpse commented May 31, 2026

Summary\n- add a read-only MCP health API that detects Codex MCP config files for the active workspace\n- show configured servers, command paths, args, env requirements, and command/env health without launching servers\n- add a chat header MCP tools panel with copyable filesystem, git, memory, and fetch setup snippets\n- redact secret-like command arguments and avoid returning env values to the UI\n\n## Testing\n- pnpm -C apps/codex-claw lint\n- pnpm -C apps/codex-claw build\n- pnpm -C apps/codex-claw test\n\nCloses #88


Summary by cubic

Adds a read-only MCP health API and a chat header “MCP tools” panel to inspect configured servers, command paths, args, and env requirements without launching servers. Includes copyable setup snippets for filesystem, git, memory, and fetch, with secrets redacted.

  • New Features
    • API: GET /api/mcp-health scans Codex config candidates and returns server health (ok/warning/error), resolved command paths, redacted args, env requirement status, checked paths, and timestamp.
    • UI: New “MCP tools” panel in the chat header lets you view server status, summaries, resolved paths, and copy the command; shows the detected config path and supports refresh.
    • Setup snippets: Copyable examples for filesystem, git, memory, and fetch, prefilled with the active workspace path.
    • Safety: Secret-like CLI args are redacted and env values are never returned—only their presence/need is reported.

Written for commit 33d520f. Summary will update on new commits.

Review in cubic

Copilot AI review requested due to automatic review settings May 31, 2026 08:31
@slashdevcorpse slashdevcorpse merged commit 7e601b1 into main May 31, 2026
5 of 6 checks passed
@slashdevcorpse slashdevcorpse deleted the feature/mcp-health-manager branch May 31, 2026 08:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants