chore(install): remove fallback MCP snippet hint (#38)

## Summary

- The post-install summary printed an `If your agent is NOT Claude Code
/ Claude Desktop / Cursor` block with a manual MCP JSON snippet. By the
time the user sees it, `@agentkey/mcp --auth-login` has already either
auto-written the supported configs or surfaced its own error — so this
block is ambiguous noise for the supported path, and the canonical
fallback for unsupported agents already lives in `SKILL.md`'s Fallback
section.
- Removed the same block from `install.ps1` to keep the Bash and
PowerShell installers in sync.

## Test plan

- [ ] `bash scripts/install.sh` ends with `Next steps` → `Docs` →
`Uninstall` (no fallback snippet block in between).
- [ ] `pwsh scripts/install.ps1` shows the same trimmed summary on
Windows.
- [ ] Confirm `skills/agentkey/SKILL.md` still documents the
manual-paste fallback for non-auto-targeted agents (no doc regression).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
MOGU :\'-"/
2026-05-12 15:26:43 +08:00
committed by GitHub
parent dc6f755649
commit f05e501e42
2 changed files with 0 additions and 28 deletions
-14
View File
@@ -347,20 +347,6 @@ Write-Muted '1. Restart your agent (Claude Code / Cursor / etc.)'
Write-Muted '2. Ask it something that needs the internet:'
Write-Host ' "What has Musk been tweeting about lately?"' -ForegroundColor Cyan
Write-Host ''
Write-Host ' If your agent is NOT Claude Code / Claude Desktop / Cursor' -ForegroundColor White
Write-Muted 'The skill is installed, but you may need to paste this MCP snippet'
Write-Muted 'into its config manually:'
Write-Host ''
Write-Host ' {' -ForegroundColor DarkGray
Write-Host ' "mcpServers": {' -ForegroundColor DarkGray
Write-Host ' "agentkey": {' -ForegroundColor DarkGray
Write-Host ' "command": "npx",' -ForegroundColor DarkGray
Write-Host ' "args": ["-y", "@agentkey/mcp"],' -ForegroundColor DarkGray
Write-Host ' "env": { "AGENTKEY_API_KEY": "ak_..." }' -ForegroundColor DarkGray
Write-Host ' }' -ForegroundColor DarkGray
Write-Host ' }' -ForegroundColor DarkGray
Write-Host ' }' -ForegroundColor DarkGray
Write-Host ''
Write-Host ' Docs https://agentkey.app/docs' -ForegroundColor White
Write-Host ' Uninstall irm https://agentkey.app/uninstall.ps1 | iex' -ForegroundColor White
Write-Host ''
-14
View File
@@ -467,20 +467,6 @@ main() {
${MUTED}2.${NC} Ask it something that needs the internet:
${ACCENT}"What has Musk been tweeting about lately?"${NC}
${BOLD}If your agent is NOT Claude Code / Claude Desktop / Cursor${NC}
The skill is installed, but you may need to paste this MCP snippet
into its config manually:
${MUTED}{
"mcpServers": {
"agentkey": {
"command": "npx",
"args": ["-y", "@agentkey/mcp"],
"env": { "AGENTKEY_API_KEY": "ak_..." }
}
}
}${NC}
${BOLD}Docs${NC} https://agentkey.app/docs
${BOLD}Uninstall${NC} curl -fsSL https://agentkey.app/uninstall.sh | bash