mcp

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const KernelMCPURL = "https://mcp.onkernel.com/mcp"

KernelMCPURL is the URL for the Kernel MCP server

Variables

View Source
var MCPCmd = &cobra.Command{
	Use:   "mcp",
	Short: "Configure Kernel MCP server for AI tools",
	Long:  "Commands for configuring the Kernel MCP server in AI development tools like Cursor, Claude, VS Code, and more.",
	Run: func(cmd *cobra.Command, args []string) {

		_ = cmd.Help()
	},
}

MCPCmd is the parent command for MCP operations

Functions

func GetConfigPath

func GetConfigPath(target Target) (string, error)

func Install

func Install(target Target) error

Types

type MCPServerConfig

type MCPServerConfig struct {
	URL     string   `json:"url,omitempty"`
	Command string   `json:"command,omitempty"`
	Args    []string `json:"args,omitempty"`
	Type    string   `json:"type,omitempty"`
}

MCPServerConfig represents the configuration for an MCP server.

type Target

type Target string

Target represents a supported MCP client target

const (
	TargetCursor      Target = "cursor"
	TargetClaude      Target = "claude"
	TargetClaudeCode  Target = "claude-code"
	TargetAntigravity Target = "antigravity"
	TargetWindsurf    Target = "windsurf"
	TargetVSCode      Target = "vscode"
	TargetGoose       Target = "goose"
	TargetZed         Target = "zed"
	TargetFx          Target = "fx"
)

func AllTargets

func AllTargets() []Target

Jump to

Keyboard shortcuts

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