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 NewRootCommandWithDeps ¶
func NewRootCommandWithDeps(deps Dependencies) *cobra.Command
Types ¶
Click to show internal directories.
Click to hide internal directories.