- Home
- MCP servers
- MCP Integration CrewAI
MCP Integration CrewAI
- python
0
GitHub Stars
python
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"vad-007-mcp_integration_crewai": {
"command": "mcp",
"args": [
"dev",
"main.py"
],
"env": {
"GROQ_API_KEY": "YOUR_GROQ_KEY",
"SERPER_API_KEY": "YOUR_SERPER_KEY",
"WEATHER_API_KEY": "YOUR_WEATHER_KEY",
"AGENTOPS_API_KEY": "YOUR_AGENTOPS_KEY"
}
}
}
}You can run a dedicated MCP server that exposes real-time external data tools (Weather, News, Notes) and orchestrate multi-agent workflows with CrewAI. This server provides a fast MCP surface for data retrieval and control, plus observability to monitor reasoning, latency, and costs as you build autonomous, context-aware applications.
How to use
Start the MCP server using the standard command line to launch the local process, then run the CrewAI integration script to activate agent orchestration. Use your MCP client to call the available tools (Weather Engine, News Intelligence, Contextual Notes, Auto-Summary) and observe the agent workflow through the observable traces.
How to install
Prerequisites to prepare before installation include a runtime, an MCP command tool, and API keys for external services.
git clone https://github.com/vad-007/MCP_Integration_crewai.git
cd MCP_Integration_crewai
uv sync
# or, if you prefer a Python-based path, ensure Python is installed and you can run the project scripts directly
python3 --version
pip --version
Additional sections
Configuration and run flow are designed to be straightforward. You provide API keys for external services in a single environment file, then start the MCP server and the CrewAI integration to begin orchestrating multi-agent workflows.
Environment variables you need to set in a root .env file include the keys for AgentOps, Groq, Serper, and Weather services.
AGENTOPS_API_KEY=YOUR_AGENTOPS_KEY
GROQ_API_KEY=YOUR_GROQ_KEY
SERPER_API_KEY=YOUR_SERPER_KEY
WEATHER_API_KEY=YOUR_WEATHER_KEY
Observability and validation
Once running, you can inspect a unique replay URL for each run to watch agent self-correction, trace LLM calls, and analyze latency. Use your AgentOps dashboard to monitor the execution timeline and cost metrics.
Available tools
Weather Engine
Real-time meteorology data retrieval from WeatherAPI for weather-aware decisions.
News Intelligence
Global news retrieval via Serper Google Search API to support timely context.
Contextual Notes
Locally persistent note management for long-term memory and reference.
Auto-Summary
Intelligent summarization of collected context to produce concise results.
Market Researcher
Analyzes data to identify emerging market trends.
Data Analyst
Synthesizes research into actionable market insights.
Sequential Workflow
Orchestrates a reliable, end-to-end execution path across agents.