fix(plugin): use public Figma endpoint and OAuth defaults (#55252)

This commit is contained in:
Aiden Cline
2026-10-13 23:18:49 -05:00
committed by GitHub
Unverified
parent f576da508d
commit f1632d052d
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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.
+1 -2
View File
@@ -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",
})
})