{"modulePath":"github.com/kernel/cli","version":"v0.54.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mcp\n\n## Constants\n\n```go\nconst KernelMCPURL = \"https://mcp.onkernel.com/mcp\"\n```\nKernelMCPURL is the URL for the Kernel MCP server\n\n## Variables\n\n```go\nvar MCPCmd = \u0026cobra.Command{\n\tUse:   \"mcp\",\n\tShort: \"Configure Kernel MCP server for AI tools\",\n\tLong:  \"Commands for configuring the Kernel MCP server in AI development tools like Cursor, Claude, VS Code, and more.\",\n\tRun: func(cmd *cobra.Command, args []string) {\n\n\t\t_ = cmd.Help()\n\t},\n}\n```\nMCPCmd is the parent command for MCP operations\n\n## Functions\n\n```go\nfunc GetConfigPath(target Target) (string, error)\n```\n\n```go\nfunc Install(target Target) error\n```\n\n## Types\n\n```go\ntype MCPServerConfig struct {\n\tURL     string   `json:\"url,omitempty\"`\n\tCommand string   `json:\"command,omitempty\"`\n\tArgs    []string `json:\"args,omitempty\"`\n\tType    string   `json:\"type,omitempty\"`\n}\n```\nMCPServerConfig represents the configuration for an MCP server.\n\n```go\ntype Target string\n```\nTarget represents a supported MCP client target\n\n```go\nconst (\n\tTargetCursor      Target = \"cursor\"\n\tTargetClaude      Target = \"claude\"\n\tTargetClaudeCode  Target = \"claude-code\"\n\tTargetAntigravity Target = \"antigravity\"\n\tTargetWindsurf    Target = \"windsurf\"\n\tTargetVSCode      Target = \"vscode\"\n\tTargetGoose       Target = \"goose\"\n\tTargetZed         Target = \"zed\"\n\tTargetFx          Target = \"fx\"\n)\n```\n\n```go\nfunc AllTargets() []Target\n```\n\n","path":"github.com/kernel/cli/cmd/mcp","name":"mcp","synopsis":"","isRedistributable":true}
