Skip to content

Commit 31d19c7

Browse files
kulvirgitclaude
andcommitted
fix: ship discover-and-add-mcps as builtin skill
Toast suggests `/discover-and-add-mcps` but the command only existed as a project-level `.opencode/command/` file not shipped with the package. Convert to a builtin skill at `.opencode/skills/discover-and-add-mcps/SKILL.md` so it is embedded in the binary and available everywhere. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 623d1ac commit 31d19c7

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

.opencode/command/discover-and-add-mcps.md renamed to .opencode/skills/discover-and-add-mcps/SKILL.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
2-
description: "Discover MCP servers from external AI tool configs and add them permanently"
2+
name: discover-and-add-mcps
3+
description: Discover MCP servers from external AI tool configs and add them permanently
34
---
45

6+
# Discover & Add MCP Servers
7+
58
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.
69

710
## Instructions

docs/docs/configure/mcp-servers.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,25 @@ altimate mcp
8585
altimate mcp test my-tools
8686
```
8787

88+
## Auto-Discovery
89+
90+
Altimate Code can automatically discover MCP servers from other AI tools on your machine (VS Code, Cursor, GitHub Copilot, Claude Code, Gemini CLI). At startup, discovered servers are shown in a toast notification.
91+
92+
- **Home-directory configs** (e.g., `~/.claude.json`) are auto-enabled since they are user-owned.
93+
- **Project-scoped configs** (e.g., `.vscode/mcp.json`) are discovered but **disabled by default** — run `/discover-and-add-mcps` to review and enable them.
94+
95+
To disable auto-discovery:
96+
97+
```json
98+
{
99+
"experimental": {
100+
"auto_mcp_discovery": false
101+
}
102+
}
103+
```
104+
105+
See the [Security FAQ](../reference/security-faq.md#what-is-mcp-auto-discovery) for full details on the security model.
106+
88107
## Experimental Settings
89108

90109
```json

0 commit comments

Comments
 (0)