DeepSeek Scout MCP
FastMCP 服务器,封装 DeepSeek 的 Search 与 Fetch 能力。
服务配置(STDIO · 平台托管部署)
{
"mcpServers": {
"deepseek-scout": {
"command": "uvx",
"args": [
"deepseek-scout-mcp@latest"
],
"env": {
"MCP_TRANSPORT": "stdio",
"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" }
}
}
}
本地运行
未设置 MCP_TRANSPORT 时:检测到 PORT 环境变量就以 streamable-http 启动(监听 HOST/PORT,默认 0.0.0.0:8000),否则以 stdio 启动。需要固定某种方式可显式设置 MCP_TRANSPORT=stdio 或 MCP_TRANSPORT=streamable-http。
pip install -e .
python -m deepseek_scout_mcp
# 或
uvx deepseek-scout-mcp
Metadata
Release files for deepseek-scout-mcp 0.1.4
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.4.tar.gz | 76.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deepseek_scout_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 81.7 kB
Release files / deepseek_scout_mcp-0.1.4.tar.gz
| Download URL | deepseek_scout_mcp-0.1.4.tar.gz |
|---|---|
| Size | 76.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6070d9696ce83bdf6e284e0c17ba7a304c56fb0f4c656978cda7f3679773a064
|
|
BLAKE2b-256 checksum How to use checksums |
d02916bbd5b8e3c6d52a5ea0272954f81383e1aff0cfb4d3fe217f46256bb938
|
| 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.4-py3-none-any.whl
| Download URL | deepseek_scout_mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98fbcc6a505b442055603b82e183172091ee5a686f28bcd7c614a6c19eab79c1
|
|
BLAKE2b-256 checksum How to use checksums |
d251f63b6d52bf76f387ba6128fe3415aaa3cf5dff24b665b81d34a9aa33664e
|
| 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}
|