@youdotcom-oss/mcp 1.2.5 → 1.3.1
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 +39 -47
- package/bin/stdio.js +1 -1
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -408,53 +408,45 @@ Content extraction from web pages
|
|
|
408
408
|
|
|
409
409
|
### System Overview
|
|
410
410
|
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
│ X-API-Key │ Bearer │ X-API-Key
|
|
451
|
-
▼ ▼ ▼
|
|
452
|
-
┌────────────────────────────────────────────────────┐
|
|
453
|
-
│ You.com APIs │
|
|
454
|
-
│ │
|
|
455
|
-
│ - Search API - Agent API - Contents API │
|
|
456
|
-
│ (ydc-index.io) (api.you.com) (ydc-index.io) │
|
|
457
|
-
└────────────────────────────────────────────────────┘
|
|
411
|
+
```mermaid
|
|
412
|
+
graph TD
|
|
413
|
+
Clients["MCP Clients
|
|
414
|
+
(Claude Desktop, Claude Code, Custom Clients)"]
|
|
415
|
+
|
|
416
|
+
Clients -->|"Stdio (Local)"| Stdio["src/stdio.ts
|
|
417
|
+
- Process I/O
|
|
418
|
+
- JSON-RPC"]
|
|
419
|
+
Clients -->|"HTTP/SSE (Remote)"| HTTP["src/http.ts (Hono + SSE)
|
|
420
|
+
- /mcp
|
|
421
|
+
- /mcp-health
|
|
422
|
+
- Bearer Auth"]
|
|
423
|
+
|
|
424
|
+
Stdio --> Server["src/get-mcp-server.ts
|
|
425
|
+
MCP Server Factory
|
|
426
|
+
- registerTool()
|
|
427
|
+
- Tool Handlers
|
|
428
|
+
- Logging"]
|
|
429
|
+
HTTP --> Server
|
|
430
|
+
|
|
431
|
+
Server --> Search["you-search
|
|
432
|
+
- Validation
|
|
433
|
+
- Query Build
|
|
434
|
+
- Formatting"]
|
|
435
|
+
Server --> Express["you-express
|
|
436
|
+
- Validation
|
|
437
|
+
- Transform
|
|
438
|
+
- Formatting"]
|
|
439
|
+
Server --> Contents["you-contents
|
|
440
|
+
- Validation
|
|
441
|
+
- Multi-URL
|
|
442
|
+
- Formatting"]
|
|
443
|
+
|
|
444
|
+
Search -->|X-API-Key| APIs["You.com APIs
|
|
445
|
+
- Search API (ydc-index.io)
|
|
446
|
+
- Agent API (api.you.com)
|
|
447
|
+
- Contents API (ydc-index.io)"]
|
|
448
|
+
Express -->|Bearer| APIs
|
|
449
|
+
Contents -->|X-API-Key| APIs
|
|
458
450
|
```
|
|
459
451
|
|
|
460
452
|
### Request Flow
|
package/bin/stdio.js
CHANGED
|
@@ -11154,7 +11154,7 @@ class StdioServerTransport {
|
|
|
11154
11154
|
// package.json
|
|
11155
11155
|
var package_default = {
|
|
11156
11156
|
name: "@youdotcom-oss/mcp",
|
|
11157
|
-
version: "1.
|
|
11157
|
+
version: "1.3.1",
|
|
11158
11158
|
description: "You.com API Model Context Protocol Server",
|
|
11159
11159
|
license: "MIT",
|
|
11160
11160
|
engines: {
|