@youdotcom-oss/mcp 2.1.0 → 3.1.0

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/README.md CHANGED
@@ -1,15 +1,14 @@
1
1
  # You.com MCP Server
2
2
 
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.
3
+ Connect your AI agents to You.com's **hosted MCP service** for real-time web search, AI answers, and content extraction. [Model Context Protocol](https://modelcontextprotocol.io/) gives you one integration that works across IDEs, frameworks, and production systems. Use the remote server at `https://api.you.com/mcp` directly, or install this npm package as a lightweight STDIO bridge for clients that require a local process.
4
4
 
5
5
  ## Features
6
6
 
7
7
  - **Web and news search**: Comprehensive search using You.com's unified Search API with advanced search operators
8
8
  - **Research**: Comprehensive answers with cited sources, configurable effort (lite to exhaustive)
9
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
- - **Bearer Token Authentication**: Secure API access in HTTP mode
12
- - **TypeScript support**: Full type safety with Zod schemas
10
+ - **Multiple access methods**: Remote server (recommended) or local STDIO bridge
11
+ - **Free tier**: Search works without an API key (rate-limited by IP)
13
12
  - **Advanced search parameters**: Site filtering, file type filtering, language filtering, exact terms, and exclude terms
14
13
 
15
14
  ## Getting started
@@ -20,6 +19,8 @@ Get up and running with the You.com MCP Server in 4 quick steps:
20
19
 
21
20
  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
21
 
22
+ > **Free tier**: Search works without an API key (rate-limited). API key required for contents and research tools.
23
+
23
24
  ### 2. Choose your setup
24
25
 
25
26
  You can discover this server in the [Anthropic MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.youdotcom-oss/mcp`, or configure it manually:
@@ -28,7 +29,7 @@ You can discover this server in the [Anthropic MCP Registry](https://registry.mo
28
29
  - Use `https://api.you.com/mcp` with HTTP transport
29
30
  - Authentication via `Authorization: Bearer <your-key>` header
30
31
 
31
- **NPM package** - Runs locally on your machine
32
+ **NPM package** - STDIO bridge to the remote server
32
33
  - Use `npx @youdotcom-oss/mcp` with STDIO transport
33
34
  - Authentication via `YDC_API_KEY` environment variable
34
35
  - Requires Bun or Node.js
@@ -65,9 +66,9 @@ Choose your MCP client from the [detailed setup guides](#adding-to-your-mcp-clie
65
66
 
66
67
  **Configuration notes:**
67
68
  - Remote server recommended for most users (no installation, always up-to-date)
68
- - NPM package for local usage or self-hosting scenarios
69
- - HTTP transport for remote connections; STDIO transport for local packages
70
- - API key always required (header for HTTP, environment variable for STDIO)
69
+ - NPM package for MCP clients that require local STDIO processes
70
+ - `YDC_API_KEY` is optional omit for free tier (search only, rate-limited)
71
+ - `MCP_SERVER_URL` env var overrides the remote server URL (defaults to `https://api.you.com/mcp`)
71
72
 
72
73
  ### 4. Test your setup
73
74
 
@@ -80,33 +81,23 @@ Your agent will automatically use the appropriate tool based on your natural lan
80
81
 
81
82
  ## Adding to your MCP client
82
83
 
83
- Detailed configuration instructions for specific MCP clients. See [Getting Started](#getting-started) above for a quick overview.
84
+ Use the configuration templates from [Getting Started](#getting-started) above with your client's MCP setup. Any MCP-compatible client follows the same pattern.
84
85
 
85
86
  <details>
86
87
  <summary><strong>Claude Code</strong></summary>
87
88
 
88
- Use the Claude Code CLI to add the You.com MCP server:
89
-
90
- **Quick setup:**
91
89
  ```bash
92
90
  claude mcp add --transport http ydc-server https://api.you.com/mcp --header "Authorization: Bearer <your-api-key>"
93
91
  ```
94
92
 
95
- For setup, follow the MCP installation [guide](https://code.claude.com/docs/en/mcp).
93
+ For full setup, see the MCP installation [guide](https://code.claude.com/docs/en/mcp).
96
94
 
97
95
  </details>
98
96
 
99
97
  <details>
100
98
  <summary><strong>Claude Desktop</strong></summary>
101
99
 
102
- For setup, follow the MCP installation [guide](https://modelcontextprotocol.io/docs/develop/connect-local-servers).
103
-
104
- </details>
105
-
106
- <details>
107
- <summary><strong>Codex</strong></summary>
108
-
109
- For setup, follow the MCP installation [guide](https://github.com/openai/codex/blob/main/docs/config.md#streamable-http).
100
+ Use the remote server configuration template from Step 3 above. For full setup, see the MCP installation [guide](https://modelcontextprotocol.io/docs/develop/connect-local-servers).
110
101
 
111
102
  </details>
112
103
 
@@ -115,69 +106,31 @@ For setup, follow the MCP installation [guide](https://github.com/openai/codex/b
115
106
 
116
107
  [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=ydc-server&config=eyJ1cmwiOiJodHRwczovL2FwaS55b3UuY29tL21jcCIsImhlYWRlcnMiOnsiQXV0aG9yaXphdGlvbiI6IkJlYXJlciA8eW91LWFwaS1rZXk%2BIn19)
117
108
 
118
- For setup, follow the MCP installation [guide](https://cursor.com/docs/context/mcp#installing-mcp-servers); use the configuration template above ***without type field***.
109
+ Use the configuration template above ***without the type field***. For full setup, see the [guide](https://cursor.com/docs/context/mcp#installing-mcp-servers).
119
110
 
120
111
  **Note:** To avoid conflicts, go to Settings > Agents tab and turn off Cursor's built-in web search tool.
121
112
 
122
113
  </details>
123
114
 
124
- <details>
125
- <summary><strong>Gemini CLI</strong></summary>
126
-
127
- 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.
128
-
129
- </details>
130
-
131
- <details>
132
- <summary><strong>JetBrains IDEs</strong></summary>
133
-
134
- 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.
135
-
136
- **Supported IDEs:** IntelliJ IDEA, PyCharm, WebStorm, etc. (requires AI Assistant enabled)
137
-
138
- </details>
139
-
140
- <details>
141
- <summary><strong>LM Studio</strong></summary>
142
-
143
- For setup, follow the MCP installation [guide](https://lmstudio.ai/docs/app/mcp); use the configuration template above ***without type field***.
144
-
145
- </details>
146
-
147
- <details>
148
- <summary><strong>opencode</strong></summary>
149
-
150
- For setup, follow the MCP installation [guide](https://opencode.ai/docs/mcp-servers/#remote); use the configuration template above.
151
-
152
- </details>
153
-
154
115
  <details>
155
116
  <summary><strong>VS Code</strong></summary>
156
117
 
157
- Use the VS Code CLI to add the You.com MCP server:
158
-
159
- **Quick setup (command line):**
160
118
  ```bash
161
119
  code --add-mcp "{\"name\":\"ydc-server\",\"url\":\"https://api.you.com/mcp\",\"type\":\"http\",\"headers\":{\"Authorization\":\"Bearer <your-api-key>\"}}"
162
120
  ```
163
121
 
164
- 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.
122
+ For full setup, see the MCP installation [guide](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_add-an-mcp-server).
165
123
 
166
124
  </details>
167
125
 
168
- <details>
169
- <summary><strong>Windsurf</strong></summary>
170
-
171
- For setup, follow the MCP installation [guide](https://docs.windsurf.com/windsurf/cascade/mcp#adding-a-new-mcp-plugin).
172
-
173
- </details>
174
-
175
- <details>
176
- <summary><strong>Zed Editor</strong></summary>
177
-
178
- For setup, follow the MCP installation [guide](https://zed.dev/docs/ai/mcp#as-custom-servers); use the configuration template above ***without type field***.
179
-
180
- </details>
126
+ **Other clients** — use the configuration template from Step 3 with your client's MCP setup guide:
127
+ - [Codex](https://github.com/openai/codex/blob/main/docs/config.md#streamable-http)
128
+ - [Gemini CLI](https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html#how-to-set-up-your-mcp-server)
129
+ - [JetBrains IDEs](https://www.jetbrains.com/help/ai-assistant/mcp.html#connect-to-an-mcp-server)
130
+ - [LM Studio](https://lmstudio.ai/docs/app/mcp) *(omit type field)*
131
+ - [opencode](https://opencode.ai/docs/mcp-servers/#remote)
132
+ - [Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp#adding-a-new-mcp-plugin)
133
+ - [Zed Editor](https://zed.dev/docs/ai/mcp#as-custom-servers) *(omit type field)*
181
134
 
182
135
  ## Available tools
183
136
 
@@ -281,7 +234,7 @@ If you encounter a problem, you can report it via email or GitHub:
281
234
 
282
235
  **Web support:** [You.com Support](https://you.com/support/contact-us)
283
236
 
284
- **GitHub Issues:** [Report bugs and feature requests](https://github.com/youdotcom-oss/mcp-server/issues)
237
+ **GitHub Issues:** [Report bugs and feature requests](https://github.com/youdotcom-oss/dx-toolkit/issues)
285
238
 
286
239
  **Tip:** When errors occur, check your MCP client logs - they include a pre-filled mailto link with error details for easy reporting.
287
240
 
@@ -289,10 +242,12 @@ If you encounter a problem, you can report it via email or GitHub:
289
242
 
290
243
  Interested in contributing to the You.com MCP Server? We'd love your help!
291
244
 
292
- Need technical details? Check [AGENTS.md](./AGENTS.md) for complete development setup, architecture overview, code patterns, and testing guidelines.
245
+ Need technical details? See the [mcp-patterns skill](../../.agents/skills/mcp-patterns/SKILL.md) for architecture, bridge maintenance patterns, and testing guidelines.
246
+
247
+ **Publishing note**: npm publish (`.github/workflows/publish-mcp.yml`) is for STDIO bridge changes only — rarely needed. The Anthropic MCP Registry is updated separately via `.github/workflows/publish-registry.yml` when the remote server's public surface changes (tools, auth, URL).
293
248
 
294
249
  1. Fork the repository
295
- 2. Create a feature branch following naming conventions in [CONTRIBUTING.md](../../CONTRIBUTING.md)
250
+ 2. Create a feature branch following naming conventions in [CONTRIBUTING.md](../../CONTRIBUTING.md)
296
251
  3. Follow the code style guidelines and use conventional commits
297
252
  4. Write tests for your changes (maintain >80% coverage)
298
253
  5. Run quality checks: `bun run check && bun test`