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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export const claude: AIToolModule = {
existingConfig.mcpServers = {};
}
existingConfig.mcpServers.genkit = {
command: 'npx',
args: ['genkit', 'mcp'],
command: 'genkit',
args: ['mcp', '--no-update-notification'],
};
await writeFile(CLAUDE_MCP_PATH, JSON.stringify(existingConfig, null, 2));
settingsUpdated = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export const cursor: AIToolModule = {
existingConfig.mcpServers = {};
}
existingConfig.mcpServers.genkit = {
command: 'npx',
args: ['genkit', 'mcp'],
command: 'genkit',
args: ['mcp', '--no-update-notification'],
};
await writeFile(CURSOR_MCP_PATH, JSON.stringify(existingConfig, null, 2));
mcpUpdated = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const GENKIT_EXTENSION_CONFIG = {
version: '1.0.0',
mcpServers: {
genkit: {
command: 'npx',
args: ['genkit', 'mcp'],
command: 'genkit',
args: ['mcp', '--no-update-notification'],
cwd: '.',
timeout: 30000,
trust: false,
Expand Down
4 changes: 2 additions & 2 deletions genkit-tools/cli/src/commands/init-ai-tools/context/nodejs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ export const GENKIT_CONTEXT = [
' ```bash',
' mkdir my-genkit-app && cd my-genkit-app',
' npm init -y',
' npm install -D typescript tsx \@types/node',
' npm install -D typescript tsx \\@types/node',
' ```',
'',
'2. **Install Dependencies**',
'',
' ```bash',
' npm install genkit \@genkit-ai/google-genai data-urls node-fetch',
' npm install genkit \\@genkit-ai/google-genai data-urls node-fetch',
' ```',
'',
'3. **Install Genkit CLI**',
Expand Down
Loading