Skip to content

Commit f1632d0

Browse files
authored
fix(plugin): use public Figma endpoint and OAuth defaults (#55252)
1 parent f576da5 commit f1632d0

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/plugins/figma/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The plugin is not activated merely by being present in the repository. Installin
3131
2. Confirm that the server is connected.
3232
3. Ask the agent to call Figma's `whoami` tool.
3333

34-
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.
34+
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.
3535

3636
Existing `mcp.servers.figma` configuration takes precedence, including disabled servers and custom endpoints.
3737

‎packages/plugins/figma/index.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ export default Plugin.define({
1111
if (editor.get("figma")) return
1212
editor.set("figma", {
1313
type: "remote",
14-
url: "https://mcp.figma.com/mcp/8CKW0Mgge6TtIHM5ko0YxQ",
15-
oauth: { scope: "mcp:connect" },
14+
url: "https://mcp.figma.com/mcp",
1615
})
1716
})
1817

0 commit comments

Comments
 (0)