cursor

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cursor provides CLI commands for managing Cursor MCP servers.

This package implements the 'mcp cursor' subcommands:

  • enable: Add MCP server to Cursor configuration
  • disable: Remove MCP server from Cursor configuration
  • list: Show all configured MCP servers

Supports both workspace (.cursor/mcp.json) and user-level configurations.

This is an internal package and should not be imported directly by users of the cobrax library. These commands are automatically available when using cobrax.Command() in your application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(commandName string, defaultEnv map[string]string) *cobra.Command

Command creates a new Cobra command for managing Cursor MCP servers. commandName is the Use name of the cobrax root command (e.g. "mcp" or "agent"), threaded through to enableCommand so that GetCmdPath can locate it. defaultEnv is merged into the server env on enable; user --env values take precedence.

Types

This section is empty.

Jump to

Keyboard shortcuts

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