Skip to content

Commit b7bb36c

Browse files
committed
code review
1 parent 05b325a commit b7bb36c

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/commands/init/ai-rules.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
configureMcpForVSCode,
1414
configureMcpForCursor,
1515
configureMcpForWindsurf,
16-
showGenericMcpConfig
16+
showGenericMcpConfig,
1717
} from '../../utils/mcp-utils.js'
1818
import type BaseCommand from '../base-command.js'
1919
import type { SiteInfo } from '../../utils/types.js'
@@ -42,9 +42,13 @@ const triggerMcpConfiguration = async (ide: ConsumerConfig, projectPath: string)
4242
])
4343

4444
if (!shouldConfigure) {
45+
log(` ${chalk.gray('You can configure MCP manually later for enhanced AI capabilities:')}`)
4546
log(
46-
chalk.gray('Skipped MCP configuration. You can set it up manually later by changing MCP settings in your editor'),
47+
` ${chalk.gray('Documentation:')} ${chalk.cyan(
48+
'https://docs.netlify.com/welcome/build-with-ai/netlify-mcp-server/',
49+
)}`,
4750
)
51+
4852
return false
4953
}
5054

@@ -227,8 +231,11 @@ export const initWithAiRules = async (hash: string, command: BaseCommand): Promi
227231
log(chalk.yellowBright(`🔧 Step 2: Manual MCP Configuration`))
228232
log(` ${chalk.cyan(detectedIDE.key)} detected - MCP setup was skipped`)
229233
log(` ${chalk.gray('You can configure MCP manually later for enhanced AI capabilities:')}`)
230-
log(` ${chalk.gray('Documentation:')} ${chalk.cyan('https://docs.netlify.com/welcome/build-with-ai/netlify-mcp-server/')}`)
231-
234+
log(
235+
` ${chalk.gray('Documentation:')} ${chalk.cyan(
236+
'https://docs.netlify.com/welcome/build-with-ai/netlify-mcp-server/',
237+
)}`,
238+
)
232239
}
233240
log()
234241
}

0 commit comments

Comments
 (0)