deepseek-web-harness
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DeepSeek Web Harness
Use an authenticated DeepSeek Web session as a local MCP tool from MCP-capable AI harnesses and third-party clients.
Step 1 flow:
MCP-capable harness / third-party client
|
v
deepseek-web-harness
|
local SKILL.md injection
|
v
signed-in normal Chrome profile
|
v
DeepSeek Web
|
v
responseThe first login is manual in a normal installed Chrome/Edge/Chromium window. The bridge then reuses that dedicated browser profile. It does not copy cookies or credentials into the repository.
Setup
npm install
npm run loginSign in to DeepSeek in the browser that opens, then close that browser normally.
Verify direct chat:
npm run chat -- "Reply with exactly: DEEPSEEK WEB READY"Start the MCP server:
npm run mcpStart the local OpenAI/Anthropic-compatible REST API:
npm run apinpm start は API サーバーモードで起動します。対話型の簡易 harness を使う場合だけ npm start -- --harness(または npm run harness)を指定します。harness では独立 session の切り替え、履歴・conversation URL の同期、fork/rename/compact、DeepThink/Search、画像やファイル添付、skill、自動 skill 選択、ストリーム風表示、推定 token 数と速度表示が使えます。ブラウザ UI は応答完了後にテキストを受け取るため、表示ストリームは遅延再生です。
Default base URL: http://127.0.0.1:8787. Swagger UI is available at http://127.0.0.1:8787/docs, the OpenAPI 3.1 document is at /openapi.json, and the DeepWiki indexing guide is at /deepwiki.
Generic MCP stdio config:
{
"mcpServers": {
"deepseek-web": {
"command": "node",
"args": ["E:/projects/deepseek-web-harness/server/index.js"]
}
}
}Tools:
ask_web_deepseek— prompt DeepSeek Web and return structured{ text, thinking, toolCalls, conversationUrl }. Supportsmode(instant,expert,imageRecognition),deepThink,search,newChat,attachments, localskills, and host tool schemas/results.deepseek_web_capabilities— inspect the signed-in Web UI for DeepThink, search, and file-upload support.list_deepseek_skills— list local skills.
REST compatibility endpoints:
POST /v1/chat/completions— OpenAI Chat Completions compatible.POST /v1/responses— OpenAI Responses compatible.POST /v1/messages— Anthropic Messages compatible.POST /v1/auto— automatically detects Anthropic viaanthropic-version, OpenAI Responses viainput, and OpenAI Chat viamessages.GET /v1/models— model aliases that automatically map to DeepThink, Expert, Vision, or Search.
See docs/API.md for OpenAI/Anthropic SDK examples and sharing/authentication setup. See docs/ARCHITECTURE.md for the data flow. The repository also has a DeepWiki entrypoint and DeepWiki page.
ask_web_deepseek accepts skills, for example ["concise"]. Skills live at skills/<name>/SKILL.md and are prepended to the prompt. attachments takes absolute local file paths and uploads them to DeepSeek Web before the prompt is sent. includeThinking: true returns the thinking text visibly rendered by DeepSeek Web separately from the final answer. The bridge also maps the current Web UI controls for Instant, Expert, Image Recognition, DeepThink, and Smart Search.
Tool calls use an MCP-friendly host round trip. Pass the host's available tool schemas in tools. If DeepSeek requests one, toolCalls is returned. Execute it in the host, then call ask_web_deepseek again with the returned conversationUrl and the matching toolResults. The browser bridge does not pretend DeepSeek Web has native MCP access; the host remains responsible for executing tools.
The current signed-in Web UI advertises uploads for common images (png, jpg, webp, gif, svg), PDFs, Office documents, spreadsheets, text/Markdown/CSV/JSON, source-code files, and several additional document/image formats. Use deepseek_web_capabilities to read the live accept list instead of hard-coding it in clients.
Headless mode is supported after the one-time manual login. Set DEEPSEEK_WEB_HEADLESS=1 and the bridge reuses the same signed-in browser profile without showing a window.
CLI examples:
npm run chat -- "Explain this carefully" --mode expert --deep-think --show-thinking --new-chat
npm run chat -- "What is in this file?" --mode imageRecognition --attach C:\path\image.png --new-chat
npm run chat -- "Find the latest information about this topic" --search --new-chat
$env:DEEPSEEK_WEB_HEADLESS="1"; npm run chat -- "Headless test" --new-chatDEEPSEEK_WEB_HEADLESS=1 npm run chat -- "Headless test" --new-chatRelated MCP server: deepseek-web
Credits
Inspired by miuuyy/codex-chatgpt-web, especially its local bridge -> owned browser session -> web AI response pattern. This project is a separate DeepSeek-oriented implementation.
Disclaimer
This is an unofficial third-party project and is not affiliated with, endorsed by, or sponsored by DeepSeek. It automates a browser session that you sign in to and control. You are responsible for using it in accordance with DeepSeek's terms, policies, rate limits, and applicable laws. DeepSeek may change its website, authentication, verification, models, limits, or available features at any time, which can partially or completely break this project. Do not use this project to bypass authentication, verification, access controls, or service restrictions. This software is provided "as is" without warranty; use it at your own risk.
Notes
Windows, Linux/Ubuntu, and macOS are supported. Common Chrome, Chromium, and Edge locations plus PATH are detected automatically.
Set
DEEPSEEK_WEB_CHROMEto the browser executable if auto-detection does not find it.If the site asks for verification or login again, run
npm run loginand complete it manually.Browser/site UI changes can require selector updates.
MIT licensed.
This server cannot be deployed
Related MCP Connectors
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Scrape, crawl and search the web for AI agents via MCP.
Browse the agentic web with Darwin: search, communicate, authenticate, and act through agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables DeepSeek Harness agents to control a real Jiey Browser instance via MCP, providing tools for web navigation, interaction, and data extraction.221 npm3MIT
- FlicenseNot gradedqualityBmaintenanceEnables MCP clients to ask questions and continue conversations with DeepSeek's web interface, with Expert mode and DeepThink reasoning enabled, without needing an official API key.2-
- FlicenseNot gradedqualityCmaintenanceEnables a local MCP server to control an authenticated Chrome browser for interacting with Google Search, Gemini, ChatGPT, Claude, and DeepSeek, including web search and image generation without per-provider API keys.-
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI agents to navigate, interact with, search, extract from, and automate websites using an anti-detection browser, with session persistence, multi-tab support, downloads, and batch workflows.549 npmMIT