Repository navigation
fix(mcp): explain Figma OAuth registration denials - #73
Conversation
|
Confidence: 4.5/5Small, self-contained error-message change on the OAuth registration path. It reproduces against the real Figma server and the tests cover the matching rules. Checks run:
Confidence bumps:
SummaryWhen dynamic client registration gets HTTP 403, the error now says what happened and what to do. For Figma (real server) Other provider (mock server) Mapflowchart LR
A[authenticate_with_url_action] -->|register_client fails| B[registration_error]
B -->|403 + mcp.figma.com| C[Figma guidance]
B -->|403 + other host| D[clientId guidance]
B -->|anything else| E[original message]
F[tests in oauth.rs] --> B
Start at RegressionsNone found. Non-403 failures are asserted to keep the exact old message. One thing to know: the 403 check matches the text MigrationsNone. Before merging
|
|
Follow-up on whether this blocks people using crabcode with the Figma MCP. For the remote server ( Workaround today: the Figma desktop MCP server.
Follow-ups, none needed for this PR:
I'm not suggesting spoofing another client's name to get past the allowlist. |


Summary
Tests