dsh-serena
Manifest validDeepSeek Harness profile bundle: Serena MCP integration — symbolic code intelligence via serena-agent, plus the Claude Code hooks bridge for project activation and tool-usage reminders
dsh-serena
One-line value: install this and every DeepSeek Harness agent gains IDE-grade symbolic code intelligence — find_symbol, find_referencing_symbols, rename_symbol, replace_symbol_body, get_symbols_overview and more — via the Serena MCP server, plus session hooks that keep agents actually using it.
Capability category: 工具与能力 (Tools & Capabilities) License: MIT · Compatibility: DSH ≥ 0.2.0-rc.2 (bundles API); Windows/macOS/Linux; Python ≥ 3.11 for the Serena CLI
What it adds to every agent on the profile
| Row | Module | Purpose |
|---|---|---|
mcp-serena | @deepseek-ai/dsh-mcp-client | Spawns the Serena MCP server (stdio) → mcp__serena__* tools: symbol search & overview, find references/implementations/declarations, rename & safe-delete symbols, symbolic editing, per-project memories, diagnostics |
dsh-hooks-claude-code | @deepseek-ai/dsh-hooks-claude-code (dependency of this bundle) | Runs ~/.dsh/hooks.json: session-start project activation prompt, tool-drift reminders toward Serena's tools, stop cleanup |
Launched with --context claude-code --project-from-cwd: each session auto-activates its workspace as the Serena project, and tools that duplicate DSH built-ins (file read/search/shell) stay hidden.
Install
One command (recommended):
dsh plugin --profile web add github:akash-digitavision/dsh-serena
or in Settings → Plugin Market (DSH Plugin Hub), search for dsh-serena.
Prerequisites
- The Serena CLI — the official install puts
serenaon your PATH (the bundle's default):
Custom location? Point the bundle at it:# install uv first: https://docs.astral.sh/uv/getting-started/installation/ uv tool install -p 3.13 serena-agentsetx SERENA_COMMAND "C:\path\to\serena.exe"Windows note (Smart App Control / WDAC): application-control policies may block uv-managed unsigned Python builds. Workaround: build a venv from a trusted/signed interpreter,
pip install serena-agentinto it, andsetx SERENA_COMMANDto that venv'sserena.exe. - The hooks file
~/.dsh/hooks.json(Windows:%USERPROFILE%\.dsh\hooks.json) — copyhooks.template.json:{ "SessionStart": [{ "matcher": "", "hooks": [{ "type": "command", "command": "serena-hooks activate --client=claude-code" }] }], "PreToolUse": [{ "matcher": "", "hooks": [{ "type": "command", "command": "serena-hooks remind --client=claude-code" }] }], "Stop": [{ "matcher": "", "hooks": [{ "type": "command", "command": "serena-hooks cleanup --client=claude-code" }] }] }serena-hooksships withuv tool install serena-agent. If it is not on the DSH process PATH, use the absolute path to the executable in the template.
Then restart DeepSeek Harness. Verify by asking an agent: "activate this project with serena".
Permissions & external services
- Spawns a local
serenaMCP server process (language servers may download per-language tooling on demand) - Reads/writes only your activated project workspaces; memories stored per-project in
.serena/ - No accounts, no API keys, no telemetry
Known limitations
- The hooks-bridge dependency is version-pinned (
@deepseek-ai/dsh-hooks-claude-code0.2.0-rc.2); if your DSH runtime is newer and install is rejected for peer incompatibility, match the version to your runtime - First symbol query in a new project downloads that language's language server — first call can be slow
Uninstall
Remove dsh-serena from the profile dsh.profile.bundles + dependencies (or dsh plugin remove), then restart the host. The Serena CLI, venv and hooks file are independent of the bundle.
Credits
Upstream: oraios/serena (MIT / GPL-3.0) — this bundle only wires it into DeepSeek Harness.
Comments
Loading…
From the same category
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 242/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 8.8k
↓ 7.5k/wk
MIT
TypeScript
Oct 13, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injectorby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 6.4k
↓ 138.4k/wk
MIT
TypeScript
Oct 13, 2026
dsh plugin --profile web add dshmarketby Q00
Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode,
★ 6.2k
MIT
Python
Oct 14, 2026
by superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 5.3k
NOASSERTION
Python
Oct 14, 2026
dsh plugin --profile web add treg-dsh