install

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package install configures MCP server entries for lea and lx across supported AI coding agent tools (Claude Code, VS Code, OpenCode, etc.).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts ...Options) error

Run configures MCP targets for detected AI coding agents. If opts includes AutoSelectAll=true, all detected targets are configured without user interaction. Otherwise an interactive multi-select prompt is shown.

Types

type MCPEntry

type MCPEntry struct {
	Command string            `json:"command" yaml:"cmd" toml:"command"`
	Args    []string          `json:"args" yaml:"-" toml:"args"`
	Env     map[string]string `json:"env,omitempty" yaml:"-" toml:"-"`
}

MCPEntry represents a single MCP tool entry in the JSON config schema.

type Options

type Options struct {
	AutoSelectAll bool
}

Options controls automated behavior of the install command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL