Skip to content

Support for Cursor? #2072

Closed as not planned
Closed as not planned

Description

@ThallesP

As Cursor has released their own CLI (https://cursor.com/cli), I'm wondering if Opencode could support it. It's just a thought, as I'm guessing the API for it is not made for public use or documented in any way, but it's worth a shot.

Activity

  1. github-actions commented on Aug 19, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Aug 19, 2025

    @rekram1-node
    Collaborator

    I don't know if they have a generic inference api, also I recall @thdxr mentioning he is friendly w/ CEO of cursor so would only do this if they gave the ok

  3. justyns commented on Sep 9, 2025

    @justyns

    I'm not sure about tos/etc, but the cursor cli does have something that streams json output similar to claude code:

    https://docs.cursor.com/en/cli/reference/output-format

  4. samholmes commented on Sep 11, 2025

    @samholmes

    Could @thdxr ask the CEO of Cursor for the party favor?

  5. Nasseratic commented on Sep 16, 2025

    @Nasseratic

    I need this :)

  6. ivanp commented on Oct 3, 2025

    @ivanp

    This would be so awesome.

  7. bapjiws commented on Nov 3, 2025

    @bapjiws

    That would be really cool 💯

  8. wizardengineer commented on Nov 8, 2025

    @wizardengineer

    this would be amazing to have

  9. Nasseratic commented on Nov 8, 2025

    @Nasseratic

    Plzzzzz @thdxr ❤️

  10. wizardengineer commented on Nov 8, 2025

    @wizardengineer

    Would it be possible to have inline autocompletion on nvim through cursor cli?

  11. rekram1-node commented on Nov 8, 2025

    @rekram1-node
    Collaborator

    @wizardengineer we are thinking about how we could do something for completions

  12. wizardengineer commented on Nov 8, 2025

    @wizardengineer

    we are thinking about how we could do something for completions

    You don't know how many lives you'll improve with this one feature...it'd be a complete game changer!!

    Let me know what you guys have cooking up. Really interested in the progress on completions

  13. rekram1-node commented on Nov 8, 2025

    @rekram1-node
    Collaborator

    @wizardengineer ill let u know once we have something coming rn it is still in the investigation / weighing options phase

  14. itse4elhaam commented on Nov 24, 2025

    @itse4elhaam

    Would love this, with @wizardengineer on this, it would be a massive QoL improvement.

  15. 53 remaining items

  16. self-assigned this
    on May 3, 2026
  17. jpcaparas commented on May 8, 2026

    @jpcaparas

    @rekram1-node any updates? 🙏

  18. joaomj commented on May 21, 2026

    @joaomj

    @rekram1-node any update? This would be so cool for us employeers from companies which only allow cursor.

  19. Javierg9n4 commented on Jun 5, 2026

    @Javierg9n4

    This would be super awesome and very useful for so many people since the release of composer 2.5 and the recent copilot pricing apocalypse... 🙏🙏🙏

  20. tomivm commented on Jun 9, 2026

    @tomivm

    Waiting too. I want to use cursor tokens in my normal Opencode flow :)

  21. rektide commented on Jun 11, 2026

    @rektide
    Contributor
  22. dhruvkej9 commented on Jun 24, 2026

    @dhruvkej9

    +1

  23. Nomadcxx commented on Jun 28, 2026

    @Nomadcxx
    Contributor

    Honestly guys I would not expect native cursor support in opencode until cursor unwalls their garden and creates clearer integration path. Cursor has real value: models, auth, indexing, and composer etc, but the problem is that cursor will not hand that over in a format or shape opencode needs to stay in charge of tool use: read this file, write that file, ask for permission, continue after the result etc, cursor often wants to run its own agent flow instead.

    And importantly that's true even from my testing of their ACP re Jetbrains/Zed and cursor-agent.

    TL;DR blocker is mostly on cursor side, native support is worth exploring, but I wouldn't expect it anytime soon guys.

    The least worst option at this stage IMO is a bridge that, put simply, translates cursor talk into opencode talk and I'm not aware of what else does that then the above plugin (which now creates a hook in cursor-agent itself to steer models more effectively).

    If you are interested I documented the current gates and blockers: https://github.com/Nomadcxx/opencode-cursor/blob/main/docs/architecture/cursor-acp-mcp-future.md

  24. oakimov commented on Jul 13, 2026

    @oakimov
  25. Nomadcxx commented on Jul 13, 2026

    @Nomadcxx
    Contributor

    I've created an intergration/support that works natively with Cursor RPCs/APIs @rekram1-node https://github.com/oakimov/cursor-opencode-provider

    This is a very cool approach, basically impersonates/spoofs CLI client (device-id and fingerprinting as well) via undocumented protobuf endpoint reverse-engineered out of cursor's shipped bundle.

    IMO this is the superior design, nit issues are hardcoded token use ( language-model.ts:315) and hardcoded/pinned client version in shared.ts. That last one is only problematic if cursor endpoint starts enforcing client version, which at the moment it only does partially e.g. cli-2026.07.09-a3815c0 and cli-2020.01.01-000000 even cli-9999.99.99-zzzzzz will work with the endpoint but not something like fake-2026.06.04 which fails.

    ToS-wise it's a deeper gray than the OAuth plugins since it RE's the protocol (which I've tried to avoid), but realistically who cares.

    TL;DR this is farking excellent, it is one server-side config change from breaking if cursor wants to enforce but meh that's true for a lot of plugins.

  26. justin-carper commented on Jul 14, 2026

    @justin-carper

    I also created a plugin that leverages the Cursor SDK to run in opencode. hope it helps! https://github.com/stablekernel/opencode-cursor

  27. github-actions commented on Sep 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions