← All platforms

DeepSeek Harness

DeepSeek's own agent CLI — not the consumer app, still in developer preview.

DeepSeek Harness (dsh) is DeepSeek's own open-source agent framework/CLI — not the consumer DeepSeek chat app, which has no custom-connector feature of its own. Verified against a real installation, both local and cloud. DeepSeek's own repo is still explicit that dsh is "in developer preview and iterating rapidly" with compatibility-breaking changes expected, so treat the config shape below as more likely to drift than the other clients on this site, even though it's confirmed working today.

Local (stdio)

Add a plugin entry in your project's cordis.yml. command runs uvx, which downloads and runs Spomory on demand — no install step:

- id: mcp-spomory
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: spomory
    transport: stdio
    command: uvx
    args: ["--from", "spomory[llm,embedding,mcp]", "spomory-mcp"]
    env:
      LLM_API_KEY: "..."
      LLM_BASE_URL: "https://api.deepseek.com"
      LLM_MODEL: "deepseek-v4-flash"

Prefer a fixed, pinned install over uvx's on-demand cache? Install into a virtual environment outside ~/Documents (pip install 'spomory[llm,embedding,mcp]'), then point command at that venv's bin/memory-core-mcp directly.

Where do these environment variables come from?

LLM_API_KEY is your key for whichever OpenAI-compatible provider you use for extraction — OpenAI, DeepSeek, Qwen, and others all work. LLM_BASE_URL and LLM_MODEL default to OpenAI if you leave them out; swap them to point at DeepSeek, Qwen, or any other OpenAI-compatible provider, or a fully local server (Ollama, vLLM, llama.cpp, MLX):

export LLM_API_KEY=...
export LLM_BASE_URL=https://api.deepseek.com   # optional, defaults to OpenAI
export LLM_MODEL=deepseek-v4-flash             # optional, defaults to gpt-4o-mini
export EMBEDDING_MODEL=BAAI/bge-m3             # optional, defaults to bge-m3
Full local setup guide, including the macOS ~/Documents gotcha →

Cloud (API key)

Same file, a streamable-http entry with a headers block:

- id: mcp-spomory-cloud
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: spomory-cloud
    transport: streamable-http
    url: https://api.yliuai.com/mcp-apikey/
    headers:
      x-api-key: "<your key>"

Verified against a real installation, resolving to the same account/memory graph as every other client on this page — though dsh's own maintainers still warn its config format may change.

Where does <your key> come from?

Get one instantly with curl — fine for your own testing:

curl -X POST https://api.yliuai.com/users/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}'
# the api_key in the response (starts with mck_) is shown only this once -- save it

That hands you a key with no proof you control the email — fine for testing, but for real use, get one through the email-confirmation form instead, which actually verifies the address.

Get a verified key on the Cloud & Apps page →

Make it actually get used

Connecting the tools doesn't mean your client reaches for them on its own — it needs to be told to call search_memory before answering and add_memory after you share something worth keeping. SKILL.md is a short instructions file that does that. How you load it is specific to each client: some auto-discover a skills folder the same way Claude Code does, others only have a custom-instructions or system-prompt field instead. Verified for this one:

DeepSeek Harness auto-discovers skills from .agents/skills/spomory/SKILL.md, same as several other CLIs above — though as noted, dsh's own config conventions are still described as likely to change.

SKILL.md on GitHub →