ctaxnagomi commited on
Commit
9e35721
·
verified ·
1 Parent(s): fe0ae76

Add mcp doc

Browse files
Files changed (1) hide show
  1. docs/mcp-servers.md +13 -0
docs/mcp-servers.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MCP Servers (OpenCode V2)
2
+
3
+ Setup: opencode mcp add <name> --url <url> or -- command. Use --global. Check opencode mcp list.
4
+
5
+ Config: mcp.servers with unique names. type local or remote. disabled: true to keep without connecting.
6
+
7
+ Local: command, cwd, environment. Remote: url, headers, oauth, disabled, codemode, timeout, protocol.
8
+
9
+ OAuth enabled by default for remote; use oauth: false with API key headers. Manage with opencode mcp auth/logout.
10
+
11
+ Timeouts: startup, catalog, execution. Protocol: legacy (default), auto, 2026-07-28.
12
+
13
+ Tools named server_tool. Permissions can hide/deny tools. Resources via list_mcp_resources/read_mcp_resource.