DeepSeek Scout MCP
FastMCP 服务器,封装 DeepSeek 的 Search 与 Fetch 能力。
服务配置(STDIO · 平台托管部署)
{
"mcpServers": {
"deepseek-scout": {
"command": "uvx",
"args": [
"deepseek-scout-mcp@latest"
],
"env": {
"DEEPSEEK_API_KEY": "<YOUR_DEEPSEEK_API_KEY>"
}
}
}
}
API Key 传递方式
- STDIO 托管部署:平台读取上面配置的
env.DEEPSEEK_API_KEY注入环境变量,服务端从中读取。 - Streamable HTTP:调用方通过请求头传入,服务端不保存、不需要配置 Key。
Authorization: Bearer <你的 DeepSeek API Key>
备选:X-DeepSeek-Api-Key: <key>。工具参数中没有 api_key;请求头与环境变量都没有时返回 Missing API key header。
优先级:请求头 > 环境变量 DEEPSEEK_API_KEY。
工具
deepseek_search(query, count=10, ori_question=None, localization="", need_content=False)deepseek_fetch(url)
HTTP 客户端配置示例
{
"mcpServers": {
"deepseek-scout": {
"type": "http",
"url": "http://localhost:8000/mcp",
"headers": { "Authorization": "Bearer sk-你的Key" }
}
}
}
本地运行
默认以 streamable-http 启动,监听 HOST/PORT(默认 0.0.0.0:8000);设置 MCP_TRANSPORT=stdio 切换为 STDIO。
pip install -e .
python -m deepseek_scout_mcp
MCP_TRANSPORT=stdio python -m deepseek_scout_mcp
# 或
uvx deepseek-scout-mcp
Metadata
Release files for deepseek-scout-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deepseek_scout_mcp-0.1.3.tar.gz | 76.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deepseek_scout_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 81.4 kB
Release files / deepseek_scout_mcp-0.1.3.tar.gz
| Download URL | deepseek_scout_mcp-0.1.3.tar.gz |
|---|---|
| Size | 76.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ab198e8f0d9ffab9ffdbf1a533c04368d89642cd435848e8d3186a0b5817278
|
|
BLAKE2b-256 checksum How to use checksums |
d681b26511f87aca5deee13051811f579b8af16dbb7dcd38daf61e4182e05bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / deepseek_scout_mcp-0.1.3-py3-none-any.whl
| Download URL | deepseek_scout_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd0efb2a570aa56e9f143ee4c18c636962d0a3fb5742b2bb0d4abe1755d4f3cf
|
|
BLAKE2b-256 checksum How to use checksums |
a4986f8662c77c84314455652b600cce73be51083a4860fa4142fc6b92ea997b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|