Claude Agent 与 You.com 极速集成
简介
来自 You.com 开源团队的官方集成指南,通过 HTTP MCP 服务器为 Claude Agent 快速添加网络搜索与内容获取能力,支持 Python 和 TypeScript 双栈开发。
原始描述
Integrate Claude Agent SDK with You.com HTTP MCP server for Python and TypeScript. Use when developer mentions Claude Agent SDK, Anthropic Agent SDK, or integrating Claude with MCP tools.
通过你的 Agent 添加
安装目录:ydc-claude-agent-sdk-integration/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
该Skill是纯文档型集成指南,帮助开发者将Anthropic Claude Agent SDK与You.com的HTTP MCP服务器进行集成。它不执行任何代码,而是通过交互式问答流程引导用户完成配置:
- 语言选择:Python或TypeScript(含v1/v2版本区分)
- 环境配置:指导设置
YDC_API_KEY和ANTHROPIC_API_KEY - 文件创建:提供全新文件模板或现有文件集成方案
- 代码生成:输出即插即用的完整代码模板
显著优点
- 零代码执行风险:纯Markdown文档,无可执行代码文件,彻底杜绝RCE、代码注入等攻击面
- 官方可信API:仅对接you.com和anthropic.com官方HTTPS端点,TLS 1.2+加密传输
- 安全凭证管理:强制使用环境变量读取API Key,示例中无硬编码凭证
- 生产就绪模板:提供Python async/await、TypeScript v1生成器、TypeScript v2 send/receive三种成熟模式
- HTTP MCP优势:无需本地安装,无状态模型,自动保持最新版本
潜在局限
- 依赖外部服务:需同时拥有You.com和Anthropic有效API Key,双重订阅成本
- TypeScript v2限制:要求TypeScript 5.2+,对旧项目兼容性有限
- 无自动错误恢复:纯文档型设计意味着故障排除依赖用户手动查阅"Common Issues"章节
- 工具名严格约束:必须使用
mcp__ydc__前缀,易因拼写错误导致工具调用失败
适合人群
- 已使用或计划使用Claude Agent SDK的Python/TypeScript开发者
- 需要为AI Agent添加实时网络搜索能力的团队
- 偏好HTTP MCP而非本地STDIO MCP的运维友好型场景
- 对安全合规要求严格的GDPR/CCPA合规项目
常规风险
- API Key泄露:用户可能误将密钥提交至版本控制(建议配合.gitignore教育)
- 速率限制:You.com MCP存在调用配额,生产环境需规划降级策略
- 模型版本漂移:模板中硬编码
claude-sonnet-4-5-20250929等版本号可能过期
- 网络可用性:HTTP MCP依赖稳定互联网连接,离线环境不可用
- 依赖外部服务:需同时拥有You.com和Anthropic有效API Key,双重订阅成本
- TypeScript v2限制:要求TypeScript 5.2+,对旧项目兼容性有限
- 无自动错误恢复:纯文档型设计意味着故障排除依赖用户手动查阅"Common Issues"章节
- 工具名严格约束:必须使用
mcp__ydc__前缀,易因拼写错误导致工具调用失败
适合人群
- 已使用或计划使用Claude Agent SDK的Python/TypeScript开发者
- 需要为AI Agent添加实时网络搜索能力的团队
- 偏好HTTP MCP而非本地STDIO MCP的运维友好型场景
- 对安全合规要求严格的GDPR/CCPA合规项目
常规风险
- API Key泄露:用户可能误将密钥提交至版本控制(建议配合.gitignore教育)
- 速率限制:You.com MCP存在调用配额,生产环境需规划降级策略
- 模型版本漂移:模板中硬编码
claude-sonnet-4-5-20250929等版本号可能过期
- 网络可用性:HTTP MCP依赖稳定互联网连接,离线环境不可用
- API Key泄露:用户可能误将密钥提交至版本控制(建议配合.gitignore教育)
- 速率限制:You.com MCP存在调用配额,生产环境需规划降级策略
- 模型版本漂移:模板中硬编码
claude-sonnet-4-5-20250929等版本号可能过期 - 网络可用性:HTTP MCP依赖稳定互联网连接,离线环境不可用
安全认证:CLS-Certify v2.1.0扫描,得分95/100,S级(优秀),零实质性发现,2个文档示例误报已排除。
技能正文
name: ydc-claude-agent-sdk-integration
description: Integrate Claude Agent SDK with You.com HTTP MCP server for Python and TypeScript. Use when developer mentions Claude Agent SDK, Anthropic Agent SDK, or integrating Claude with MCP tools.
license: MIT
compatibility: Python 3.10+ or TypeScript 5.2+ (for v2), Node.js 18+
metadata:
author: youdotcom-oss
category: sdk-integration
version: "1.0.0"
keywords: claude,anthropic,claude-agent-sdk,agent-sdk,mcp,you.com,integration,http-mcp,web-search,python,typescript
Integrate Claude Agent SDK with You.com MCP
Interactive workflow to set up Claude Agent SDK with You.com's HTTP MCP server.
Workflow
-
Ask: Language Choice
- Python or TypeScript?
-
If TypeScript - Ask: SDK Version
- v1 (stable, generator-based) or v2 (preview, send/receive pattern)?
- Note: v2 requires TypeScript 5.2+ for
await using support
-
Install Package
- Python:
pip install claude-agent-sdk
- TypeScript:
npm install @anthropic-ai/claude-agent-sdk
-
Ask: Environment Variables
- Using standard
YDC_API_KEY and ANTHROPIC_API_KEY?
- Or custom names?
- Have they set them?
- If NO: Guide to get keys:
- YDC_API_KEY: https://you.com/platform/api-keys
- ANTHROPIC_API_KEY: https://console.anthropic.com/settings/keys
-
Ask: File Location
- NEW file: Ask where to create and what to name
- EXISTING file: Ask which file to integrate into (add HTTP MCP config)
-
Create/Update File
For NEW files:
- Use the complete template code from the "Complete Templates" section below
- User can run immediately with their API keys set
For EXISTING files:
-
Add HTTP MCP server configuration to their existing code
-
Python configuration block:
from claude_agent_sdk import query, ClaudeAgentOptions
options = ClaudeAgentOptions(
mcp_servers={
"ydc": {
"type": "http",
"url": "https://api.you.com/mcp",
"headers": {
"Authorization": f"Bearer {os.getenv('YDC_API_KEY')}"
}
}
},
allowed_tools=[
"mcp__ydc__you_search",
"mcp__ydc__you_express",
"mcp__ydc__you_contents"
]
)
-
TypeScript configuration block:
const options = {
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${process.env.YDC_API_KEY}`
}
}
},
allowedTools: [
'mcp__ydc__you_search',
'mcp__ydc__you_express',
'mcp__ydc__you_contents'
]
};
Complete Templates
Ask: Language Choice
- Python or TypeScript?
If TypeScript - Ask: SDK Version
- v1 (stable, generator-based) or v2 (preview, send/receive pattern)?
- Note: v2 requires TypeScript 5.2+ for
await usingsupport
Install Package
- Python:
pip install claude-agent-sdk - TypeScript:
npm install @anthropic-ai/claude-agent-sdk
Ask: Environment Variables
- Using standard
YDC_API_KEYandANTHROPIC_API_KEY? - Or custom names?
- Have they set them?
- If NO: Guide to get keys:
- YDC_API_KEY: https://you.com/platform/api-keys
- ANTHROPIC_API_KEY: https://console.anthropic.com/settings/keys
Ask: File Location
- NEW file: Ask where to create and what to name
- EXISTING file: Ask which file to integrate into (add HTTP MCP config)
Create/Update File
For NEW files:
- Use the complete template code from the "Complete Templates" section below
- User can run immediately with their API keys set
For EXISTING files:
-
Add HTTP MCP server configuration to their existing code
-
Python configuration block:
from claude_agent_sdk import query, ClaudeAgentOptions options = ClaudeAgentOptions( mcp_servers={ "ydc": { "type": "http", "url": "https://api.you.com/mcp", "headers": { "Authorization": f"Bearer {os.getenv('YDC_API_KEY')}" } } }, allowed_tools=[ "mcp__ydc__you_search", "mcp__ydc__you_express", "mcp__ydc__you_contents" ] ) -
TypeScript configuration block:
const options = { mcpServers: { ydc: { type: 'http' as const, url: 'https://api.you.com/mcp', headers: { Authorization: `Bearer ${process.env.YDC_API_KEY}` } } }, allowedTools: [ 'mcp__ydc__you_search', 'mcp__ydc__you_express', 'mcp__ydc__you_contents' ] };
Use these complete templates for new files. Each template is ready to run with your API keys set.
Python Template (Complete Example)
"""
Claude Agent SDK with You.com HTTP MCP Server
Python implementation with async/await pattern
"""
import os
import asyncio
from claude_agent_sdk import query, ClaudeAgentOptions
# Validate environment variables
ydc_api_key = os.getenv("YDC_API_KEY")
anthropic_api_key = os.getenv("ANTHROPIC_API_KEY")
if not ydc_api_key:
raise ValueError(
"YDC_API_KEY environment variable is required. "
"Get your key at: https://you.com/platform/api-keys"
)
if not anthropic_api_key:
raise ValueError(
"ANTHROPIC_API_KEY environment variable is required. "
"Get your key at: https://console.anthropic.com/settings/keys"
)
async def main():
"""
Example: Search for AI news and get results from You.com MCP server
"""
# Configure Claude Agent with HTTP MCP server
options = ClaudeAgentOptions(
mcp_servers={
"ydc": {
"type": "http",
"url": "https://api.you.com/mcp",
"headers": {"Authorization": f"Bearer {ydc_api_key}"},
}
},
allowed_tools=[
"mcp__ydc__you_search",
"mcp__ydc__you_express",
"mcp__ydc__you_contents",
],
model="claude-sonnet-4-5-20250929",
)
# Query Claude with MCP tools available
async for message in query(
prompt="Search for the latest AI news from this week",
options=options,
):
# Handle different message types
if message.type == "text":
print(message.content)
elif message.type == "tool_use":
print(f"\n[Tool: {message.name}]")
print(f"Input: {message.input}")
elif message.type == "tool_result":
print(f"Result: {message.content}")
if __name__ == "__main__":
asyncio.run(main())
TypeScript v1 Template (Complete Example)
/**
* Claude Agent SDK with You.com HTTP MCP Server
* TypeScript v1 implementation with generator-based pattern
*/
import { query } from '@anthropic-ai/claude-agent-sdk';
// Validate environment variables
const ydcApiKey = process.env.YDC_API_KEY;
const anthropicApiKey = process.env.ANTHROPIC_API_KEY;
if (!ydcApiKey) {
throw new Error(
'YDC_API_KEY environment variable is required. ' +
'Get your key at: https://you.com/platform/api-keys'
);
}
if (!anthropicApiKey) {
throw new Error(
'ANTHROPIC_API_KEY environment variable is required. ' +
'Get your key at: https://console.anthropic.com/settings/keys'
);
}
/**
* Example: Search for AI news and get results from You.com MCP server
*/
async function main() {
// Query Claude with HTTP MCP configuration
const result = query({
prompt: 'Search for the latest AI news from this week',
options: {
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${ydcApiKey}`,
},
},
},
allowedTools: [
'mcp__ydc__you_search',
'mcp__ydc__you_express',
'mcp__ydc__you_contents',
],
model: 'claude-sonnet-4-5-20250929',
},
});
// Process messages as they arrive
for await (const msg of result) {
if (msg.type === 'text') {
console.log(msg.content);
} else if (msg.type === 'tool_use') {
console.log(`\n[Tool: ${msg.name}]`);
console.log(`Input: ${JSON.stringify(msg.input, null, 2)}`);
} else if (msg.type === 'tool_result') {
console.log(`Result: ${msg.content}`);
}
}
}
main().catch(console.error);
TypeScript v2 Template (Complete Example)
/**
* Claude Agent SDK with You.com HTTP MCP Server
* TypeScript v2 implementation with send/receive pattern
* Requires TypeScript 5.2+ for 'await using' support
*/
import { unstable_v2_createSession } from '@anthropic-ai/claude-agent-sdk';
// Validate environment variables
const ydcApiKey = process.env.YDC_API_KEY;
const anthropicApiKey = process.env.ANTHROPIC_API_KEY;
if (!ydcApiKey) {
throw new Error(
'YDC_API_KEY environment variable is required. ' +
'Get your key at: https://you.com/platform/api-keys'
);
}
if (!anthropicApiKey) {
throw new Error(
'ANTHROPIC_API_KEY environment variable is required. ' +
'Get your key at: https://console.anthropic.com/settings/keys'
);
}
/**
* Example: Search for AI news and get results from You.com MCP server
*/
async function main() {
// Create session with HTTP MCP configuration
// 'await using' ensures automatic cleanup when scope exits
await using session = unstable_v2_createSession({
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${ydcApiKey}`,
},
},
},
allowedTools: [
'mcp__ydc__you_search',
'mcp__ydc__you_express',
'mcp__ydc__you_contents',
],
model: 'claude-sonnet-4-5-20250929',
});
// Send message to Claude
await session.send('Search for the latest AI news from this week');
// Receive and process messages
for await (const msg of session.receive()) {
if (msg.type === 'text') {
console.log(msg.content);
} else if (msg.type === 'tool_use') {
console.log(`\n[Tool: ${msg.name}]`);
console.log(`Input: ${JSON.stringify(msg.input, null, 2)}`);
} else if (msg.type === 'tool_result') {
console.log(`Result: ${msg.content}`);
}
}
}
main().catch(console.error);
HTTP MCP Server Configuration
"""
Claude Agent SDK with You.com HTTP MCP Server
Python implementation with async/await pattern
"""
import os
import asyncio
from claude_agent_sdk import query, ClaudeAgentOptions
# Validate environment variables
ydc_api_key = os.getenv("YDC_API_KEY")
anthropic_api_key = os.getenv("ANTHROPIC_API_KEY")
if not ydc_api_key:
raise ValueError(
"YDC_API_KEY environment variable is required. "
"Get your key at: https://you.com/platform/api-keys"
)
if not anthropic_api_key:
raise ValueError(
"ANTHROPIC_API_KEY environment variable is required. "
"Get your key at: https://console.anthropic.com/settings/keys"
)
async def main():
"""
Example: Search for AI news and get results from You.com MCP server
"""
# Configure Claude Agent with HTTP MCP server
options = ClaudeAgentOptions(
mcp_servers={
"ydc": {
"type": "http",
"url": "https://api.you.com/mcp",
"headers": {"Authorization": f"Bearer {ydc_api_key}"},
}
},
allowed_tools=[
"mcp__ydc__you_search",
"mcp__ydc__you_express",
"mcp__ydc__you_contents",
],
model="claude-sonnet-4-5-20250929",
)
# Query Claude with MCP tools available
async for message in query(
prompt="Search for the latest AI news from this week",
options=options,
):
# Handle different message types
if message.type == "text":
print(message.content)
elif message.type == "tool_use":
print(f"\n[Tool: {message.name}]")
print(f"Input: {message.input}")
elif message.type == "tool_result":
print(f"Result: {message.content}")
if __name__ == "__main__":
asyncio.run(main())
/**
* Claude Agent SDK with You.com HTTP MCP Server
* TypeScript v1 implementation with generator-based pattern
*/
import { query } from '@anthropic-ai/claude-agent-sdk';
// Validate environment variables
const ydcApiKey = process.env.YDC_API_KEY;
const anthropicApiKey = process.env.ANTHROPIC_API_KEY;
if (!ydcApiKey) {
throw new Error(
'YDC_API_KEY environment variable is required. ' +
'Get your key at: https://you.com/platform/api-keys'
);
}
if (!anthropicApiKey) {
throw new Error(
'ANTHROPIC_API_KEY environment variable is required. ' +
'Get your key at: https://console.anthropic.com/settings/keys'
);
}
/**
* Example: Search for AI news and get results from You.com MCP server
*/
async function main() {
// Query Claude with HTTP MCP configuration
const result = query({
prompt: 'Search for the latest AI news from this week',
options: {
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${ydcApiKey}`,
},
},
},
allowedTools: [
'mcp__ydc__you_search',
'mcp__ydc__you_express',
'mcp__ydc__you_contents',
],
model: 'claude-sonnet-4-5-20250929',
},
});
// Process messages as they arrive
for await (const msg of result) {
if (msg.type === 'text') {
console.log(msg.content);
} else if (msg.type === 'tool_use') {
console.log(`\n[Tool: ${msg.name}]`);
console.log(`Input: ${JSON.stringify(msg.input, null, 2)}`);
} else if (msg.type === 'tool_result') {
console.log(`Result: ${msg.content}`);
}
}
}
main().catch(console.error);
TypeScript v2 Template (Complete Example)
/**
* Claude Agent SDK with You.com HTTP MCP Server
* TypeScript v2 implementation with send/receive pattern
* Requires TypeScript 5.2+ for 'await using' support
*/
import { unstable_v2_createSession } from '@anthropic-ai/claude-agent-sdk';
// Validate environment variables
const ydcApiKey = process.env.YDC_API_KEY;
const anthropicApiKey = process.env.ANTHROPIC_API_KEY;
if (!ydcApiKey) {
throw new Error(
'YDC_API_KEY environment variable is required. ' +
'Get your key at: https://you.com/platform/api-keys'
);
}
if (!anthropicApiKey) {
throw new Error(
'ANTHROPIC_API_KEY environment variable is required. ' +
'Get your key at: https://console.anthropic.com/settings/keys'
);
}
/**
* Example: Search for AI news and get results from You.com MCP server
*/
async function main() {
// Create session with HTTP MCP configuration
// 'await using' ensures automatic cleanup when scope exits
await using session = unstable_v2_createSession({
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${ydcApiKey}`,
},
},
},
allowedTools: [
'mcp__ydc__you_search',
'mcp__ydc__you_express',
'mcp__ydc__you_contents',
],
model: 'claude-sonnet-4-5-20250929',
});
// Send message to Claude
await session.send('Search for the latest AI news from this week');
// Receive and process messages
for await (const msg of session.receive()) {
if (msg.type === 'text') {
console.log(msg.content);
} else if (msg.type === 'tool_use') {
console.log(`\n[Tool: ${msg.name}]`);
console.log(`Input: ${JSON.stringify(msg.input, null, 2)}`);
} else if (msg.type === 'tool_result') {
console.log(`Result: ${msg.content}`);
}
}
}
main().catch(console.error);
HTTP MCP Server Configuration
/**
* Claude Agent SDK with You.com HTTP MCP Server
* TypeScript v2 implementation with send/receive pattern
* Requires TypeScript 5.2+ for 'await using' support
*/
import { unstable_v2_createSession } from '@anthropic-ai/claude-agent-sdk';
// Validate environment variables
const ydcApiKey = process.env.YDC_API_KEY;
const anthropicApiKey = process.env.ANTHROPIC_API_KEY;
if (!ydcApiKey) {
throw new Error(
'YDC_API_KEY environment variable is required. ' +
'Get your key at: https://you.com/platform/api-keys'
);
}
if (!anthropicApiKey) {
throw new Error(
'ANTHROPIC_API_KEY environment variable is required. ' +
'Get your key at: https://console.anthropic.com/settings/keys'
);
}
/**
* Example: Search for AI news and get results from You.com MCP server
*/
async function main() {
// Create session with HTTP MCP configuration
// 'await using' ensures automatic cleanup when scope exits
await using session = unstable_v2_createSession({
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${ydcApiKey}`,
},
},
},
allowedTools: [
'mcp__ydc__you_search',
'mcp__ydc__you_express',
'mcp__ydc__you_contents',
],
model: 'claude-sonnet-4-5-20250929',
});
// Send message to Claude
await session.send('Search for the latest AI news from this week');
// Receive and process messages
for await (const msg of session.receive()) {
if (msg.type === 'text') {
console.log(msg.content);
} else if (msg.type === 'tool_use') {
console.log(`\n[Tool: ${msg.name}]`);
console.log(`Input: ${JSON.stringify(msg.input, null, 2)}`);
} else if (msg.type === 'tool_result') {
console.log(`Result: ${msg.content}`);
}
}
}
main().catch(console.error);
All templates use You.com's HTTP MCP server for simplicity:
Python:
mcp_servers={
"ydc": {
"type": "http",
"url": "https://api.you.com/mcp",
"headers": {
"Authorization": f"Bearer {ydc_api_key}"
}
}
}
TypeScript:
mcpServers: {
ydc: {
type: 'http' as const,
url: 'https://api.you.com/mcp',
headers: {
Authorization: `Bearer ${ydcApiKey}`
}
}
}
Benefits of HTTP MCP:
- ✅ No local installation required
- ✅ Stateless request/response model
- ✅ Always up-to-date with latest version
- ✅ Consistent across all environments
- ✅ Production-ready and scalable
- ✅ Works with existing HTTP infrastructure
Available You.com Tools
After configuration, Claude can discover and use:
mcp__ydc__you_search- Web and news searchmcp__ydc__you_express- AI-powered answers with web contextmcp__ydc__you_contents- Web page content extraction
Environment Variables
Both API keys are required:
# Add to your .env file or shell profile
export YDC_API_KEY="your-you-api-key-here"
export ANTHROPIC_API_KEY="your-anthropic-api-key-here"
Get your API keys:
- You.com: https://you.com/platform/api-keys
- Anthropic: https://console.anthropic.com/settings/keys
Validation Checklist
Before completing:
- Package installed:
claude-agent-sdk(Python) or@anthropic-ai/claude-agent-sdk(TypeScript) - Environment variables set:
YDC_API_KEYandANTHROPIC_API_KEY - Template copied or configuration added to existing file
- HTTP MCP server configured (
https://api.you.com/mcp) - Authorization header includes
Bearer ${YDC_API_KEY} - Allowed tools list includes You.com tools
- File is executable (Python) or can be compiled (TypeScript)
- Ready to test with example query
Testing Your Integration
Python:
python your-file.py
TypeScript:
# With tsx (recommended for quick testing)
npx tsx your-file.ts
# Or compile and run
tsc your-file.ts && node your-file.js
Common Issues
Install the package:
# NPM
npm install @anthropic-ai/claude-agent-sdk
# Bun
bun add @anthropic-ai/claude-agent-sdk
# Yarn
yarn add @anthropic-ai/claude-agent-sdk
# pnpm
pnpm add @anthropic-ai/claude-agent-sdk
Set your You.com API key:
export YDC_API_KEY="your-api-key-here"
Get your key at: https://you.com/platform/api-keys
Set your Anthropic API key:
export ANTHROPIC_API_KEY="your-api-key-here"
Get your key at: https://console.anthropic.com/settings/keys
Verify your YDC_API_KEY is valid:
- Check the key at https://you.com/platform/api-keys
- Ensure no extra spaces or quotes in the environment variable
- Verify the Authorization header format:
Bearer ${YDC_API_KEY}
Ensure allowedTools includes the correct tool names:
mcp__ydc__you_search(notyou_search)mcp__ydc__you_express(notyou_express)mcp__ydc__you_contents(notyou_contents)
Tool names must include the mcp__ydc__ prefix.
The v2 SDK requires TypeScript 5.2+ for await using syntax.
Solution 1: Update TypeScript
npm install -D typescript@latest
Solution 2: Use manual cleanup
const session = unstable_v2_createSession({ /* options */ });
try {
await session.send('Your query');
for await (const msg of session.receive()) {
// Process messages
}
} finally {
session.close();
}
Solution 3: Use v1 SDK instead Choose v1 during setup for broader TypeScript compatibility.
Additional Resources
- You.com MCP Server: https://documentation.you.com/developer-resources/mcp-server
- Claude Agent SDK (Python): https://platform.claude.com/docs/en/agent-sdk/python
- Claude Agent SDK (TypeScript v1): https://platform.claude.com/docs/en/agent-sdk/typescript
- Claude Agent SDK (TypeScript v2): https://platform.claude.com/docs/en/agent-sdk/typescript-v2-preview
- API Keys:
- You.com: https://you.com/platform/api-keys
- Anthropic: https://console.anthropic.com/settings/keys
- You.com: https://you.com/platform/api-keys
- Anthropic: https://console.anthropic.com/settings/keys
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。