
dshivendra/crewai_mcp_adapter
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
모델 Context Protocol (MCP) 통합 지원 및 사용자 정의 에이전트 및 도구 개발을위한 포괄적 인 툴링을 갖춘 CrewAI의 어댑터 생태계를 확장하는 Python 라이브러리.
개요
모델 Context Protocol (MCP) 통합 지원 및 사용자 정의 에이전트 및 도구 개발을위한 포괄적 인 툴링을 갖춘 CrewAI의 어댑터 생태계를 확장하는 Python 라이브러리. - ▫ 네이티브 CrewAI 통합 및 어댑터 패턴 - 도구 통합을 위한 ️ MCP 프로토콜 지원 - 확장 및 새로운 어댑터 생성을위한 Easy 사용하기 쉬운 인터페이스 - Pydantic과 함께 유형 안전 구현 - 도구 매개 변수에 대한 JSON Schema 검증 - A 상세 실행 메타 데이터 PyPI에서 패키지를 직접 설치할 수 있습니다. - Python 3.11 이상 - 승무원 패키지 - pydantic 패키지 - mcp 패키지 1. pyproject.toml 2. 패키지를 빌드 : 3. PyPI에 업로드 : 이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다 - 세부 사항에 대한 라이센스 파일을 참조하십시오. 공헌은 환영합니다! Pull Request를 제출해 주시기 바랍니다.
개요(AI 번역)
모델 Context Protocol (MCP) 통합 지원 및 사용자 정의 에이전트 및 도구 개발을위한 포괄적 인 툴링을 갖춘 CrewAI의 어댑터 생태계를 확장하는 Python 라이브러리.
특징
- SIGN Native CrewAI 통합 및 어댑터 패턴
- 공구 통합을 위한 ️ MCP 프로토콜 지원
- 새로운 어댑터를 확장하고 만들기위한 Easy Easy-to-use 인터페이스
- Pydantic을 통한 안전한 구현
- 도구 매개 변수에 대한 JSON Schema 검증
- Async/await 지원
- 상세 실행 metadata
설치
PyPI에서 패키지를 직접 설치할 수 있습니다.
또는 근원에서 설치하십시오:
빠른 시작
문서
자세한 문서는 다음을 참조하십시오:
- 시작 가이드
- API 참조
- 예제
개발
# 필수품
- Python 3.11 이상
crewai패키지pydantic패키지mcp패키지
개발 의존성 설치
실행 시험
출판
PyPI에 새로운 버전을 게시하려면:
-
pyproject.toml의 업데이트 버전
-
포장을 건설하십시오:
-
PyPI에 업로드:
라이센스
이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다 - 세부 사항에 대한 라이센스 파일을 참조하십시오.
기여
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
CrewAI MCP Adapter
A Python library extending CrewAI’s adapter ecosystem with Model Context Protocol (MCP) integration support and comprehensive tooling for custom agent and tool development.
Features
- 🔌 Native CrewAI integration and adapter patterns
- 🛠️ MCP protocol support for tool integration
- 🧩 Easy-to-use interface for extending and creating new adapters
- 📝 Type-safe implementation with Pydantic
- 🔍 JSON Schema validation for tool parameters
- 🚀 Async/await support
- 📊 Detailed execution metadata
Installation
You can install the package directly from PyPI:
pip install crewai-adapters
Or install from source:
pip install git+https://github.com/dshivendra/crewai_mcp_adapter.git
Quick Start
from crewai import Agent, Task
from crewai_adapters import CrewAIAdapterClient
from crewai_adapters.types import AdapterConfig
async def main():
async with CrewAIAdapterClient() as client:
# Connect to MCP server
await client.connect_to_mcp_server(
"math",
command="python",
args=["math_server.py"]
)
# Create agent with tools
agent = Agent(
name="Calculator",
goal="Perform calculations",
tools=client.get_tools()
)
# Execute task
task = Task(
description="Calculate (3 + 5) × 12",
agent=agent
)
result = await task.execute()
print(f"Result: {result}")
if __name__ == "__main__":
import asyncio
asyncio.run(main())
Documentation
For detailed documentation, see:
Development
Prerequisites
- Python 3.11 or higher
crewaipackagepydanticpackagemcppackage
Install Development Dependencies
pip install -e ".[test,docs]"
Running Tests
pytest tests/ -v
Publishing
To publish a new version to PyPI:
- Update version in pyproject.toml
- Build the package:
python -m build - Upload to PyPI:
python -m twine upload dist/*
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →