commands.sh

opencode mcp

all

Manage MCP (Model Context Protocol) servers.

More info →

Options (1)

-h, --helpboolean

Display help

Example: opencode mcp {{[-h|--help]}}

Examples (6)

List MCP servers and their status

Add an MCP server interactively

Authenticate with an OAuth-enabled MCP server

opencode mcp auth server_name

Remove OAuth credentials for an MCP server

opencode mcp logout server_name

Debug OAuth connection for an MCP server

opencode mcp debug server_name

Display help

opencode mcp [-h|--help]
made by @shridhargupta | data from tldr-pages