Fix You.com MCP authentication guidance
- commit
- 083468961fdf0259a1ff7fbae39d499d18147484
- author
- patriceckhart · · 2026-09-02 12:02 UTC
- parent
- 69857c2
- signature
- unsigned
2 files · +14 -9
M examples/extensions/mcp-bridge/README.md +13 -8
| @@ -225,22 +225,27 @@ Standard MCP config — same as Claude Desktop, with zot-specific extensions: | |||
| 225 | 225 | ### You.com template | |
| 226 | 226 | ||
| 227 | 227 | `/mcp setup add you` registers the keyless You.com MCP profile | |
| 228 | - | (`you-search`). It needs no account or API key. To move to the | |
| 229 | - | authenticated server with the full You.com tool set, edit | |
| 230 | - | `$ZOT_HOME/mcp.json` after adding the template: | |
| 228 | + | (`you-search`). It needs no account or API key. To use the authenticated | |
| 229 | + | server and its additional tools, edit `$ZOT_HOME/mcp.json` after adding | |
| 230 | + | the template: | |
| 231 | 231 | ||
| 232 | 232 | ```jsonc | |
| 233 | 233 | { | |
| 234 | - | "you": { | |
| 235 | - | "transport": "streamable-http", | |
| 236 | - | "url": "https://api.you.com/mcp", | |
| 237 | - | "headers": { | |
| 238 | - | "Authorization": "Bearer YOUR_YDC_API_KEY" | |
| 234 | + | "mcpServers": { | |
| 235 | + | "you": { | |
| 236 | + | "transport": "streamable-http", | |
| 237 | + | "url": "https://api.you.com/mcp", | |
| 238 | + | "headers": { | |
| 239 | + | "Authorization": "Bearer YOUR_YDC_API_KEY" | |
| 240 | + | } | |
| 239 | 241 | } | |
| 240 | 242 | } | |
| 241 | 243 | } | |
| 242 | 244 | ``` | |
| 243 | 245 | ||
| 246 | + | The authenticated endpoint does not expose `you-finance` by default. Request | |
| 247 | + | it explicitly with the `?tools=` URL parameter or the `X-Allowed-Tools` header. | |
| 248 | + | ||
| 244 | 249 | ## How It Works | |
| 245 | 250 | ||
| 246 | 251 | ``` | |
| @@ -225,22 +225,27 @@ Standard MCP config — same as Claude Desktop, with zot-specific extensions: | |||||
| 225 | ### You.com template | 225 | ### You.com template | ||
| 226 | 226 | ||||
| 227 | `/mcp setup add you` registers the keyless You.com MCP profile | 227 | `/mcp setup add you` registers the keyless You.com MCP profile | ||
| 228 | - | (`you-search`). It needs no account or API key. To move to the | 228 | + | (`you-search`). It needs no account or API key. To use the authenticated |
| 229 | - | authenticated server with the full You.com tool set, edit | 229 | + | server and its additional tools, edit `$ZOT_HOME/mcp.json` after adding |
| 230 | - | `$ZOT_HOME/mcp.json` after adding the template: | 230 | + | the template: |
| 231 | 231 | ||||
| 232 | ```jsonc | 232 | ```jsonc | ||
| 233 | { | 233 | { | ||
| 234 | - | "you": { | 234 | + | "mcpServers": { |
| 235 | - | "transport": "streamable-http", | 235 | + | "you": { |
| 236 | - | "url": "https://api.you.com/mcp", | 236 | + | "transport": "streamable-http", |
| 237 | - | "headers": { | 237 | + | "url": "https://api.you.com/mcp", |
| 238 | - | "Authorization": "Bearer YOUR_YDC_API_KEY" | 238 | + | "headers": { |
| 239 | + | "Authorization": "Bearer YOUR_YDC_API_KEY" | |||
| 240 | + | } | |||
| 239 | } | 241 | } | ||
| 240 | } | 242 | } | ||
| 241 | } | 243 | } | ||
| 242 | ``` | 244 | ``` | ||
| 243 | 245 | ||||
| 246 | + | The authenticated endpoint does not expose `you-finance` by default. Request | |||
| 247 | + | it explicitly with the `?tools=` URL parameter or the `X-Allowed-Tools` header. | |||
| 248 | + | ||||
| 244 | ## How It Works | 249 | ## How It Works | ||
| 245 | 250 | ||||
| 246 | ``` | 251 | ``` | ||
M examples/extensions/mcp-bridge/setup.go +1 -1
| @@ -64,7 +64,7 @@ func setupTemplates() map[string]serverTemplate { | |||
| 64 | 64 | }, | |
| 65 | 65 | "you": { | |
| 66 | 66 | Name: "you", | |
| 67 | - | Description: "Current web search via the keyless You.com MCP server (you-search). Add an Authorization Bearer header with a YDC_API_KEY for the full tool set.", | |
| 67 | + | Description: "Current web search via the keyless You.com MCP server (you-search). Add an Authorization Bearer header with a YDC_API_KEY for additional authenticated tools.", | |
| 68 | 68 | Config: func(cwd string) ServerConfig { | |
| 69 | 69 | return ServerConfig{ | |
| 70 | 70 | Transport: "streamable-http", | |
| @@ -64,7 +64,7 @@ func setupTemplates() map[string]serverTemplate { | |||||
| 64 | }, | 64 | }, | ||
| 65 | "you": { | 65 | "you": { | ||
| 66 | Name: "you", | 66 | Name: "you", | ||
| 67 | - | Description: "Current web search via the keyless You.com MCP server (you-search). Add an Authorization Bearer header with a YDC_API_KEY for the full tool set.", | 67 | + | Description: "Current web search via the keyless You.com MCP server (you-search). Add an Authorization Bearer header with a YDC_API_KEY for additional authenticated tools.", |
| 68 | Config: func(cwd string) ServerConfig { | 68 | Config: func(cwd string) ServerConfig { | ||
| 69 | return ServerConfig{ | 69 | return ServerConfig{ | ||
| 70 | Transport: "streamable-http", | 70 | Transport: "streamable-http", | ||