LinuxCommandLibrary

opencode-mcp

Manage OpenCode MCP servers

TLDR

Add an MCP server

$ opencode mcp add [name] [command]
copy
List configured MCP servers
$ opencode mcp list
copy
Remove an MCP server
$ opencode mcp remove [name]
copy
Debug an MCP server connection
$ opencode mcp debug [name]
copy

SYNOPSIS

opencode mcp subcommand [options]

DESCRIPTION

opencode mcp manages Model Context Protocol (MCP) servers for OpenCode. MCP servers extend OpenCode's capabilities by providing additional tools, resources, and context to the AI agent. You can add, list, authenticate, remove, and debug MCP server connections.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard