Rechercher

PythonReactSEOPDF
OpenClaw

ydc-claude-agent-sdk-integration

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.

edwardirby0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install edwardirby/ydc-claude-agent-sdk-integration

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Integrate Claude Agent SDK with You.com MCP

Interactive workflow to set up Claude Agent SDK with You.com's HTTP MCP server.

Workflow

  1. Ask: Language Choice

    • Python or TypeScript?
  2. 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
  3. Install Package

    • Python: pip install claude-agent-sdk
    • TypeScript: npm install @anthropic-ai/claude-agent-sdk
  4. Ask: Environment Variables

  5. 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)
  6. 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.yo...
      

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/edwardirby/ydc-claude-agent-sdk-integration
Version
—
Commit
2ed9bfb7f7021b257ff57aeb975abc6877fab125
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Integrate Claude Agent SDK with You.com MCP

Interactive workflow to set up Claude Agent SDK with You.com's HTTP MCP server.

## Workflow

1. **Ask: Language Choice**
   * Python or TypeScript?

2. **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

3. **Install Package**
   * Python: `pip install claude-agent-sdk`
   * TypeScript: `npm install @anthropic-ai/claude-agent-sdk`

4. **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

5. **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)

6. **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:
     ```python
     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:
     ```typescript
     const options = {
       mcpServers: {
         ydc: {
           type: 'http' as const,
           url: 'https://api.yo...

Skills associés

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.