Documentation
¶
Overview ¶
Package cli is `orb mcp`: it configures and checks MCP servers and signs in to OAuth servers without starting a session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, args []string, streams IO, dirs func() (cwd, agentDir string, err error), trusted func(cwd, agentDir string) bool) int
Run runs `orb mcp` with the arguments after "mcp" and returns its exit code. dirs resolves the working and agent directories; trusted reports whether the project at cwd is trusted, which admits its .orb/mcp.json.
Types ¶
Click to show internal directories.
Click to hide internal directories.