You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using OAuth 2.1, installing an MCP server would get much simpler and secure.
entering just a url (eg https://api.githubcopilot.com/mcp/ for github mcp), the CLI can trigger an oauth flow to complete authorization without copying secrets or putting them in config or env variables.
the process would be very similar to what you do already for authorizing a model.
VSCode has an implementation as MCP host that can be used for reference.
update: Claude Code added this too (MCP server is added with a cli command, and then auth flow is done when starting the tUI, I guess it makes sense bc there it handles re-connect, disconnect too)
➕1 to this. Would be great for the Honeycomb MCP as well. OAuth is going to become even more common given the updates to the MCP spec. Also being able to clearly call out that the remote transport is http would be nice.
Reacted by Dominik Tóth, BN-JuzzyP, Samuel Briole, Jan van den Berg, Thomas Payer, Matthew Bridges, Nick Taylor, Seth Gholson, Anthony Sanchez, Billy Janssen and 24 more
Just run npx mcp-remote https://mcp.linear.app/sse directly from the CLI to log in, first.
the feature request is not to have MCP remote (opencode already supports that well), it's to connect without creating api keys or copy-pasting secrets / putting a secret in a config file.
reconnect also becomes much simpler, bonus point if supporting refresh tokens (although I haven't seen other coding CLIs support that)
ps: bun recently launched secret storage, just suggesting maybe worth looking into for implementing this
Reacted by Hugues Clouâtre, Dorian Karter and Chindriș Mihai - Alexandru
Just run npx mcp-remote https://mcp.linear.app/sse directly from the CLI to log in, first.
the feature request is not to have MCP remote (opencode already supports that well), it's to connect without creating api keys or copy-pasting secrets / putting a secret in a config file.
reconnect also becomes much simpler, bonus point if supporting refresh tokens (although I haven't seen other coding CLIs support that)
ps: bun recently launched secret storage, just suggesting maybe worth looking into for implementing this
mcp-remote already supports oauth login (e.g. for Linear), and can therefore be used as a temporary work-around for the lack of secrets support in opencode
Just run npx mcp-remote https://mcp.linear.app/sse directly from the CLI to log in, first.
the feature request is not to have MCP remote (opencode already supports that well), it's to connect without creating api keys or copy-pasting secrets / putting a secret in a config file.
reconnect also becomes much simpler, bonus point if supporting refresh tokens (although I haven't seen other coding CLIs support that)
ps: bun recently launched secret storage, just suggesting maybe worth looking into for implementing this
mcp-remote already supports oauth login (e.g. for Linear), and can therefore be used as a temporary work-around for the lack of secrets support in opencode
my bad sorry, didn't realize it supports oauth now, it stores secrets in a file in home dir it seems, but it makes sense as a workaround 👍 thanks
Adjust redirect_uris to match your MCP client's OAuth callback. The above is OpenCode's default.
Configure the returned credentials in opencode.json:
figma: {enabled: true,type: remote,url: https://mcp.figma.com/mcp,oauth: {clientId: <client_id from response>,clientSecret: <client_secret from response>}}
Remove the figma entry from ~/.local/share/opencode/mcp-auth.json and then run opencode mcp auth figma and accept browser prompts
Enjoy your freedom, and again: shame on you Figma!
Reacted by shiyang-wuhan, Alec M. Wantoch, Arkadiusz Pawlak, pjos, Tristan M., gandol, WangBiaoxuan, nanosek, Norman Else, Rodrigo Delduca and 149 more
Reacted by Almendio, pjos, Viktor Peschenkov, Tristan M., gandol, WangBiaoxuan, nanosek, Lorenzo, Rodrigo Delduca, Vladislav Khripkov and 52 more
Reacted by Rodrigo Delduca, Izzur Zuhri, Disney, Léopold Jacquot, Guillaume Bogard, Kareem, shiyang-wuhan, Alec M. Wantoch, Ahn, Arkadiusz Pawlak and 105 more
Reacted by Leonardo Donelli, David [Chukwumeka] John, Serhii B., Nicolas Sutter, Victor Jolissaint, Léandre Daumont, Florian Schepp, Jacques Bodin-Hullin, Scott Woodend, Éverton Toffanetto and 41 more
TL;DR; Figma >Settings > Security > Personal access tokens, then Generate new token
Note: if you are on a server or virtual machine with no access to 127.0.0.1, and no time / option to expose the temp auth server, just curl the last redirect:
Here's a pure python script that takes a Figma personal access token and returns an access token that can be used in an HTTP header to authorize requests with the Figma MCP server:
Setting the client id and secret in opencode.json and then doing the OAuth authentication using OpenCode didn't work for me because I'm running OpenCode in a sandbox.
We have a figma client id finally so we can make this work out of the box, coming in an upcoming release
Reacted by Christoph Bessei, Simon Boriis, LeroThias, Viktor Peschenkov, Ahmed Ibrahem , Dan MH, Marc-Olivier Fiset, Rafly Nurfallah, Sergey Mochalov, Tomek Uzarowski and 19 more
Reacted by Ahmed Ibrahem , Marc-Olivier Fiset, Rafly Nurfallah, Tomek Uzarowski, Ahmad Hassan, EFEX, Jhon Steven Agudelo Rodríguez, Hunter Wilhelm, David Call, Ádám Simon and 8 more
Reacted by robinSantiagoNibbio, Michael, Ernesto Cruz Olivera, Houman Moallemi, Ramo Mislimi, Vladimir Dimitrov, Liam Cassidy, Roman Safronov, Matt, E_Chanoknan and 15 more
Reacted by robinSantiagoNibbio, Michael, Ryan Saffer, Roman Safronov, aocosmic, filipemarques33, John O'Really and Bernhard Berger
We finally got figma to approve our client, it should work out of the box now, we also have an official figma plugin that works in opencode v2, see here: #3984 (comment)
figma says their mcp server works best when paired with skills so they recommend using the plugin
Reacted by Rian, Ernesto Cruz Olivera, Cameron Johnson, Matias de Andrea and Dennis
Activity
bobbypiper commentedon Jul 17, 2025
Would be ideal for access to Sentry's MCP https://docs.sentry.io/product/sentry-mcp/
adrielp commentedon Jul 24, 2025
➕1 to this. Would be great for the Honeycomb MCP as well. OAuth is going to become even more common given the updates to the MCP spec. Also being able to clearly call out that the
remotetransport ishttpwould be nice.idl3 commentedon Aug 3, 2025
This would be useful for us before we can fully swap over as we have built quite a lot of workflows that rely on OAuth MCP's like Linear + Sentry.
samuelbriole commentedon Aug 5, 2025
+1 on this feature request.
Github and Notion now support Remote MCP servers, which simplifies a lot the setup process
samholmes commentedon Aug 8, 2025
This is also the official means of authenticating for Asana (https://developers.asana.com/docs/using-asanas-mcp-server)
ThomasAlbrt commentedon Aug 10, 2025
That would be fantastic as the current process is quite tedious.
BN-JuzzyP commentedon Aug 12, 2025
+1
thdxr commentedon Aug 12, 2025
yep on my list
wkronmiller commentedon Aug 30, 2025
As a temporary workaround, you can use
mcp-remote, for example:Just run
npx mcp-remote https://mcp.linear.app/ssedirectly from the CLI to log in, first.benjamine commentedon Aug 30, 2025
the feature request is not to have MCP remote (opencode already supports that well), it's to connect without creating api keys or copy-pasting secrets / putting a secret in a config file.
reconnect also becomes much simpler, bonus point if supporting refresh tokens (although I haven't seen other coding CLIs support that)
ps: bun recently launched secret storage, just suggesting maybe worth looking into for implementing this
rekram1-node commentedon Aug 30, 2025
@benjamine it isnt up to me but I do like the bun secret storage
wkronmiller commentedon Aug 30, 2025
mcp-remotealready supports oauth login (e.g. for Linear), and can therefore be used as a temporary work-around for the lack of secrets support in opencodebenjamine commentedon Aug 30, 2025
my bad sorry, didn't realize it supports oauth now, it stores secrets in a file in home dir it seems, but it makes sense as a workaround 👍 thanks
clouatre commentedon Sep 14, 2025
Enterprise OAuth Need Validated
Our enterprise MCP testing confirms the critical need for native OAuth 2.1 support.
Enterprise Use Case: Multi-tenant Atlassian deployments (Slalom, Plusgrade, PointsBU) requiring separate OAuth sessions per tenant.
Current Limitation: Proxy solutions like mcp-remote share OAuth sessions via coordination lockfiles, preventing true instance isolation:
Claude Code Reference: Native SSE + OAuth implementation handles this seamlessly:
Impact: Without native OAuth support, OpenCode enterprise users face architectural limitations that prevent complex multi-tenant MCP workflows.
This feature would eliminate dependency on third-party proxy solutions and enable enterprise-grade MCP deployments.
17 remaining items
hanpham32 commentedon Mar 4, 2026
This works for me. At which step did you get the 403 code?
hanpham32 commentedon Mar 5, 2026
Steps for connecting to Figma remote server:
Install the repo below:
Add this to your ~/.config/opencode/opencode.json:
Go back to the repo you just cloned and run this:
This will open your browser, go to Figma and authenticate your client. Should says something like OpenAI Codex is requesting to authenticate.
In the terminal, it will say that auth is successful. You should be able to use Figma MCP in your client now.
mosheduminer commentedon Mar 5, 2026
@hanpham32 i wasn't referring to the workaround, I was referring to stock opencode.
berenar commentedon Mar 6, 2026
Still failing
pprotas commentedon Mar 9, 2026
Shame on you Figma.... Here is a workaround without having to install a fork
Adjust redirect_uris to match your MCP client's OAuth callback. The above is OpenCode's default.
~/.local/share/opencode/mcp-auth.jsonand then runopencode mcp auth figmaand accept browser promptsEnjoy your freedom, and again: shame on you Figma!
awantoch commentedon Mar 10, 2026
@pprotas you're a legend
ag-LD commentedon Mar 12, 2026
Seems obvious, but for those who are not familiar with figma API, use a PAT (Personnal Access Token) to generate client id / secret :
To get your PAT $FIGMA_PERSONAL_ACCESS_TOKEN see https://developers.figma.com/docs/rest-api/authentication/#use-the-personal-access-token
TL;DR; Figma >Settings > Security > Personal access tokens, then Generate new token
Note: if you are on a server or virtual machine with no access to 127.0.0.1, and no time / option to expose the temp auth server, just curl the last redirect:
timjb commentedon Mar 29, 2026
Here's a pure python script that takes a Figma personal access token and returns an access token that can be used in an HTTP header to authorize requests with the Figma MCP server:
https://gist.github.com/timjb/c9b0ae4df23227647ea7944deb759ff1
Setting the client id and secret in
opencode.jsonand then doing the OAuth authentication using OpenCode didn't work for me because I'm running OpenCode in a sandbox.gberaudo commentedon Mar 31, 2026
Another almost no-dependency method, that creates a full mcp-auth.json file:
https://github.com/gberaudo/opencode-mcp-figma
fix(hooks): port doc-file-warning denylist policy to current hook run…
rekram1-node commentedon Jun 17, 2026
We have a figma client id finally so we can make this work out of the box, coming in an upcoming release
abdevts commentedon Jul 30, 2026
Any updates?
Moimoto commentedon Aug 12, 2026
Seems like the guys at Figma are trying to get in contact with you to make Figma MCP work with OpenCode:
https://forum.figma.com/suggest-a-feature-11/figma-s-approach-breaks-the-core-promise-of-mcp-52507?postid=209777#post209777
CamJohnson26 commentedon Sep 23, 2026
@rekram1-node Any update? Still broken as of September 23, version
1.18.32rekram1-node commentedon Oct 14, 2026
We finally got figma to approve our client, it should work out of the box now, we also have an official figma plugin that works in opencode v2, see here:
#3984 (comment)
figma says their mcp server works best when paired with skills so they recommend using the plugin