YO

youdotcom-oss/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

27 stars 6 forks 质量 87 趋势 20MIT

托管 You.com MCP 服务器的 STDIO 桥接器 https://api.you.com/mcp.

概览

仅用于托管 You.com MCP 服务器的 Bin-Bin STDIO 桥,位于 https://api.you.com/mcp. 该包不本地注册工具,也不包含 REST 工具逻辑。它的唯一任务是将 STDIO MCP 流量代理到托管的远程服务器。 如果您的客户端支持远程MCP,直接指向https://api.you.com/mcp?profile=free——无需本地进程。 编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或 %APPDATA%\Claude\claude_desktop_config.json(Windows): 添加到 ~/.cursor/mcp.json(或项目中的 .cursor/mcp.json): 添加到 ~/.codeium/windsurf/mcp_config.json: 如果你的客户端支持可流式 HTTP,可以跳过本地桥接: - YDC_API_KEY 可选。作为授权发送:承载者。- YDC_PROFILE 可选。设置为自由时,将桥接路由至 https://api.you.com/mcp?profile=free.。- YDC_ALLOWED_TOOLS 可选。逗号分隔的托管工具 ID 可通过 https://api.you.com/mcp?tools=.... 进行暴露。

概述(AI 翻译)

仅用于托管 You.com MCP 服务器的 STDIO 桥,位于 https://api.you.com/mcp。

该包不本地注册工具,也不包含 REST 工具逻辑。它的唯一任务是将 STDIO MCP 流量代理到托管的远程服务器。

快速开始

如果您的客户端支持远程MCP,直接指向https://api.you.com/mcp?profile=free——无需本地进程。

克劳德桌面

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或%APPDATA%\Claude\claude_desktop_config.json(Windows):

认证(所有默认工具):

克劳德·科德

光标

在项目中加到 ~/.cursor/mcp.json(或在项目中为 .cursor/mcp.json):

风帆冲浪

加到~/.codeium/windsurf/mcp_config.json:

VS 代码

添加到您的用户或工作区 mcp.json:

任何MCP客户端(远程)

如果你的客户端支持可流式 HTTP,可以跳过本地桥接:

认证:

安装

或者直接运行:

环境

  • YDC_API_KEY 可选。发送方式为Authorization: Bearer 。
  • YDC_PROFILE 可选。当设置为free时,将桥接路由到https://api.you.com/mcp?profile=free。
  • YDC_ALLOWED_TOOLS 可选。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

@youdotcom-oss/mcp

Bin-only STDIO bridge for the hosted You.com MCP server at https://api.you.com/mcp.

This package does not register tools locally and does not contain REST tool logic. Its only job is to proxy STDIO MCP traffic to the hosted remote server.

Quick start

// Add this to your MCP client config (Claude Desktop, Cursor, Windsurf, etc.)
// Free tier — no API key, no signup.
{
  "mcpServers": {
    "you": {
      "command": "npx",
      "args": ["@youdotcom-oss/mcp"],
      "env": { "YDC_PROFILE": "free" }
    }
  }
}

If your client supports remote MCP, point it at https://api.you.com/mcp?profile=free directly — no local process needed.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "you": {
      "command": "npx",
      "args": ["@youdotcom-oss/mcp"],
      "env": { "YDC_PROFILE": "free" }
    }
  }
}

Authenticated (all default tools):

{
  "mcpServers": {
    "you": {
      "command": "npx",
      "args": ["@youdotcom-oss/mcp"],
      "env": { "YDC_API_KEY": "" }
    }
  }
}

Claude Code

# Free tier
claude mcp add you -e YDC_PROFILE=free -- npx @youdotcom-oss/mcp

# Authenticated
claude mcp add you -e YDC_API_KEY= -- npx @youdotcom-oss/mcp

Cursor

Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "you": {
      "command": "npx",
      "args": ["@youdotcom-oss/mcp"],
      "env": { "YDC_PROFILE": "free" }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "you": {
      "command": "npx",
      "args": ["@youdotcom-oss/mcp"],
      "env": { "YDC_PROFILE": "free" }
    }
  }
}

VS Code

Add to your user or workspace mcp.json:

{
  "servers": {
    "you": {
      "command": "npx",
      "args": ["@youdotcom-oss/mcp"],
      "env": { "YDC_PROFILE": "free" }
    }
  }
}

Any MCP client (remote)

If your client speaks streamable HTTP, skip the local bridge:

https://api.you.com/mcp?profile=free

Authenticated:

https://api.you.com/mcp
Authorization: Bearer 

Install

bun add @youdotcom-oss/mcp

Or run it directly:

npx @youdotcom-oss/mcp

Environment

  • YDC_API_KEY Optional. Sent as Authorization: Bearer .
  • YDC_PROFILE Optional. When set to free, routes the bridge to https://api.you.com/mcp?profile=free.
  • YDC_ALLOWED_TOOLS Optional. Comma-separated hosted tool ids to expose through https://api.you.com/mcp?tools=....

YDC_PROFILE takes precedence over YDC_ALLOWED_TOOLS.

Tool exposure

The default hosted MCP URL exposes four tools:

  • you-search
  • you-contents
  • you-balance
  • you-discover

Two additional tools are available on request:

  • you-finance
  • you-research
在 GitHub 查看完整 README

安装

npx @youdotcom-oss/mcp
新手?先看 mcpskill.org 教程 →

配置

// Add this to your MCP client config (Claude Desktop, Cursor, Windsurf, etc.) // Free tier — no API key, no signup. { "mcpServers": { "you": { "command": "npx", "args": ["@youdotcom-oss/mcp"], "env": { "YDC_PROFILE": "free" } } } }