Skip to content

feat: MCP-aware status bar, per-editor breakdown, verify command#94

Merged
patchloom-release[bot] merged 3 commits into
mainfrom
feat/mcp-control-plane
Jun 6, 2026
Merged

feat: MCP-aware status bar, per-editor breakdown, verify command#94
patchloom-release[bot] merged 3 commits into
mainfrom
feat/mcp-control-plane

Conversation

@SebTardif
Copy link
Copy Markdown
Contributor

Summary

Refocus the extension as an MCP control plane with better visibility into MCP readiness.

Changes

MCP-aware status bar

  • Shows Patchloom MCP when MCP is configured
  • Shows Patchloom when binary is ready but MCP not set up
  • Shows Patchloom when binary is missing or needs upgrade

Per-editor MCP breakdown in status details

  • Replaces the single MCP config: present/missing line
  • Shows individual status for VS Code, Cursor, and Windsurf targets
  • Uses checkmark/X indicators for each editor

New "Verify MCP Server" command

  • Spawns patchloom mcp-server and sends a JSON-RPC initialize request
  • Reports server name, version on success; diagnostic error on failure
  • 10-second timeout with auto-kill
  • Fully dependency-injected for testing

Setup Workspace walks through all steps

  • Previously stopped after each step (binary, AGENTS.md, MCP) and required re-running
  • Now walks through all pending steps with Skip/Continue flow

Tests

  • 16 new unit tests: parseInitializeResponse, verifyMcpServer with injected spawn, buildStatusDetails with per-editor targets
  • All 221 tests pass, 81.83% line coverage (above 80% threshold)

Closes #93

Refocus the extension as an MCP control plane:

- Status bar shows  Patchloom MCP when MCP is configured,
   Patchloom when binary is ready but MCP is not set up,
   Patchloom when binary is missing or needs upgrade.

- Status details now show per-editor MCP breakdown (VS Code, Cursor,
  Windsurf) instead of a single MCP config: present/missing line.

- New 'Verify MCP Server' command spawns patchloom mcp-server, sends
  a JSON-RPC initialize request, validates the response, and reports
  server name/version on success or a diagnostic error on failure.

- Setup Workspace now walks through all steps (AGENTS.md, MCP config)
  in one invocation instead of stopping after each step.

- 16 new unit tests covering parseInitializeResponse, verifyMcpServer
  with injected spawn, and buildStatusDetails with per-editor targets.

Closes #93

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
github-actions[bot]
github-actions Bot previously approved these changes Jun 6, 2026
@patchloom-release patchloom-release Bot enabled auto-merge (squash) June 6, 2026 16:32
@patchloom-release patchloom-release Bot merged commit 21fb8e8 into main Jun 6, 2026
20 checks passed
@patchloom-release patchloom-release Bot deleted the feat/mcp-control-plane branch June 6, 2026 17:31
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.

Refocus extension as MCP control plane instead of CLI GUI

1 participant