MA

madtank/autogenstudio-skills

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

314 stars 51 forks 品質 63 トレンド 19MIT

モデルコンテキストプロトコル(MCP)を用いたAutogen Studioのスキルリポジトリ

概要

モデルコンテキストプロトコル(MCP)はAIツールのUSBのようなもので、AIエージェントがさまざまな能力を発見し活用するための標準化された方法を提供します。AIエージェントに新しい能力を組み込むようなものだと考えてください!柔軟な辞書ベースの実装により、エージェントは実装の詳細を知らなくても簡単にツールを発見し活用できます。 MCPエコシステムは急速に成長しており、多くの強力なサーバーが利用可能です: - - ウェブおよびローカル検索機能 - - 完全なファイルおよびディレクトリ操作 - - ブラウザ自動化とウェブスクレイピング - - 直接的なデータベース操作 - - 構造化された推論と計画 - - 画像生成と操作 - - ウェブの自動化とテスト - - ローカルデータベース操作 - - 埋め込みと類似性検索 - 最新の利用可能なサーバーリストはMCPサーバーリポジトリをご覧ください。エコシステムは急速に成長しており、新しい機能が定期的に追加されています!

概要(AI 翻訳)

MCPとは何か?

モデルコンテキストプロトコル(MCP)はAIツールのUSBのようなもので、AIエージェントがさまざまな能力を発見し活用するための標準化された方法を提供します。AIエージェントに新しい能力を組み込むようなものだと考えてください!柔軟な辞書ベースの実装により、エージェントは実装の詳細を知らなくても簡単にツールを発見し活用できます。

利用可能なMCPサーバー

MCPエコシステムは急速に成長しており、多くの強力なサーバーが利用可能です:

  • Brave Search - ウェブおよびローカル検索機能
  • ファイルシステム - 完全なファイルおよびディレクトリ操作
  • Playwright - ブラウザ自動化とウェブスクレイピング
  • MongoDB - 直接データベースインタラクション
  • 順序的思考 - 構造化された推論と計画
  • FLUX - 画像生成と操作
  • Selenium - ウェブ自動化とテスト
  • SQLite - ローカルデータベース操作
  • ベクトルストア - 埋め込みおよび類似性探索
  • そして他にもたくさん!

最新の利用可能なサーバーリストはMCPサーバーリポジトリをご覧ください。エコシステムは急速に成長しており、新しい機能が定期的に追加されています!

クイックスタート

  1. 設置要件:

  2. MCPの設定:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

AutoGen Studio MCP Tools

What is MCP?

Model Context Protocol (MCP) is like a USB for AI tools - it provides a standardized way for AI agents to discover and use different capabilities. Think of it as plugging in new abilities for your AI agents! With our flexible dictionary-based implementation, agents can easily discover and use tools without needing to know their implementation details.

Available MCP Servers

The MCP ecosystem is growing rapidly with many powerful servers available:

  • Brave Search - Web and local search capabilities
  • Filesystem - Complete file and directory operations
  • Playwright - Browser automation and web scraping
  • MongoDB - Direct database interactions
  • Sequential Thinking - Structured reasoning and planning
  • FLUX - Image generation and manipulation
  • Selenium - Web automation and testing
  • SQLite - Local database operations
  • Vector Store - Embedding and similarity search
  • And many more!

Check out the MCP Servers Repository for the latest list of available servers. The ecosystem is rapidly growing with new capabilities being added regularly!

Quick Start

  1. Install Requirements:
# Create and activate virtual environment
python -m venv .env
source .env/bin/activate  # On Windows: .env\Scripts\activate

# Install required packages
pip install mcp
  1. Configure MCP:
# Copy the example config
cp mcp_config.example.json mcp_config.json

# Edit mcp_config.json with your settings
{
  "mcpServers": {
    "brave-search": {
      "enabled": true,
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-brave-search"],
      "env": {
        "BRAVE_API_KEY": "your-api-key-here"
      }
    },
    "filesystem": {
      "enabled": true,
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/your/working/directory"
      ]
    }
  }
}
  1. Start AutoGen Studio:
autogenstudio ui --port 8080

Dynamic Tool Usage

Our implementation uses a flexible dictionary-based approach, making it easy to discover and use tools:

# 1. List Available Servers
servers = await mcp(tool='list_available_servers')

# 2. Discover Server Tools
tools = await mcp(
    server='brave-search',
    tool='tool_details'
)

# 3. Use Tools with Dictionary Arguments
# Web Search Example
result = await mcp(
    server='brave-search',
    tool='brave_web_search',
    arguments={
        'query': 'Latest AI developments',
        'count': 5
    }
)

# File Operations Example
result = await mcp(
    server='filesystem',
    tool='read_file',
    arguments={
        'path': '/path/to/your/file'
    }
)

Example Templates

We provide ready-to-use templates to help you get started:

  1. Gallery Examples (/gallerys):
    • Pre-configured tool setups
    • Example implementations
    • Best practices demonstrations
GitHub で README 全文を見る

インストール

npx -y @modelcontextprotocol/server-brave-search
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

# Copy the example config cp mcp_config.example.json mcp_config.json # Edit mcp_config.json with your settings { "mcpServers": { "brave-search": { "enabled": true, "command": "npx", "args": ["-y", "@modelcontextprotocol/server-brave-search"], "env": { "BRAVE_API_KEY": "your-api-key-here" } }, "filesystem": { "enabled": true, "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/path/to/your/working/directory" ] } } }