Documentation
¶
Overview ¶
Package vscode provides CLI commands for managing VSCode MCP servers.
This package implements the 'mcp vscode' subcommands:
- enable: Add MCP server to VSCode configuration
- disable: Remove MCP server from VSCode configuration
- list: Show all configured MCP servers
Supports both workspace (.vscode/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 VSCode MCP servers. commandName is the name of the cobrax command in the Cobra tree (e.g. "mcp" or "agent"), used by enable to build the correct command path for editor config files. defaultEnv is merged into the server env on enable; user --env values take precedence.
Types ¶
This section is empty.