← 返回命令列表

Linux command

opencode-mcp 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Add

opencode mcp add [name] [command]

List

opencode mcp list

Remove

opencode mcp remove [name]

Debug

opencode mcp debug [name]

说明

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.

FAQ

What is the opencode-mcp command used for?

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.

How do I run a basic opencode-mcp example?

Run `opencode mcp add [name] [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more opencode-mcp examples?

This page includes 4 examples for opencode-mcp, plus related commands for nearby Linux tasks.