Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the You.com MCP server

Vendor MCP
Open markdown

The You.com MCP connector routes your AI agent's tool calls to You.com's own MCP server through Scalekit. Each user connects their own You.com access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 6 tools.

Tools
6
What they doRead · write · destructive
3 · 3 · 03 read3 write0 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the You.com MCP connection

    In AgentKit > Connections, create a You.com MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Console steps with screenshots

    Register your You.com API key with Scalekit so it can authenticate and proxy search requests on behalf of your users. You.com MCP uses API key authentication.

    1. Get a You.com API key

      • Go to you.platform and sign in or create an account.
      • In the left sidebar, under API Management, click API Keys.
      • Enter a name for your key (e.g. Agent Auth) and click Create.

      You.com API Keys page showing the Create new key form and existing keys list

      • Copy the generated key — it starts with ydc-sk-.
    2. Create a connection in Scalekit

      • In the Scalekit dashboard, go to AgentKit → Connections → Create Connection.
      • Search for You.com MCP and click Create.
      • Note the Connection name — use this as connection_name in your code (e.g., youmcp).
    3. Add a connected account

      Connected accounts link a specific user identifier in your system to a You.com API key. Add one in the dashboard to test. In production, each user adds their own through the authorization link: they enter their credentials on the page it opens.

      In the dashboard, to test

      • Open the connection and click the Connected Accounts tab → Add account.
      • Fill in Your User’s ID and API Key, then click Save.

      From your backend, if your app already has the credentials

      For example, when users enter them on a settings page in your app:

      import { ConnectorStatus } from '@scalekit-sdk/node'
      const authorizationDetails = {
      details: {
      case: 'staticAuth',
      value: { details: { token: 'ydc-sk-...' } },
      },
      }
      let { connectedAccount } = await scalekit.actions.upsertConnectedAccount({
      connectionName: 'youmcp',
      identifier: 'user_123',
      authorizationDetails,
      })
      // Make sure the account is ACTIVE before the first tool call.
      if (connectedAccount?.status !== ConnectorStatus.ACTIVE) {
      ;({ connectedAccount } = await scalekit.actions.upsertConnectedAccount({
      connectionName: 'youmcp',
      identifier: 'user_123',
      authorizationDetails,
      }))
      }
  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'youmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize You.com MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'youmcp_you-balance',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their You.com MCP server credentials there. If your app already has a user's credentials, add the account from your backend instead, as the console steps above show. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • youmcp_you-answerFast live-web answer generation returning one synthesized answer with verified inline citations, citation excerpts, and supporting web results.Read-only

    You Answer

    Fast live-web answer generation returning one synthesized answer with verified inline citations, citation excerpts, and supporting web results. Use when the caller wants a single sourced answer; use research for deeper multi-step investigation, effort control, structured output, or background tasks. Supports freshness, country, language, and domain filters.

    Inputs

    querystringrequired
    Focused live-web question or lookup request. Returns a synthesized answer with inline citations, citation excerpts, and supporting web results.
    boost_domainsarray
    Domains to prefer in ranking (up to 500). Can combine with exclude_domains, not include_domains.
    countrystring
    A supported country code that determines the geographical focus.one of ARAUATBEBRCACLDKFIFRDEHKINIDITJPKRMYMXNLNZNOCNPLPTPHRUSAZAESSECHTWTRGBUS
    exclude_domainsarray
    Domains to exclude from results (up to 500).
    freshnessstring
    day/week/month/year or YYYY-MM-DDtoYYYY-MM-DD.
    include_domainsarray
    Domains to exclusively include (up to 500).
    languagestring
    A supported BCP 47 language tag that determines the language.one of AREUBNBGCAHRCSDANLENEN-GBETFIFRGLDEELGUHEHIHUISITKNKOLVLTMSMLMRNBPLPARORUSRSKSLESSVTATETHTRUKVI
  • youmcp_you-balanceGet the remaining credit balance for the billing entity associated with your You.com API key.Read-only

    You Account Balance

    Get the remaining credit balance for the billing entity associated with your You.com API key. Balance is in cents (divide by 100 for USD).

    Inputs

    This tool takes no inputs.

  • youmcp_you-discoverDiscover AI agents, MCP servers, A2A agents, and skills via ARD Agent Finder services.Read-only

    You Agent Discovery

    Discover AI agents, MCP servers, A2A agents, and skills via ARD Agent Finder services. Search-only — never installs or connects. Returns ranked results with relevance scores.

    Inputs

    querystringrequired
    Natural-language task to find agents/tools for.
    finderstring
    Which Agent Finder discovery service(s) to query.one of githubhuggingfacealldefault all
    finder_urlstring
    Optional custom finder URL (must be public http/https). Augments selected finders.
    limitinteger
    Max consolidated results (1–25).default 10
  • youmcp_you-contentsExtract content from one or more web pages in markdown, HTML, or structured metadata format.Write

    You Contents

    Extract content from one or more web pages in markdown, HTML, or structured metadata format. Supports up to 100 URLs per call.

    Inputs

    urlsarrayrequired
    One or more public HTTP/HTTPS URLs to extract content from (up to 100).
    crawl_timeoutnumber
    Timeout in seconds for live-crawling pages (1–60).
    formatstring
    (Deprecated) Output format - use formats array insteadone of markdownhtml
    formatsarray
    Output formats to return: markdown (plain text), html (layout preserved), or metadata (structured data).
  • youmcp_you-researchResearch a topic in depth using You.com's AI.Write

    You Research

    Research a topic in depth using You.com's AI. Returns comprehensive answers with cited sources at configurable effort levels (lite, standard, deep, exhaustive).

    Inputs

    inputstringrequired
    The research question or complex query for in-depth multi-step investigation (max 40,000 characters).
    research_effortstring
    How much effort to spend: lite (fast), standard (balanced), deep (thorough), exhaustive (most comprehensive).one of litestandarddeepexhaustivedefault standard