feat: [AI-6948] register mcps slash command in server command list
Merged
AL
5mo ago+10+10+01234567890123456789-0-0-0123456789
Summary
- Register
/mcpsin altimate-code's server command list (command/index.ts) so it appears in the slash autocomplete in the Altimate Code Chat webview - The command description: "list added MCP servers and their connection status"
- The webview intercepts
/mcpsclient-side (see companion PR) — this server-side registration ensures autocomplete works and provides a fallback template if ever routed through the LLM
Changes
packages/opencode/src/command/index.ts— addMCPS: "mcps"toDefaultconstants; registermcpscommand entry with description and minimal template
Test plan
-
GET /commandreturnsmcpsin the command list -
tsc --noEmitexits 0 inpackages/opencode
Companion PR in vscode-altimate-mcp-server: AltimateAI/vscode-altimate-mcp-server#356
Requested by @saravmajestic via harness
Jira: AI-6948
Summary by cubic
Registers /mcps in altimate-code server commands so it shows in slash autocomplete and has a server-side fallback template. Addresses AI-6948 by letting users list configured MCP servers and their connection status from chat.
- New Features
- Added
MCPS: "mcps"toCommand.Defaultand registered/mcpswith description and minimal template inpackages/opencode/src/command/index.ts. - Keeps webview interception working, while providing a safe server fallback if
/mcpsis routed through the LLM.
- Added