Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions packages/opencode/src/command/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import PROMPT_FEEDBACK from "./template/feedback.txt"
// altimate_change start — configure commands for external AI CLIs
import PROMPT_CONFIGURE_CLAUDE from "./template/configure-claude.txt"
import PROMPT_CONFIGURE_CODEX from "./template/configure-codex.txt"
import PROMPT_DISCOVER_MCPS from "./template/discover-and-add-mcps.txt"
// altimate_change end
import { MCP } from "../mcp"
import { Skill } from "../skill"
Expand Down Expand Up @@ -67,6 +68,7 @@ export namespace Command {
// altimate_change start
CONFIGURE_CLAUDE: "configure-claude",
CONFIGURE_CODEX: "configure-codex",
DISCOVER_MCPS: "discover-and-add-mcps",
// altimate_change end
} as const

Expand Down Expand Up @@ -130,6 +132,15 @@ export namespace Command {
},
hints: hints(PROMPT_CONFIGURE_CODEX),
},
[Default.DISCOVER_MCPS]: {
name: Default.DISCOVER_MCPS,
description: "discover MCP servers from external AI tool configs and add them",
source: "command",
get template() {
return PROMPT_DISCOVER_MCPS
},
hints: hints(PROMPT_DISCOVER_MCPS),
},
// altimate_change end
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
description: "Discover MCP servers from external AI tool configs and add them permanently"
---

Discover MCP servers configured in other AI tools (VS Code, Cursor, GitHub Copilot, Claude Code, Gemini CLI) and add them to the altimate-code config.

## Instructions
Expand Down
Loading