TC

tonykipkemboi/crewai-mcp-demo

开发工具

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

37 stars 16 forks 质量 45 趋势 12MIT

tonykipkemboi/crewai-mcp-demo 是从 https://github.com/tonykipkemboi/crewai-mcp-demo. 导入的 MCP 服务器候选

概览

tonykipkemboi/crewai-mcp-demo 是从 https://github.com/tonykipkemboi/crewai-mcp-demo. 导入的 MCP 服务器候选

概述(AI 翻译)

该仓库展示了使用 CrewAI 配合 MCP(模型上下文协议)通过标准化协议与外部工具和服务交互的不同方法。

🌟 精选示例

🏭 企业监管情报

** 📍 地点:** scaffolding_approach_examples/snowflake_mcp_demo/

一个生产准备的三代理系统,结合了CrewAI的多智能体编排和Snowflake的企业数据能力,构建监管情报系统。

主要功能:

  • 🤖 3-代理协调:监管情报 + SEC申报分析 + 市场新闻
  • 📊 Enterprise Scale:通过Snowflake MCP对372,299份SEC文件进行语义搜索
  • 🎯 专业产出:投资级监管影响报告
  • 🚀 生产准备:完整部署和配置示例

→ 查看详细教程


🚀 两种整合方法

本仓库展示了将CrewAI与MCP集成的两种不同方式:

1.🏗️ 脚手架式方法(推荐制作)

  • 使用 CrewAI 项目支架和 @CrewBase 装饰器
  • 结构化项目,含配置文件

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

README

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

CrewAI MCP Demo

This repository demonstrates different approaches for using CrewAI with MCP (Model Context Protocol) to interact with external tools and services through a standardized protocol.

🌟 Featured Examples

🏭 Enterprise Regulatory Intelligence

📍 Location: scaffolding_approach_examples/snowflake_mcp_demo/

A production-ready 3-agent system that combines CrewAI’s multi-agent orchestration with Snowflake’s enterprise data capabilities to build regulatory intelligence systems.

Key Features:

  • 🤖 3-Agent Coordination: Regulatory Intelligence + SEC Filing Analysis + Market News
  • 📊 Enterprise Scale: Semantic search across 372,299 SEC filings via Snowflake MCP
  • 🎯 Professional Output: Investment-grade regulatory impact reports
  • 🚀 Production Ready: Complete deployment and configuration examples

→ View Detailed Tutorial


🚀 Two Integration Approaches

This repository demonstrates two different ways to integrate CrewAI with MCP:

1. 🏗️ Scaffolding Approach (Recommended for Production)

  • Uses CrewAI’s project scaffolding with @CrewBase decorator
  • Structured project with configuration files
  • Built-in get_mcp_tools() method (CrewAI 0.134.0+)
  • Better for complex, maintainable applications

Examples:

  • Snowflake Enterprise Demo - Regulatory intelligence system
  • Mathematician Project - Math operations via local StdIO server
  • Context7 Integration - Document search via streamable-HTTP

2. 📝 Script Approach (Great for Learning/Prototyping)

  • Standalone Python scripts using MCPServerAdapter directly
  • Quick to set up and experiment with
  • Perfect for understanding MCP concepts

Examples:

  • stdio_client_demo.py - Math operations
  • sse_client_demo.py - Cloudflare docs search
  • streamable_http_client_demo.py - Simple greeting
  • multiple_servers_client_demo.py - Combined functionality

🔧 Transport Mechanisms

Streamable HTTP ⭐ (Recommended)

  • Use case: Remote hosted servers (Context7, cloud services)
  • Benefits: Simple setup, bidirectional communication, web-friendly
  • Example: Snowflake MCP, Context7 API

Server-Sent Events (SSE)

  • Use case: Real-time server-to-client updates
  • Benefits: Good for streaming responses, widely supported
  • Example: Cloudflare docs, real-time data feeds

Standard Input/Output (StdIO)

  • Use case: Local development, testing, process-based servers
  • Benefits: Simple local setup, no network required
  • Example: Local math server, file processing tools

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →