Uh oh!
There was an error while loading. Please reload this page.
feat: mcp resources - #6542
Conversation
kziemski
commented
Jan 1, 2026
@paoloricciuti@rekram1-node , tested this works great so far. this and prompts completes the loop on mcp servers. |
paoloricciuti
commented
Jan 2, 2026
Uhm, just realized there might be a problem in case an MCP server exposes a resource as |
paoloricciuti
commented
Jan 2, 2026
Done! 😄 |
rekram1-node
commented
Jan 3, 2026
im gonna make a generic experimental endpoint so plugins can do this kinda thing too, and then merge those changes into here and integrate it |
paoloricciuti
commented
Jan 3, 2026
Uh that's interesting and very cool! Let me know if I can do something. |
rekram1-node
commented
Jan 4, 2026
/review |
lgtm |
Uh oh!
There was an error while loading. Please reload this page.
Closes#806
This adds the ability to add MCP resources in the opencode prompt. It works just like files, when you do
@it shows you the list of resources and you can select them...the resource is only fetched once the prompt is actually sent.Here's an example of the behaviour.
Screen.Recording.2025-12-31.at.19.52.09.mov
I had to create a new endpoint on the server (as we couldn't re-use one like with
Commandin prompts).