cli

package
v0.0.0-...-33be9b5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: MIT Imports: 37 Imported by: 0

Documentation

Overview

Example (McpConfiguredServeArgs)
opts := &options{profile: "work", account: "default", readOnly: true}
configure := mcpConfigureOptions{
	mcpToolSelection: mcpToolSelection{
		Profile:      "readonly",
		Tools:        []string{"notion.*"},
		ExcludeTools: []string{"*.delete"},
	},
}
fmt.Println(strings.Join(mcpConfiguredServeArgs(opts, configure), " "))
Output:
mcp serve --profile work --account default --read-only --mcp-profile readonly --tool notion.* --exclude-tool *.delete

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

func NewRootCommandWithDeps

func NewRootCommandWithDeps(deps Dependencies) *cobra.Command

Types

type Dependencies

type Dependencies struct {
	Credentials credentials.Store
	HTTPClient  *http.Client
	Env         func(string) string
	ProviderURL map[string]string
	ProviderAPI map[string]string
	ToolmuxdURL string
}

Jump to

Keyboard shortcuts

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