Skip to content

Feature: CrewAI Support for MCP Execution #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
430470f
feat: added crewai sample agent
britto-thoughtminds Apr 2, 2025
f5f62d6
feat: added remote endpoint for crewai flow agent
britto-thoughtminds Apr 2, 2025
80e5476
feat: added the multiple remote endpoint for crewai flow and the lang…
tom-miralabs Apr 3, 2025
1f074fd
toggle button to switch between crewai and langraph, dynamical change…
vaishnav-TM Apr 4, 2025
d6d514e
dynamical change of agentName in MCPConfigForm and remove console in …
vaishnav-TM Apr 4, 2025
7771218
Merge pull request #4 from britto-thoughtminds/feat/mcp-crewai-frontend
tom-george-tm Apr 4, 2025
069205c
implement toggle state and url change using context provider
vaishnav-TM Apr 4, 2025
0ab7229
Merge pull request #5 from britto-thoughtminds/feat/mcp-crewai-frontend
tom-george-tm Apr 7, 2025
9c7adcc
dynamic change of endpoint by passing key
vaishnav-TM Apr 7, 2025
db05125
Merge pull request #6 from britto-thoughtminds/feat/mcp-crewai-frontend
tom-george-tm Apr 7, 2025
81b9d72
feat: crew ai implementation done need to change the mcp client package
tom-miralabs Apr 7, 2025
8f3a8cf
feat: persisting the toggle state, langGraph or CrewAI, in local storage
vaishnav-TM Apr 7, 2025
d2bbf0c
Merge pull request #7 from britto-thoughtminds/feat/mcp-crewai-frontend
tom-george-tm Apr 7, 2025
3ffc7aa
feat: migrated langchain mcp to mcp.client and resolved multitool cal…
tom-george-tm Apr 7, 2025
3fbff51
chore: update file paths for math_server.py in default MCP config
tom-george-tm Apr 7, 2025
96345e6
Merge pull request #8 from britto-thoughtminds/feat/mcp-crewai-backen…
britto-thoughtminds Apr 8, 2025
53f6932
docs(readme): update Development and Architecture sections with CrewA…
tom-george-tm Apr 8, 2025
f9c7ae0
docs(readme): update Demo video sections with CrewAI agent details
tom-george-tm Apr 8, 2025
e46277e
Merge pull request #9 from britto-thoughtminds/feat/mcp-crewai-readme
britto-thoughtminds Apr 8, 2025
bacb220
feat: added lauch scripts for crewai agent
britto-thoughtminds Apr 8, 2025
fb79e87
doc: added launch script to readme
britto-thoughtminds Apr 8, 2025
b359dc4
chore: removed unused import in CopilotContext.tsx
britto-thoughtminds Apr 8, 2025
9fa8b53
chore: typo fixed for langgraph
britto-thoughtminds Apr 8, 2025
5cdc40d
chore: removed unused imports
britto-thoughtminds Apr 8, 2025
4ba4f83
corrected langgraph label casing
britto-thoughtminds Apr 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# testing
/coverage

/agent/env

# next.js
/.next/
/out/
Expand Down
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
https://github.com/user-attachments/assets/364b6705-14d4-4e6d-bea7-fb9f12664fab
https://github.com/user-attachments/assets/dfce1a40-3e9a-46f5-a066-a4cc496ed9e1


# Getting Started
Expand Down Expand Up @@ -46,27 +46,34 @@ poetry --version

## Development

We recommend running the **frontend and agent separately** in different terminals to debug errors and logs:
We recommend you run the frontend, LangGraph agent, and CrewAI agent separately in different terminals for better debugging and log visibility:

```bash
# Terminal 1 - Frontend
pnpm run dev-frontend

# Terminal 2 - Agent
# Terminal 2 - LangGraph Agent
pnpm run dev-agent

# Terminal 3 - CrewAI Agent
pnpm run dev-crewai-agent
```

Alternatively, you can run both services together with:
Alternatively, you can run the frontend, the LangGraph and the CrewAI agent together with:

```bash
pnpm run dev
```

Then, open [http://localhost:3000](http://localhost:3000) in your browser.


## Architecture
The codebase is split into three main parts:

1. `/agent/sample_agent` **folder** – A LangGraph agent that connects to MCP servers and calls their tools.

2. `/agent/crewai_sample_agent` **folder** – A CrewAI agent that connects to MCP servers and calls their tools.

The codebase is split into two main parts:
3. `/app` **folder** – A frontend application using CopilotKit for UI and state synchronization.

1. `/agent` **folder** – A LangGraph agent that connects to MCP servers and calls their tools.
2. `/app` **folder** – A frontend application using CopilotKit for UI and state synchronization.
Loading