Skip to content

feat: add optional you.com MCP template to setup wizard - #1107

Open
mouse-value-add wants to merge 1 commit into
Nano-Collective:mainfrom
mouse-value-add:feat/youcom-search-integration
Open

feat: add optional you.com MCP template to setup wizard#1107
mouse-value-add wants to merge 1 commit into
Nano-Collective:mainfrom
mouse-value-add:feat/youcom-search-integration

Conversation

@mouse-value-add

Copy link
Copy Markdown

What

Adds a You.com entry to the MCP wizard template list (MCP_TEMPLATES), next to Brave Search and DuckDuckGo. I noticed the wizard already curates remote HTTP servers like DeepWiki and Context7 through remoteHttpTemplate, so this follows that same pattern rather than introducing anything new.

The template builds a remote HTTP config pointing at https://api.you.com/mcp:

  • With a key: pasting a YDC_API_KEY builds an authenticated config with a Authorization: Bearer *** header (same shape as the github-remote template's header handling).
  • Without a key: the API-key field is optional — leaving it empty falls back to the keyless free profile at https://api.you.com/mcp?profile=free, so basic you-search works with zero signup.

Once connected, the agent gets You.com's you-search / you-contents / you-research tools for web search, URL reading, and cited research — useful for the same "verify current library versions / unknown APIs" cases the built-in tools don't cover.

Why it's safe

  • Fully opt-in: nothing changes unless a user explicitly picks "You.com" from /settings mcp.
  • No new dependencies, no behavior changes for existing configs.
  • API key field is marked sensitive: true like the other credential fields.

Changes

  • source/wizards/templates/mcp-templates.ts — new you template (36 lines, one registry entry)
  • source/wizards/templates/mcp-templates.spec.ts — 4 tests: authenticated config, keyless fallback, whitespace trimming, blank-key fallback; also added you to the "remote templates: have no required fields" list
  • .changeset/youcom-mcp-wizard-template.md — minor changeset

Validation

  • pnpm test:ava source/wizards/templates/mcp-templates.spec.ts — 38/38 pass (incl. the dead-host guard and transport-field checks)
  • pnpm test:types — clean
  • pnpm test:format / pnpm test:lint — clean
  • node scripts/validate-changesets.js — clean
  • pnpm test:knip — clean (pre-existing hints only)

Live-endpoint note: I could not run the wizard interactively here, but the config shape matches the working context7/deepwiki HTTP entries, and both You.com endpoints (https://api.you.com/mcp and ?profile=free) are live remote servers — easy to sanity-check with /mcp after installing the template.

Happy to adjust the shape if you'd rather split this into two templates (authenticated vs. free) or use the simpler remoteHttpTemplate without the optional-key logic.

Adds a You.com entry to the MCP wizard template list. The template builds
a remote HTTP config pointing at https://api.you.com/mcp with an optional
YDC_API_KEY bearer header; leaving the key empty falls back to the keyless
free profile (https://api.you.com/mcp?profile=free).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant