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 ¶
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.