@youdotcom-oss/mcp 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +195 -51
- package/README.md +60 -323
- package/bin/stdio.js +12521 -6645
- package/package.json +17 -7
- package/src/contents/contents.schemas.ts +55 -0
- package/src/contents/contents.utils.ts +145 -0
- package/src/express/express.schemas.ts +99 -0
- package/src/express/express.utils.ts +157 -0
- package/src/search/search.schemas.ts +126 -0
- package/src/search/search.utils.ts +142 -0
- package/src/shared/check-response-for-errors.ts +13 -0
- package/src/shared/format-search-results-text.ts +41 -0
package/README.md
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
# You.com MCP Server
|
|
2
2
|
|
|
3
|
-
The You.com MCP Server
|
|
3
|
+
The You.com MCP Server gives your AI agents **real-time access to the latest web information** through the [Model Context Protocol](https://modelcontextprotocol.io/). Search current content, get up-to-date answers, and extract live web pages—whether in your IDE or deployed agentic workflows. Built on MCP to **work everywhere your agents do**—one integration, unlimited compatibility across IDEs, frameworks, and production systems.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **Web and
|
|
8
|
-
- **AI-
|
|
9
|
-
- **Content
|
|
10
|
-
- **Multiple
|
|
7
|
+
- **Web and news search**: Comprehensive search using You.com's unified Search API with advanced search operators
|
|
8
|
+
- **AI-powered Express Agent**: Fast responses with optional real-time web search integration
|
|
9
|
+
- **Content extraction**: Extract and retrieve full content from web pages in markdown or HTML format
|
|
10
|
+
- **Multiple transport protocols**: STDIO and Streamable HTTP support
|
|
11
11
|
- **Bearer Token Authentication**: Secure API access in HTTP mode
|
|
12
|
-
- **TypeScript
|
|
13
|
-
- **Advanced
|
|
12
|
+
- **TypeScript support**: Full type safety with Zod schemas
|
|
13
|
+
- **Advanced search parameters**: Site filtering, file type filtering, language filtering, exact terms, and exclude terms
|
|
14
14
|
|
|
15
|
-
## Getting
|
|
15
|
+
## Getting started
|
|
16
16
|
|
|
17
17
|
Get up and running with the You.com MCP Server in 4 quick steps:
|
|
18
18
|
|
|
19
|
-
### 1. Get
|
|
19
|
+
### 1. Get your API key
|
|
20
20
|
|
|
21
21
|
Visit [you.com/platform/api-keys](https://you.com/platform/api-keys) to get your You.com API key. Keep this key secure - you'll need it for configuration.
|
|
22
22
|
|
|
23
|
-
### 2. Choose
|
|
23
|
+
### 2. Choose your setup
|
|
24
24
|
|
|
25
|
-
**Remote
|
|
25
|
+
**Remote server (recommended)** - No installation, always up-to-date, just add the URL and API key
|
|
26
26
|
- Use `https://api.you.com/mcp` with HTTP transport
|
|
27
27
|
- Authentication via `Authorization: Bearer <your-key>` header
|
|
28
28
|
|
|
29
|
-
**NPM
|
|
30
|
-
- Use `npx @youdotcom-oss/mcp` with
|
|
29
|
+
**NPM package** - Runs locally on your machine
|
|
30
|
+
- Use `npx @youdotcom-oss/mcp` with STDIO transport
|
|
31
31
|
- Authentication via `YDC_API_KEY` environment variable
|
|
32
32
|
- Requires Bun or Node.js
|
|
33
33
|
|
|
34
|
-
### 3. Configure
|
|
34
|
+
### 3. Configure your client
|
|
35
35
|
|
|
36
36
|
Choose your MCP client from the [detailed setup guides](#adding-to-your-mcp-client) below. Most clients use this basic structure:
|
|
37
37
|
|
|
38
|
-
**Remote
|
|
38
|
+
**Remote server (recommended):**
|
|
39
39
|
```json
|
|
40
40
|
{
|
|
41
41
|
"mcpServers": {
|
|
@@ -48,7 +48,7 @@ Choose your MCP client from the [detailed setup guides](#adding-to-your-mcp-clie
|
|
|
48
48
|
}
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
**NPM
|
|
51
|
+
**NPM package:**
|
|
52
52
|
```json
|
|
53
53
|
{
|
|
54
54
|
"mcpServers": {
|
|
@@ -61,7 +61,13 @@ Choose your MCP client from the [detailed setup guides](#adding-to-your-mcp-clie
|
|
|
61
61
|
}
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
**Configuration notes:**
|
|
65
|
+
- Remote server recommended for most users (no installation, always up-to-date)
|
|
66
|
+
- NPM package for local usage or self-hosting scenarios
|
|
67
|
+
- HTTP transport for remote connections; STDIO transport for local packages
|
|
68
|
+
- API key always required (header for HTTP, environment variable for STDIO)
|
|
69
|
+
|
|
70
|
+
### 4. Test your setup
|
|
65
71
|
|
|
66
72
|
Ask your AI agent a simple query to verify everything works:
|
|
67
73
|
- "Search the web for the latest news about artificial intelligence"
|
|
@@ -74,321 +80,104 @@ Your agent will automatically use the appropriate tool based on your natural lan
|
|
|
74
80
|
|
|
75
81
|
Detailed configuration instructions for specific MCP clients. See [Getting Started](#getting-started) above for a quick overview.
|
|
76
82
|
|
|
77
|
-
### Standard Configuration Templates
|
|
78
|
-
|
|
79
|
-
**Configuration Notes:**
|
|
80
|
-
- Remote server recommended for most users (no installation, always up-to-date)
|
|
81
|
-
- NPM package for local usage or self-hosting scenarios
|
|
82
|
-
- HTTP transport for remote connections; stdio transport for local packages
|
|
83
|
-
- API key always required (header for HTTP, environment variable for stdio)
|
|
84
|
-
|
|
85
|
-
**Remote Server (Recommended):**
|
|
86
|
-
```json
|
|
87
|
-
{
|
|
88
|
-
"mcpServers": {
|
|
89
|
-
"ydc-server": {
|
|
90
|
-
"type": "http",
|
|
91
|
-
"url": "https://api.you.com/mcp",
|
|
92
|
-
"headers": {
|
|
93
|
-
"Authorization": "Bearer <you-api-key>"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
**Local NPM Package:**
|
|
101
|
-
```json
|
|
102
|
-
{
|
|
103
|
-
"mcpServers": {
|
|
104
|
-
"ydc-server": {
|
|
105
|
-
"command": "npx",
|
|
106
|
-
"args": ["@youdotcom-oss/mcp"],
|
|
107
|
-
"env": {
|
|
108
|
-
"YDC_API_KEY": "<you-api-key>"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
```
|
|
114
|
-
|
|
115
83
|
<details>
|
|
116
84
|
<summary><strong>Claude Code</strong></summary>
|
|
117
85
|
|
|
118
|
-
|
|
86
|
+
Use the Claude Code CLI to add the You.com MCP server:
|
|
87
|
+
|
|
88
|
+
**Quick setup:**
|
|
119
89
|
```bash
|
|
120
90
|
claude mcp add --transport http ydc-server https://api.you.com/mcp --header "Authorization: Bearer <your-api-key>"
|
|
121
91
|
```
|
|
122
92
|
|
|
123
|
-
|
|
124
|
-
1. Follow the [Claude Code setup guide](https://docs.anthropic.com/en/docs/claude-code/setup)
|
|
125
|
-
2. Create or update `.mcp.json` in your workspace root using the standard configuration template above
|
|
126
|
-
3. For remote server: add `"type": "http"` to the configuration
|
|
127
|
-
4. For local package: add `"type": "stdio"` to the configuration
|
|
93
|
+
For setup, follow the MCP installation [guide](https://code.claude.com/docs/en/mcp).
|
|
128
94
|
|
|
129
95
|
</details>
|
|
130
96
|
|
|
131
97
|
<details>
|
|
132
98
|
<summary><strong>Claude Desktop</strong></summary>
|
|
133
99
|
|
|
134
|
-
|
|
135
|
-
Use the standard configuration template above in your Claude Desktop MCP configuration.
|
|
136
|
-
|
|
137
|
-
**Installation:**
|
|
138
|
-
Follow the [Claude Desktop MCP guide](https://docs.anthropic.com/en/docs/build-with-claude/computer-use) for setup.
|
|
139
|
-
|
|
140
|
-
[Download Claude Desktop](https://claude.ai/download)
|
|
100
|
+
For setup, follow the MCP installation [guide](https://modelcontextprotocol.io/docs/develop/connect-local-servers).
|
|
141
101
|
|
|
142
102
|
</details>
|
|
143
103
|
|
|
144
104
|
<details>
|
|
145
105
|
<summary><strong>Codex</strong></summary>
|
|
146
106
|
|
|
147
|
-
|
|
148
|
-
Edit `~/.codex/config.toml`:
|
|
149
|
-
|
|
150
|
-
```toml
|
|
151
|
-
[mcp_servers.ydc-server]
|
|
152
|
-
command = "npx"
|
|
153
|
-
args = ["@youdotcom-oss/mcp"]
|
|
154
|
-
|
|
155
|
-
[mcp_servers.ydc-server.env]
|
|
156
|
-
YDC_API_KEY = "<you-api-key>"
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
[Download Codex](https://github.com/openai/codex)
|
|
107
|
+
For setup, follow the MCP installation [guide](https://github.com/openai/codex/blob/main/docs/config.md#streamable-http).
|
|
160
108
|
|
|
161
109
|
</details>
|
|
162
110
|
|
|
163
111
|
<details>
|
|
164
112
|
<summary><strong>Cursor IDE</strong></summary>
|
|
165
113
|
|
|
166
|
-
|
|
167
|
-
1. Go to Cursor Settings > Features > MCP
|
|
168
|
-
2. Click "+ Add New MCP Server"
|
|
169
|
-
3. For remote: Select "Streamable HTTP" transport, URL: `https://api.you.com/mcp`
|
|
170
|
-
4. For local: Select "stdio" transport, Command: `npx`, Args: `@youdotcom-oss/mcp`
|
|
171
|
-
|
|
172
|
-
**Manual Setup:**
|
|
173
|
-
Create `.cursor/mcp.json` in your project directory or `~/.cursor/mcp.json` globally using the standard configuration template above.
|
|
114
|
+
[](https://cursor.com/en-US/install-mcp?name=ydc-server&config=eyJ1cmwiOiJodHRwczovL2FwaS55b3UuY29tL21jcCIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciA8eW91LWFwaS1rZXk%2BIn19)
|
|
174
115
|
|
|
175
|
-
|
|
116
|
+
For setup, follow the MCP installation [guide](https://cursor.com/docs/context/mcp#installing-mcp-servers); use the configuration template above ***without type field***.
|
|
176
117
|
|
|
177
|
-
|
|
118
|
+
**Note:** To avoid conflicts, go to Settings > Agents tab and turn off Cursor's built-in web search tool.
|
|
178
119
|
|
|
179
120
|
</details>
|
|
180
121
|
|
|
181
122
|
<details>
|
|
182
123
|
<summary><strong>Gemini CLI</strong></summary>
|
|
183
124
|
|
|
184
|
-
|
|
185
|
-
Use the standard configuration template above in your Gemini CLI MCP server configuration.
|
|
186
|
-
|
|
187
|
-
**Installation:**
|
|
188
|
-
1. Install [Gemini CLI](https://google-gemini.github.io/gemini-cli/)
|
|
189
|
-
2. Follow the [MCP server setup guide](https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html)
|
|
190
|
-
|
|
191
|
-
[Documentation](https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html) | [Download Gemini CLI](https://google-gemini.github.io/gemini-cli/)
|
|
192
|
-
|
|
193
|
-
</details>
|
|
194
|
-
|
|
195
|
-
<details>
|
|
196
|
-
<summary><strong>Goose</strong></summary>
|
|
197
|
-
|
|
198
|
-
**Quick Setup:**
|
|
199
|
-
Go to "Advanced settings" → "Extensions" → "Add custom extension"
|
|
200
|
-
|
|
201
|
-
**Manual Setup:**
|
|
202
|
-
Use the standard configuration template above in your Goose extensions configuration.
|
|
203
|
-
|
|
204
|
-
[Installation Guide](https://block.github.io/goose/docs/getting-started/installation) | [Download Goose](https://block.github.io/goose/)
|
|
125
|
+
For setup, follow the MCP installation [guide](https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html#how-to-set-up-your-mcp-server); use the configuration template above.
|
|
205
126
|
|
|
206
127
|
</details>
|
|
207
128
|
|
|
208
129
|
<details>
|
|
209
130
|
<summary><strong>JetBrains IDEs</strong></summary>
|
|
210
131
|
|
|
211
|
-
|
|
212
|
-
Configure in your IDE settings using the local NPM package configuration from the standard template above.
|
|
213
|
-
|
|
214
|
-
**For Remote Server:**
|
|
215
|
-
Use [mcp-remote](https://www.npmjs.com/package/mcp-remote) since JetBrains only supports stdio transport:
|
|
216
|
-
```json
|
|
217
|
-
{
|
|
218
|
-
"mcpServers": {
|
|
219
|
-
"ydc-server": {
|
|
220
|
-
"command": "npx",
|
|
221
|
-
"args": ["mcp-remote", "https://api.you.com/mcp", "--header", "Authorization: Bearer ${YDC_API_KEY}"],
|
|
222
|
-
"env": { "YDC_API_KEY": "<you-api-key>" }
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
```
|
|
132
|
+
For setup, follow the MCP installation [guide](https://www.jetbrains.com/help/ai-assistant/mcp.html#connect-to-an-mcp-server); use the configuration template above.
|
|
227
133
|
|
|
228
134
|
**Supported IDEs:** IntelliJ IDEA, PyCharm, WebStorm, etc. (requires AI Assistant enabled)
|
|
229
135
|
|
|
230
|
-
[Documentation](https://www.jetbrains.com/help/ai-assistant/mcp.html)
|
|
231
|
-
|
|
232
136
|
</details>
|
|
233
137
|
|
|
234
138
|
<details>
|
|
235
139
|
<summary><strong>LM Studio</strong></summary>
|
|
236
140
|
|
|
237
|
-
|
|
238
|
-
Edit `mcp.json` in LM Studio settings using the standard configuration template above.
|
|
239
|
-
|
|
240
|
-
**Installation:**
|
|
241
|
-
Configure through program settings or edit configuration file manually.
|
|
242
|
-
|
|
243
|
-
[Download LM Studio](https://lmstudio.ai/)
|
|
141
|
+
For setup, follow the MCP installation [guide](https://lmstudio.ai/docs/app/mcp); use the configuration template above ***without type field***.
|
|
244
142
|
|
|
245
143
|
</details>
|
|
246
144
|
|
|
247
145
|
<details>
|
|
248
146
|
<summary><strong>opencode</strong></summary>
|
|
249
147
|
|
|
250
|
-
|
|
251
|
-
Edit `~/.config/opencode/opencode.json`:
|
|
252
|
-
|
|
253
|
-
```json
|
|
254
|
-
{
|
|
255
|
-
"$schema": "https://opencode.ai/config.json",
|
|
256
|
-
"mcp": {
|
|
257
|
-
"ydc-server": {
|
|
258
|
-
"type": "local",
|
|
259
|
-
"command": ["npx", "@youdotcom-oss/mcp"],
|
|
260
|
-
"enabled": true,
|
|
261
|
-
"env": { "YDC_API_KEY": "<you-api-key>" }
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
**For Remote Server:**
|
|
268
|
-
```json
|
|
269
|
-
{
|
|
270
|
-
"$schema": "https://opencode.ai/config.json",
|
|
271
|
-
"mcp": {
|
|
272
|
-
"ydc-server": {
|
|
273
|
-
"type": "local",
|
|
274
|
-
"command": ["npx", "mcp-remote", "https://api.you.com/mcp", "--header", "Authorization: Bearer ${YDC_API_KEY}"],
|
|
275
|
-
"enabled": true,
|
|
276
|
-
"env": { "YDC_API_KEY": "<you-api-key>" }
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
[Documentation](https://opencode.ai/docs)
|
|
283
|
-
|
|
284
|
-
</details>
|
|
285
|
-
|
|
286
|
-
<details>
|
|
287
|
-
<summary><strong>Qodo Gen</strong></summary>
|
|
288
|
-
|
|
289
|
-
**Setup:**
|
|
290
|
-
1. Open Qodo Gen chat panel in VSCode or IntelliJ
|
|
291
|
-
2. Click "Connect more tools" → "+ Add new MCP"
|
|
292
|
-
3. Paste the standard config above
|
|
293
|
-
4. Click Save
|
|
294
|
-
|
|
295
|
-
[Documentation](https://docs.qodo.ai/qodo-documentation/qodo-gen)
|
|
148
|
+
For setup, follow the MCP installation [guide](https://opencode.ai/docs/mcp-servers/#remote); use the configuration template above.
|
|
296
149
|
|
|
297
150
|
</details>
|
|
298
151
|
|
|
299
152
|
<details>
|
|
300
153
|
<summary><strong>VS Code</strong></summary>
|
|
301
154
|
|
|
302
|
-
|
|
303
|
-
```bash
|
|
304
|
-
# Add MCP server
|
|
305
|
-
code --add-mcp "{\"name\":\"ydc-server\",\"command\":\"npx\",\"args\":[\"@youdotcom-oss/mcp\"],\"env\":{\"YDC_API_KEY\":\"<you-api-key>\"}}"
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
**Manual Setup:**
|
|
309
|
-
Create `mcp.json` file in your workspace (`.vscode/mcp.json`) or user profile using the standard configuration template above, but replace `"mcpServers"` with `"servers"`.
|
|
155
|
+
Use the VS Code CLI to add the You.com MCP server:
|
|
310
156
|
|
|
311
|
-
**
|
|
312
|
-
```
|
|
313
|
-
{
|
|
314
|
-
"inputs": [
|
|
315
|
-
{
|
|
316
|
-
"type": "promptString",
|
|
317
|
-
"id": "ydc-api-key",
|
|
318
|
-
"description": "You.com API Key",
|
|
319
|
-
"password": true
|
|
320
|
-
}
|
|
321
|
-
],
|
|
322
|
-
"servers": {
|
|
323
|
-
"ydc-server": {
|
|
324
|
-
"command": "npx",
|
|
325
|
-
"args": ["@youdotcom-oss/mcp"],
|
|
326
|
-
"env": { "YDC_API_KEY": "${input:ydc-api-key}" }
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
157
|
+
**Quick setup (command line):**
|
|
158
|
+
```bash
|
|
159
|
+
code --add-mcp "{\"name\":\"ydc-server\",\"url\":\"https://api.you.com/mcp\",\"type\":\"http\",\"headers\":{\"Authorization\":\"Bearer <your-api-key>\"}}"
|
|
330
160
|
```
|
|
331
161
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
[Documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_commandline-configuration) | [Download VS Code](https://code.visualstudio.com/)
|
|
162
|
+
For setup, follow the MCP installation [guide](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_add-an-mcp-server); use the configuration template above.
|
|
335
163
|
|
|
336
164
|
</details>
|
|
337
165
|
|
|
338
166
|
<details>
|
|
339
167
|
<summary><strong>Windsurf</strong></summary>
|
|
340
168
|
|
|
341
|
-
|
|
342
|
-
Use the standard configuration template above.
|
|
343
|
-
|
|
344
|
-
**Installation:**
|
|
345
|
-
Follow MCP documentation for Windsurf-specific setup instructions.
|
|
346
|
-
|
|
347
|
-
[Documentation](https://docs.windsurf.com/windsurf/cascade/mcp) | [Download Windsurf](https://docs.windsurf.com/windsurf/getting-started)
|
|
169
|
+
For setup, follow the MCP installation [guide](https://docs.windsurf.com/windsurf/cascade/mcp#adding-a-new-mcp-plugin).
|
|
348
170
|
|
|
349
171
|
</details>
|
|
350
172
|
|
|
351
173
|
<details>
|
|
352
174
|
<summary><strong>Zed Editor</strong></summary>
|
|
353
175
|
|
|
354
|
-
|
|
355
|
-
Add to your Zed `settings.json` using `"context_servers"` instead of `"mcpServers"`:
|
|
356
|
-
|
|
357
|
-
```json
|
|
358
|
-
{
|
|
359
|
-
"context_servers": {
|
|
360
|
-
"ydc-server": {
|
|
361
|
-
"source": "custom",
|
|
362
|
-
"command": "npx",
|
|
363
|
-
"args": ["@youdotcom-oss/mcp"],
|
|
364
|
-
"env": {
|
|
365
|
-
"YDC_API_KEY": "<you-api-key>"
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
```
|
|
371
|
-
|
|
372
|
-
**For Remote Server:**
|
|
373
|
-
Use [mcp-remote](https://www.npmjs.com/package/mcp-remote) to bridge HTTP to stdio:
|
|
374
|
-
```json
|
|
375
|
-
{
|
|
376
|
-
"context_servers": {
|
|
377
|
-
"ydc-server": {
|
|
378
|
-
"source": "custom",
|
|
379
|
-
"command": "npx",
|
|
380
|
-
"args": ["mcp-remote", "https://api.you.com/mcp", "--header", "Authorization: Bearer ${YDC_API_KEY}"],
|
|
381
|
-
"env": { "YDC_API_KEY": "<you-api-key>" }
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
[Setup Instructions](https://zed.dev/docs/ai/mcp) | [Download Zed](https://zed.dev)
|
|
176
|
+
For setup, follow the MCP installation [guide](https://zed.dev/docs/ai/mcp#as-custom-servers); use the configuration template above ***without type field***.
|
|
388
177
|
|
|
389
178
|
</details>
|
|
390
179
|
|
|
391
|
-
## Available
|
|
180
|
+
## Available tools
|
|
392
181
|
|
|
393
182
|
This MCP server provides three tools that work seamlessly with your AI agent through natural language:
|
|
394
183
|
|
|
@@ -411,11 +200,11 @@ Extract full page content from URLs in markdown or HTML format. Useful for docum
|
|
|
411
200
|
|
|
412
201
|
**Note**: Your MCP client automatically shows you all available parameters and their descriptions when you use these tools. Simply ask your AI agent in natural language what you want to do, and it will orchestrate the appropriate tool calls for you.
|
|
413
202
|
|
|
414
|
-
## Use
|
|
203
|
+
## Use cases & examples
|
|
415
204
|
|
|
416
205
|
Here are common scenarios showing when and how to use each tool with natural language queries:
|
|
417
206
|
|
|
418
|
-
### Research &
|
|
207
|
+
### Research & information gathering
|
|
419
208
|
|
|
420
209
|
**Use you-search when:**
|
|
421
210
|
- "Find recent research papers about quantum computing on arxiv.org"
|
|
@@ -429,7 +218,7 @@ Here are common scenarios showing when and how to use each tool with natural lan
|
|
|
429
218
|
- "What happened in the tech industry today?" (with web search enabled)
|
|
430
219
|
- "Summarize the main features of the latest Python release"
|
|
431
220
|
|
|
432
|
-
### Content
|
|
221
|
+
### Content extraction & analysis
|
|
433
222
|
|
|
434
223
|
**Use you-contents when:**
|
|
435
224
|
- "Extract the content from this blog post: https://example.com/article"
|
|
@@ -437,29 +226,29 @@ Here are common scenarios showing when and how to use each tool with natural lan
|
|
|
437
226
|
- "Pull the HTML content from this page preserving the layout"
|
|
438
227
|
- "Batch extract content from these 5 documentation pages"
|
|
439
228
|
|
|
440
|
-
### Combined
|
|
229
|
+
### Combined workflows
|
|
441
230
|
|
|
442
231
|
Your AI agent can combine multiple tools in a single conversation:
|
|
443
232
|
1. **Research + Extract**: "Search for the best TypeScript tutorials, then extract the content from the top 3 results"
|
|
444
233
|
2. **Question + Deep Dive**: "What is WebAssembly? Then search for real-world examples and extract code samples"
|
|
445
234
|
3. **News + Analysis**: "Find recent articles about AI regulation, then summarize the key points"
|
|
446
235
|
|
|
447
|
-
### Pro
|
|
236
|
+
### Pro tips
|
|
448
237
|
|
|
449
238
|
- **Be specific**: Include domains, date ranges, or file types when searching
|
|
450
239
|
- **Natural language**: You don't need to memorize parameters - just describe what you want
|
|
451
240
|
- **Follow up**: Ask clarifying questions to refine results
|
|
452
241
|
- **Combine tools**: Let your agent orchestrate multiple tool calls for complex workflows
|
|
453
242
|
|
|
454
|
-
## Troubleshooting &
|
|
243
|
+
## Troubleshooting & support
|
|
455
244
|
|
|
456
|
-
### Common
|
|
245
|
+
### Common issues
|
|
457
246
|
|
|
458
247
|
**Server not connecting:**
|
|
459
248
|
- Verify your API key is correct and properly formatted
|
|
460
249
|
- Check that your MCP client configuration matches the template for your setup (remote vs local)
|
|
461
250
|
- For HTTP mode: Ensure the Authorization header includes "Bearer " prefix
|
|
462
|
-
- For
|
|
251
|
+
- For STDIO mode: Verify the YDC_API_KEY environment variable is set
|
|
463
252
|
|
|
464
253
|
**Tool not working:**
|
|
465
254
|
- Check your MCP client logs for error messages
|
|
@@ -469,10 +258,10 @@ Your AI agent can combine multiple tools in a single conversation:
|
|
|
469
258
|
|
|
470
259
|
**Authentication errors:**
|
|
471
260
|
- Remote server uses Bearer token authentication in headers
|
|
472
|
-
- Local
|
|
261
|
+
- Local STDIO mode uses YDC_API_KEY environment variable
|
|
473
262
|
- Make sure you're using the correct authentication method for your setup
|
|
474
263
|
|
|
475
|
-
### Error
|
|
264
|
+
### Error logs
|
|
476
265
|
|
|
477
266
|
Error messages and detailed logs appear in your MCP client's log output. Check your client's documentation for how to access logs:
|
|
478
267
|
- Claude Code: Check terminal output or logs
|
|
@@ -480,78 +269,26 @@ Error messages and detailed logs appear in your MCP client's log output. Check y
|
|
|
480
269
|
- Cursor: Check MCP server logs in settings
|
|
481
270
|
- VS Code: View Output panel for MCP server logs
|
|
482
271
|
|
|
483
|
-
### Report an
|
|
272
|
+
### Report an issue
|
|
484
273
|
|
|
485
274
|
If you encounter a problem, you can report it via email or GitHub:
|
|
486
275
|
|
|
487
|
-
**Email
|
|
276
|
+
**Email support:** support@you.com
|
|
488
277
|
|
|
489
|
-
**Web
|
|
278
|
+
**Web support:** [You.com Support](https://you.com/support/contact-us)
|
|
490
279
|
|
|
491
280
|
**GitHub Issues:** [Report bugs and feature requests](https://github.com/youdotcom-oss/youdotcom-mcp-server/issues)
|
|
492
281
|
|
|
493
282
|
**Tip:** When errors occur, check your MCP client logs - they include a pre-filled mailto link with error details for easy reporting.
|
|
494
283
|
|
|
495
|
-
## For
|
|
284
|
+
## For contributors
|
|
496
285
|
|
|
497
286
|
Interested in contributing to the You.com MCP Server? We'd love your help!
|
|
498
287
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
### Development Setup
|
|
502
|
-
|
|
503
|
-
For complete development setup instructions, code style guidelines, testing patterns, and contribution workflow, see [AGENTS.md](./AGENTS.md).
|
|
504
|
-
|
|
505
|
-
The developer guide includes:
|
|
506
|
-
- Local workspace setup with Bun runtime
|
|
507
|
-
- Code style preferences and TypeScript guidelines
|
|
508
|
-
- MCP-specific patterns and best practices
|
|
509
|
-
- Testing strategy and examples
|
|
510
|
-
- Git hooks and code quality tools
|
|
511
|
-
- API integration details
|
|
512
|
-
- Architecture overview with diagrams
|
|
513
|
-
- Troubleshooting common issues
|
|
514
|
-
- Contributing guidelines with commit conventions
|
|
515
|
-
|
|
516
|
-
### Local Development & Self-Hosting
|
|
517
|
-
|
|
518
|
-
**Quick Docker Setup**:
|
|
519
|
-
```bash
|
|
520
|
-
docker build -t youdotcom-mcp-server .
|
|
521
|
-
docker run -d -p 4000:4000 --name youdotcom-mcp youdotcom-mcp-server
|
|
522
|
-
```
|
|
523
|
-
|
|
524
|
-
**Local Workspace Setup**:
|
|
525
|
-
```bash
|
|
526
|
-
# Clone and install
|
|
527
|
-
git clone https://github.com/youdotcom-oss/youdotcom-mcp-server.git
|
|
528
|
-
cd youdotcom-mcp-server
|
|
529
|
-
bun install
|
|
530
|
-
|
|
531
|
-
# Set up environment
|
|
532
|
-
echo "export YDC_API_KEY=your-api-key-here" > .env
|
|
533
|
-
source .env
|
|
534
|
-
|
|
535
|
-
# Run development server (stdio mode)
|
|
536
|
-
bun run dev
|
|
537
|
-
|
|
538
|
-
# Or run HTTP server (port 4000)
|
|
539
|
-
bun start
|
|
540
|
-
```
|
|
541
|
-
|
|
542
|
-
For detailed instructions on building from source, running in different modes, and deployment options, see [AGENTS.md](./AGENTS.md).
|
|
543
|
-
|
|
544
|
-
### Quick Links
|
|
545
|
-
|
|
546
|
-
- **Developer Guide**: [AGENTS.md](./AGENTS.md) - Complete technical reference
|
|
547
|
-
- **Report Issues**: [GitHub Issues](https://github.com/youdotcom-oss/youdotcom-mcp-server/issues)
|
|
548
|
-
- **Source Code**: [GitHub Repository](https://github.com/youdotcom-oss/youdotcom-mcp-server)
|
|
549
|
-
- **API Documentation**: [You.com Docs](https://documentation.you.com/get-started/welcome)
|
|
550
|
-
|
|
551
|
-
### How to Contribute
|
|
288
|
+
Need technical details? Check [AGENTS.md](./AGENTS.md) for complete development setup, architecture overview, code patterns, and testing guidelines.
|
|
552
289
|
|
|
553
290
|
1. Fork the repository
|
|
554
|
-
2. Create a feature branch following naming conventions in
|
|
291
|
+
2. Create a feature branch following naming conventions in [CONTRIBUTING.md](./CONTRIBUTING.md)
|
|
555
292
|
3. Follow the code style guidelines and use conventional commits
|
|
556
293
|
4. Write tests for your changes (maintain >80% coverage)
|
|
557
294
|
5. Run quality checks: `bun run check && bun test`
|