diff --git a/apps/docs/content/docs/mcp.mdx b/apps/docs/content/docs/mcp.mdx index 95044d76956..99fd2495586 100644 --- a/apps/docs/content/docs/mcp.mdx +++ b/apps/docs/content/docs/mcp.mdx @@ -38,8 +38,32 @@ gemini mcp add --transport http superset https://api.superset.sh/api/agent/mcp ``` -```bash title="terminal" +Run `opencode mcp add` and follow the interactive prompts: + +```ansi title="terminal" opencode mcp add + +┌ Add MCP server +│ +◇ Location +│ Current project +│ +◇ Enter MCP server name +│ superset +│ +◇ Select MCP server type +│ Remote +│ +◇ Enter MCP server URL +│ https://api.superset.sh/api/agent/mcp +│ +◇ Does this server require OAuth authentication? +│ Yes +│ +◇ Do you have a pre-registered client ID? +│ No +│ +└ MCP server added successfully ``` diff --git a/opencode.json b/opencode.json index 8a2e5800892..37b36d545f3 100644 --- a/opencode.json +++ b/opencode.json @@ -6,7 +6,8 @@ "mcp": { "superset": { "type": "remote", - "url": "https://api.superset.sh/api/agent/mcp" + "url": "https://api.superset.sh/api/agent/mcp", + "oauth": {} } } }