mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Desktop MCP management now has a working server API, a global-only settings surface, and slash-command entry points that surface MCP and skills from the composer before routing users into the right settings view. Constraint: Project-scoped MCP browsing in settings was too slow and noisy because it scanned multiple workdirs Rejected: Keep project MCP aggregation on the settings homepage | duplicated entries and poor responsiveness Rejected: Route /mcp directly on Enter without an intermediate card | removed the user's ability to choose a specific target first Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Keep settings focused on global MCP; add project-scoped MCP affordances in the chat-context slash surfaces instead of re-expanding the settings homepage Tested: bun test src/server/__tests__/mcp.test.ts; cd desktop && bun run test -- pages.test.tsx mcpSettings.test.tsx; cd desktop && bun x tsc --noEmit --ignoreDeprecations 5.0 Not-tested: Manual IAB verification after this final commit/merge cycle