orrinzeng/dsh-cursor-subscription

Log directly into your Cursor account within DeepSeek Harness and use your Cursor subscription — no API Key required, and no dependency on Cursor IDE or Cursor CLI. 在 DeepSeek Harness 中直接登录 Cursor 账户并使用 Cursor 订阅,不需要 API Key, 也不依赖 Cursor IDE 或 Cursor CLI。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that enables DSH users to access their existing Cursor subscription models directly within DSH, without needing a separate API key, Cursor IDE, or Cursor CLI. It preserves DSH’s existing session, tool, and permission systems, so you do not have to adjust your existing DSH workflow to use it. It can be installed in multiple ways: the recommended method is to send your DSH agent a link to the project’s AGENTS.md file, which contains all setup, update, and removal instructions. You can also install it manually via the DSH command line, then restart DSH to activate the plugin.

This plugin is designed for developers who already have an active Cursor subscription and prefer to use DSH for their daily development workflow. After installation, you can access the plugin’s settings page via DSH’s settings menu under the Cursor Subscription section. To get started, click the Browser Sign-in button, which will open the Cursor sign-in page in your default browser. Once you complete the authorization flow, the plugin will automatically detect that you are signed in, store your credentials securely in DSH’s local credential store, and automatically refresh your access token when it expires.

This plugin is released under the open-source MIT license, and is a community-driven reverse-engineering project that integrates with Cursor’s unpublished internal agent protocol. It is not affiliated with or endorsed by Anysphere or Cursor, so you must comply with Cursor’s terms of service when using this plugin. Because it relies on an unpublished protocol, the plugin may stop working if Cursor changes its server-side implementation, and users are encouraged to check for plugin updates if they encounter issues. Currently, user-uploaded image input is supported, but Cursor-native features like image generation and web search are outside the plugin’s scope.

这是一个专为 DeepSeek Harness(DSH)开发的原生插件,支持用户直接在 DSH 中使用自己已有的 Cursor 订阅,无需额外申请 API 密钥,也不依赖 Cursor IDE 或 Cursor CLI。该插件遵循 DSH 现有的会话、工具和权限体系,登录完成后,用户可直接从 DSH 的模型选择器中选中 Cursor 订阅的模型,工具调用则通过 DSH 的本地工具集执行。

该插件适合拥有 Cursor 个人订阅,希望整合到 DSH 开发工作流中使用大模型的开发者。使用流程简洁清晰:用户打开 DSH 设置页面进入「Cursor 订阅」板块,选择浏览器登录完成账号授权即可开始使用。它支持自动刷新令牌,适配多语言,界面会跟随 DSH 的系统语言设置切换。

该插件采用 MIT 许可证开源,是基于逆向工程 Cursor 未公开代理协议开发的社区项目,不隶属于 Anysphere 或 Cursor 官方,如果 Cursor 修改服务端实现,插件可能会失效。安装可通过发送 AGENTS.md 链接给代理,也可用 dsh 命令行手动安装,安装更新后需重启 DSH 生效,使用需遵守 Cursor 服务条款。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 9 stars - very few users, little community feedback星标只有 9,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-cursor-subscription

把 orrinzeng/dsh-cursor-subscription 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Cursor Subscription

English | 简体中文

Sign in to your Cursor account and use your Cursor subscription directly from DeepSeek Harness—without an API key and without depending on the Cursor IDE or Cursor CLI. The plugin preserves DSH's existing session, tool, and permission systems: once signed in, you can select Cursor subscription models from the model picker, while agent tool calls are executed through DSH's local toolset.

⚠️ This plugin integrates with Cursor's unpublished Agent protocol (agent.v1.AgentService/Run). It is a community reverse-engineering project and may stop working when Cursor changes its server-side implementation. This project is not affiliated with or endorsed by Anysphere or Cursor. Please comply with Cursor's terms of service.

Features

  • Use a Cursor subscription directly in DSH through browser-based PKCE sign-in—no API key required.
  • Store credentials in DSH's local credential store and refresh access tokens automatically.
  • Discover models available to the current account dynamically through Cursor's GetUsableModels, with a built-in fallback list if discovery fails.
  • Stream conversations with reasoning output, image attachments, and DSH tool calls.
  • View sign-in status and token expiration in the settings page, which labels itself with the installed build version.
  • View and manually refresh subscription usage as Cursor's own dashboard lays it out: an included-usage table with the Cursor Models and Other Models pools, each followed by the models that drew on it, with token counts and percentages per row, plus included requests, on-demand spend, and the billing cycle.
  • View and manually refresh the models available to the current account, listed by name instead of Cursor's response order.
  • Configure the per-run tool-round limit, the HTTP retry policy, and whether every step replays the full history from the settings page.
  • Read the settings page in Simplified Chinese, English, Traditional Chinese, Japanese, Korean, Spanish, French, German, Italian, Brazilian Portuguese, Russian, or Arabic. The panel mirrors itself for Arabic; contributed languages join DSH's own language picker under Settings → General → Language and fall back to English outside the panel.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-llm-codebuddy 下一个 Next dsh-usage-chart →