Skip to content

Conversation

@tembo
Copy link
Contributor

@tembo tembo bot commented Dec 18, 2025

Summary

  • Introduced a new mcp command group to the kernel CLI.
  • Added kernel mcp install command to configure the Kernel MCP server for various AI tools, including Cursor, Claude, VS Code, Windsurf, Goose, and Zed.
  • Added kernel mcp server command to display information about the remote Kernel MCP server, including connection details and quick install examples.
  • Integrated mcp commands into the root command and made them exempt from authentication.

Want me to make any changes? Add a review or comment with @tembo and i'll get back to work!

tembo.io linear.app app.tembo.io


Note

Adds kernel mcp with install and server to configure/use the remote Kernel MCP server across multiple tools, integrated into root and exempt from auth.

  • CLI:
    • New mcp command group:
      • install: configures MCP for cursor, claude, claude-code, windsurf, vscode, goose, zed; uses per-target transports (HTTP or stdio via npx mcp-remote); prints post-install steps.
      • server: shows connection details (HTTP and stdio), quick install examples, and docs link.
    • Integrated mcp into root (cmd/root.go) and added to auth-exempt commands.
  • Config handling:
    • OS-aware getConfigPath for each target.
    • JSON helpers: comment stripping, read/write utilities.
    • Target-specific installers (e.g., VS Code mcp.servers, Zed context_servers, Goose YAML instructions).

Written by Cursor Bugbot for commit f14da89. This will update automatically on new commits. Configure here.

@masnwilliams masnwilliams merged commit 5aa1486 into main Dec 18, 2025
2 checks passed
@masnwilliams masnwilliams deleted the tembo/kernel-723-add-kernel-cli-mcp-install-command-similar-to-pscale branch December 18, 2025 20:22
return fmt.Errorf("failed to create directory: %w", err)
}

data, err := json.MarshalIndent(config, "", " ")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Config file comments are silently removed during install

The readJSONFile function strips JSON comments to support JSON5 format (the code even notes "used by Zed"), but writeJSONFile uses standard json.MarshalIndent which doesn't preserve comments. When users run kernel mcp install for targets like VS Code or Zed that commonly have commented config files, their settings.json comments will be permanently lost. This is unexpected data loss since the install command only claims to add the Kernel MCP server configuration.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants