setup

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAndAddMcpServer added in v1.8.0

func ParseAndAddMcpServer(mcpServersDir, pastedConfig string) ([]string, error)

ParseAndAddMcpServer parses pasted MCP server configuration and adds it to the system

func Run

func Run() error

Run the setup to configure the different files

func ValidateMcpServerConfig added in v1.8.0

func ValidateMcpServerConfig(pastedConfig string) error

ValidateMcpServerConfig validates that the pasted config is valid

Types

type McpServerExternal added in v1.8.0

type McpServerExternal struct {
	Command string            `json:"command"`
	Args    []string          `json:"args"`
	Env     map[string]string `json:"env,omitempty"`
}

McpServerExternal represents various external MCP server formats

type McpServerInput added in v1.8.0

type McpServerInput struct {
	McpServers map[string]McpServerExternal `json:"mcpServers"`
}

McpServerInput represents the external format that users might paste

Jump to

Keyboard shortcuts

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