From 314732e7330e5cbd430cd6b39180da20d72a04fb Mon Sep 17 00:00:00 2001 From: franktronicsprog Date: Fri, 12 Jun 2026 22:19:33 +0200 Subject: [PATCH] feat: update doc to add opencode installation instructions --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index adf1224..3972d7c 100644 --- a/README.md +++ b/README.md @@ -188,6 +188,26 @@ Open the "Settings" page of the app, navigate to "Plugins," and enter the follow } ``` +### Install in Opencode + +Add this to your OpenCode configuration (located by default in ~/.config/opencode/opencode.json or opencode.json for local/project config). See [Opencode MCP config](https://opencode.ai/docs/mcp-servers/) for more info. + +```json +{ + "mcp": { + "dokploy": { + "type": "local", + "command": ["npx", "-y", "@dokploy/mcp"], + "environment": { + "DOKPLOY_URL": "https://your-dokploy-server.com", + "DOKPLOY_API_KEY": "your-dokploy-api-token" + }, + "enabled": true + } + } +} +``` + ### Using Docker The Docker container supports both **stdio** and **HTTP** transport modes, making it flexible for different deployment scenarios.