From f1632d052de5ee0cffe28a34dc1a5346a6bf7136 Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Tue, 13 Oct 2026 23:18:49 -0500 Subject: [PATCH] fix(plugin): use public Figma endpoint and OAuth defaults (#55252) --- packages/plugins/figma/README.md | 2 +- packages/plugins/figma/index.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/plugins/figma/README.md b/packages/plugins/figma/README.md index 544b55cbaf2..956a710aa7c 100644 --- a/packages/plugins/figma/README.md +++ b/packages/plugins/figma/README.md @@ -31,7 +31,7 @@ The plugin is not activated merely by being present in the repository. Installin 2. Confirm that the server is connected. 3. Ask the agent to call Figma's `whoami` tool. -The connection uses the approved app-specific endpoint `https://mcp.figma.com/mcp/8CKW0Mgge6TtIHM5ko0YxQ`. The app ID belongs in that URL, not in `oauth.client_id`; setting a configured client ID would skip DCR. +The connection uses Figma's public endpoint with dynamic client registration (DCR). OAuth discovery supplies the scope, and OpenCode chooses an available loopback callback port; no client credentials or explicit OAuth settings are needed. Existing `mcp.servers.figma` configuration takes precedence, including disabled servers and custom endpoints. diff --git a/packages/plugins/figma/index.ts b/packages/plugins/figma/index.ts index e23868c7cc1..9232de4bbe9 100644 --- a/packages/plugins/figma/index.ts +++ b/packages/plugins/figma/index.ts @@ -11,8 +11,7 @@ export default Plugin.define({ if (editor.get("figma")) return editor.set("figma", { type: "remote", - url: "https://mcp.figma.com/mcp/8CKW0Mgge6TtIHM5ko0YxQ", - oauth: { scope: "mcp:connect" }, + url: "https://mcp.figma.com/mcp", }) })