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
6 changes: 5 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@withone/cli",
"version": "1.17.1",
"version": "1.17.2",
"description": "CLI for managing One",
"type": "module",
"files": [
Expand Down
22 changes: 1 addition & 21 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function handleExistingConfig(
console.log();

// Build action menu
type Action = 'install-skills' | 'show-prompt' | 'add-connection' | 'update-key' | 'access-control' | 'install-mcp' | 'start-fresh';
type Action = 'install-skills' | 'show-prompt' | 'add-connection' | 'update-key' | 'access-control' | 'start-fresh';
const actionOptions: { value: Action; label: string; hint?: string }[] = [];

actionOptions.push({
Expand Down Expand Up @@ -103,12 +103,6 @@ async function handleExistingConfig(
hint: 'permissions, connections, actions',
});

actionOptions.push({
value: 'install-mcp',
label: 'Install MCP server',
hint: 'not recommended — use skills instead',
});

actionOptions.push({
value: 'start-fresh',
label: 'Start fresh (reconfigure everything)',
Expand Down Expand Up @@ -149,10 +143,6 @@ async function handleExistingConfig(
case 'access-control':
await configCommand();
break;
case 'install-mcp':
await promptAndInstallMcp(apiKey, options);
p.outro('Done.');
break;
case 'start-fresh':
await freshSetup({ yes: true });
break;
Expand Down Expand Up @@ -733,16 +723,6 @@ async function freshSetup(options: { yes?: boolean; global?: boolean; project?:
// Step 3: Connect integrations
await promptConnectIntegrations(apiKey);

// Step 4: Optional MCP install (not recommended)
const installMcp = await p.confirm({
message: 'Install One MCP server to your AI agents? (not recommended)',
initialValue: false,
});

if (!p.isCancel(installMcp) && installMcp) {
await promptAndInstallMcp(apiKey, options);
}

p.note(
`Config saved to: ${pc.dim(getConfigPath())}`,
'Setup Complete'
Expand Down