MCP (Model Context Protocol) server management commands.
Wraps claude mcp add|remove|list|get|serve|reset-project-choices.
Summary
Functions
Add a stdio MCP server.
Add an MCP server from a JSON configuration.
Get details for a specific MCP server.
List configured MCP servers.
Remove an MCP server.
Reset project choices for MCP servers.
Types
Functions
@spec add(ClaudeWrapper.Config.t(), String.t(), String.t(), [String.t()], keyword()) :: {:ok, String.t()} | {:error, term()}
Add a stdio MCP server.
@spec add_json(ClaudeWrapper.Config.t(), String.t(), String.t(), keyword()) :: {:ok, String.t()} | {:error, term()}
Add an MCP server from a JSON configuration.
@spec get(ClaudeWrapper.Config.t(), String.t(), keyword()) :: {:ok, map()} | {:error, term()}
Get details for a specific MCP server.
@spec list( ClaudeWrapper.Config.t(), keyword() ) :: {:ok, [map()]} | {:error, term()}
List configured MCP servers.
@spec remove(ClaudeWrapper.Config.t(), String.t(), keyword()) :: {:ok, String.t()} | {:error, term()}
Remove an MCP server.
@spec reset_project_choices(ClaudeWrapper.Config.t()) :: {:ok, String.t()} | {:error, term()}
Reset project choices for MCP servers.