dsh-cursor-subscription
Manifest valid★ 5Log 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 账户并
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, including requests, Auto + Composer usage, other-model (API) usage, per-model spend, on-demand spend, and billing cycle.
- View and manually refresh the models available to the current account.
- Configure the per-run tool-round limit and HTTP retry count, interval, and status codes 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.
Installation
Install with an Agent (Recommended)
Send the agent a link to AGENTS.md. It contains the instructions for installation, updates, removal, and verification.
Manual Installation with the dsh Command
dsh plugin --profile web add dsh-cursor-subscription
dsh plugin --profile web list dsh-cursor-subscription --depth 0
dsh --profile web --dump-config
The installed package list should contain exactly one dsh-cursor-subscription, and the composed configuration should contain exactly one cursor-subscription entry.
pnpm 11 and later ship a built-in 24-hour minimumReleaseAge gate, so a plain add never selects a version published within the last 24 hours. Right after a release, install it explicitly (dsh plugin --profile web add dsh-cursor-subscription@0.5.8) or exempt this package by name in the profile's pnpm-workspace.yaml:
minimumReleaseAgeExclude:
- dsh-cursor-subscription
Local Development Installation
Run the following command in the profile directory, such as %USERPROFILE%\.dsh\profiles\web:
pnpm add file:D:/mcp/dsh-cursor-subscription
Then add dsh-cursor-subscription to the dsh.profile.bundles array in package.json and restart DSH.
Sign-in and Usage
- Open Settings -> Cursor Subscription in DSH.
- Select Browser Sign-in. Your browser will open the Cursor sign-in page.
- Complete sign-in and authorization. The settings page will automatically show that you are signed in.
- Select a Cursor model from the model picker, such as
composer-2orclaude-4-sonnet.
When a tool is required, the agent converts Cursor's tool request into a local DSH tool execution. The result is returned to the model through the conversation history; Cursor's filesystem tools are not used.
The Runtime settings card controls the maximum tool rounds in one Cursor run and the HTTP retry policy. Retry count means additional attempts and defaults to 0 (disabled). Cursor's streaming POST protocol cannot prove that a failed attempt was not processed remotely, so enabling retries may repeat model work or usage. Retries occur only before any response output when the initial HTTP status matches the configured list.
Updating and Removing
dsh plugin --profile web update dsh-cursor-subscription # Update
dsh plugin --profile web remove dsh-cursor-subscription # Remove
If DSH is running, restart it manually after installation or an update.
Troubleshooting
- DSH still reports that you are signed out after sign-in: Make sure the browser completed the entire authorization flow and redirected to the completion page. Polling waits for up to approximately 2.5 minutes.
- The model list is empty:
GetUsableModelsdepends on the account type. If discovery fails, the plugin uses its built-in model list, and you can still enter a model name manually. - Requests return 401: If the access token has expired and the refresh token is no longer valid, sign in again from the settings page.
- DSH fails to start with
cannot get property "webServer" without inject: The installed DSH's Connection plugin does not declarewebServer, which the older channel registration relied on. Install version 0.5.8 or later of this plugin. - A plain install picks an old version: pnpm's built-in 24-hour
minimumReleaseAgegate skips releases published within the last day. Install an explicit version or exempt this package by name; see the installation section. - The server protocol changed: Cursor's Agent protocol is unpublished. If requests fail, check for a plugin update.
Scope and Support
- Image input (user-uploaded attachments) is supported. Cursor-native features such as image generation and web search remain outside this plugin's scope.
- Report problems through the repository's Issues page.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.5.3 | — | — |
| 0.5.4 | — | — |
| 0.5.5 | — | — |
| 0.5.6 | — | — |
| 0.5.7 | — | — |
| 0.5.8 | — | — |
| 0.6.1 | — | — |
| 0.6.2 | — | — |
Comments
Loading…
Similar plugins
by yequ172672
DSH 插件:直接复用 Codex CLI 本地登录订阅凭证,在 DeepSeek Harness 中使用 ChatGPT 订阅模型,无需 API Key | DSH plugin: reuse your Codex CLI local subscription login to use ChatGPT subscription models in DeepSeek Harness, no API
★ 18
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-llm-codexby NinjaSln-labs
DeepSeek Harness 插件:Cursor-as-subagent 提供方——一次本地 @cursor/sdk one-shot 运行、摘要优先结果、可无人值守的 Profile Bundle
★ 0
↓ 353/wk
MIT
TypeScript
Sep 5, 2026
dsh plugin --profile web add dsh-subagent-cursorby xytoki
在DeepSeek Hareness中引入Cursor Hareness,获得和Cursor一致的速度与体验。非官方调用cursor api,可能引入账号风险,谨慎使用。
★ 0
↓ 73/wk
MIT
TypeScript
Sep 10, 2026
dsh plugin --profile web add @xytoki/dsh-cursor-agentby dshplugin
DeepSeek Harness 社区内置插件市场(dsh-plugin)— 搜索插件、下载并安装 4000+ 人工精选社区插件,每日更新、完全免费。内置在 Harness「设置 → 插件中心」,无需离开应用即可浏览、搜索、安装各类 AI 插件。
★ 114
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add dsh-pluginby WSL043
把 ChatGPT / Codex 订阅接入 DeepSeek Harness:OAuth、模型、额度、搜索和图片生成,无需 API Key 或 Codex CLI。
★ 73
MIT
JavaScript
Sep 16, 2026
dsh plugin --profile web add dsh-codex-subscriptionby ZSeven-W
DeepSeek Harness plugin for browser automation, headless first. Every agent gets its own throwaway Chrome/Edge/Chromium profile, short-lived semantic references instead of CSS selectors, scoped subtre
★ 0
MIT
JavaScript
Sep 17, 2026
dsh plugin --profile web add @zseven-w/dsh-browser