@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.
Files changed (3) hide show
  1. package/AGENTS.md +39 -47
  2. package/bin/stdio.js +1 -1
  3. 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
- MCP Clients
414
- (Claude Desktop, Claude Code, Custom Clients)
415
- └────────────────┬──────────────────────┬─────────────────────────┘
416
- │ │
417
- Stdio │ HTTP/SSE
418
- (Local) │ (Remote)
419
- ▼ ▼
420
- ┌────────────────┐ ┌─────────────────┐
421
- │ src/stdio.ts │ │ src/http.ts │
422
- │ │ │ (Hono + SSE) │
423
- │ - Process I/O │ │ - /mcp │
424
- │ - JSON-RPC │ │ - /mcp-health │
425
- └────────┬───────┘ │ - Bearer Auth │
426
- │ └────────┬─────────┘
427
- │ │
428
- └──────────┬──────────┘
429
-
430
- ┌────────────────────────┐
431
- src/get-mcp-server.ts │
432
- │ MCP Server Factory │
433
- │ │
434
- - registerTool() │
435
- - Tool Handlers │
436
- - Logging │
437
- └────────┬───────────────┘
438
-
439
- ┌────────────────┼────────────────┐
440
- │ │ │
441
- ▼ ▼ ▼
442
- ┌───────────────┐ ┌──────────────┐ ┌──────────────┐
443
- │ you-search │ │ you-express │ │ you-contents │
444
- │ │ │ │ │ │
445
- - Validation │ - Validation │ │ - Validation │
446
- - Query Build │ │ - Transform │ │ - Multi-URL │
447
- - Formatting │ - Formatting │ │ - Formatting │
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.2.5",
11157
+ version: "1.3.1",
11158
11158
  description: "You.com API Model Context Protocol Server",
11159
11159
  license: "MIT",
11160
11160
  engines: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youdotcom-oss/mcp",
3
- "version": "1.2.5",
3
+ "version": "1.3.1",
4
4
  "description": "You.com API Model Context Protocol Server",
5
5
  "license": "MIT",
6
6
  "engines": {