diff --git a/src/docs/src/mcp.md b/src/docs/src/mcp.md index 3ebcb63db..7656796d3 100644 --- a/src/docs/src/mcp.md +++ b/src/docs/src/mcp.md @@ -12,6 +12,7 @@ The Puter MCP server is hosted at [mcp.puter.com](https://mcp.puter.com). There'
Claude Code
Codex
+
opencode
@@ -38,6 +39,27 @@ You'll be sent to authenticate with Puter automatically.
+
+ +Add Puter to the `mcp` section of your [opencode config](https://opencode.ai/docs/mcp-servers/) (`opencode.json` in your project, or `~/.config/opencode/opencode.json` globally): + +```json +{ + "$schema": "https://opencode.ai/config.json", + "mcp": { + "puter": { + "type": "remote", + "url": "https://mcp.puter.com/", + "enabled": true + } + } +} +``` + +opencode handles the OAuth flow automatically, so it'll send you to authenticate with Puter the first time it needs access. You can re-run it anytime with `opencode mcp auth puter`. + +
+
Using a different MCP client? Point it at the HTTP endpoint https://mcp.puter.com/. The server uses OAuth, so your client will guide you through signing in to Puter.
## Usage