Skip to content

Commit 65e46c3

Browse files
committed
docs(mcp): add You.com MCP example
Add a copyable mcpServers snippet for the hosted You.com MCP server in both docs/mcp.md (Chinese) and docs/mcp_en.md (English), so Deep Code users can configure real-time web search, citable research, page-content extraction, and finance research without modifying the built-in WebSearch tool. Two snippets are provided: - Full toolset (you-search, you-contents, you-research, you-finance) via the hosted MCP bridge @youdotcom-oss/mcp, authed with YDC_API_KEY and scoped with YDC_ALLOWED_TOOLS. - A keyless, no-signup variant using YDC_PROFILE=free that exposes only you-search (capped at 100 queries/day), for users who want to try web search before creating an account. A one-line callout references PR #198, which will let users replace the npx bridge with the native type: "http" + url + headers shape once it merges. Scope: doc-only. No code, settings, or test changes. Mirrors the patch surface used by PR #268 (docs/mcp.md + docs/mcp_en.md).
1 parent 566cf32 commit 65e46c3

2 files changed

Lines changed: 74 additions & 0 deletions

File tree

‎docs/mcp.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,43 @@ MCP 工具在 Deep Code 中的命名格式为 `mcp__<服务名>__<工具名>`,
8484
}
8585
```
8686

87+
### You.com 联网搜索与研究
88+
89+
通过 You.com MCP 服务器接入实时联网搜索、网页内容读取、可引用的多源研究和财经研究工具。`@youdotcom-oss/mcp` 是一个轻量 STDIO 桥接,把本地 MCP 请求转发到托管在 `https://api.you.com/mcp` 的远程服务器;首轮对话后,模型即可看到 `mcp__ydc__you-search` 等工具。
90+
91+
```json
92+
{
93+
"mcpServers": {
94+
"ydc": {
95+
"command": "npx",
96+
"args": ["-y", "@youdotcom-oss/mcp"],
97+
"env": {
98+
"YDC_API_KEY": "ydc-...",
99+
"YDC_ALLOWED_TOOLS": "you-search,you-contents,you-research,you-finance"
100+
}
101+
}
102+
}
103+
}
104+
```
105+
106+
如果想先体验联网搜索、不立刻注册账号,可以把 `YDC_PROFILE` 设为 `free`(免账号、免 Key,仅暴露 `you-search`,每天 100 次查询上限):
107+
108+
```json
109+
{
110+
"mcpServers": {
111+
"ydc": {
112+
"command": "npx",
113+
"args": ["-y", "@youdotcom-oss/mcp"],
114+
"env": {
115+
"YDC_PROFILE": "free"
116+
}
117+
}
118+
}
119+
}
120+
```
121+
122+
> API Key 在 https://you.com/platform 申请;可用工具集与计费规则见 https://you.com/docs/build-with-agents/mcp-server。
123+
87124
### 文件系统
88125

89126
让 Deep Code 在指定目录中读写文件:

‎docs/mcp_en.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,43 @@ Lets Deep Code control a browser for screenshots, page interactions, etc.:
8484
}
8585
```
8686

87+
### You.com Web Search & Research
88+
89+
Connects you to You.com's real-time web search, page content extraction, citable multi-source research, and finance research via the hosted You.com MCP server at `https://api.you.com/mcp`. `@youdotcom-oss/mcp` is a minimal STDIO bridge that forwards local MCP traffic to the remote server. After the first message, the model sees tools such as `mcp__ydc__you-search`.
90+
91+
```json
92+
{
93+
"mcpServers": {
94+
"ydc": {
95+
"command": "npx",
96+
"args": ["-y", "@youdotcom-oss/mcp"],
97+
"env": {
98+
"YDC_API_KEY": "ydc-...",
99+
"YDC_ALLOWED_TOOLS": "you-search,you-contents,you-research,you-finance"
100+
}
101+
}
102+
}
103+
}
104+
```
105+
106+
To try web search without signing up first, set `YDC_PROFILE` to `free` (no account, no API key; exposes only `you-search`, capped at 100 queries/day):
107+
108+
```json
109+
{
110+
"mcpServers": {
111+
"ydc": {
112+
"command": "npx",
113+
"args": ["-y", "@youdotcom-oss/mcp"],
114+
"env": {
115+
"YDC_PROFILE": "free"
116+
}
117+
}
118+
}
119+
}
120+
```
121+
122+
> Get an API key at https://you.com/platform; see the full tool list and pricing at https://you.com/docs/build-with-agents/mcp-server.
123+
87124
### File System
88125

89126
Enables Deep Code to read and write files within a specified directory:

0 commit comments

Comments
 (0)