Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
A Model Context Protocol (MCP) TypeScript template with multi agents that can send Emails, schedule meetings and answer knowledge-base related questions.
Fetched from the repository for this visit.
MCP (Model Context Protocol) · Multi-Agent Orchestration · AI Automation Platform
This is A Model Context Protocol (MCP) Example Template that orchestrates Multiple AI Agents (OpenAi, Gemini, Llama, ...) and gives them access to tools like: Email, Calendar, Knowledge-Base and more, a modern. Built on the Model Context Protocol (MCP), this project enables seamless communication between AI agents, tools, and orchestrators, making it easy to automate complex tasks and connect multiple AI models and APIs in a single, extensible system.
With a modular architecture and a real-time React UI Visualisation, MCP is ideal for experimenting with agent-based AI, building custom automations, and visualizing agent-tool interactions.


git clone https://github.com/your-username/multi-agent-ai-playground.git
cd multi-agent-ai-playground
npm install
Create a .env file in the root with your OpenAI key:
OPENAI_API_KEY=sk-...
CLIENT_ID=your_client_id_here
CLIENT_SECRET=your_client_secret_here
Ensure you have a Google Cloud project with Gmail and Calendar APIs enabled.
Add your email as a test user in the OAuth consent screen.
Run the following to authenticate:
npm run google-auth
/secrets/google-secret.json.In separate terminals, run:
npm run start-hub # Start the central hub (must be first)
npm run start-routing # Start the routing agent (must be second)
npm run start-agent-openai # Start at least one agent (OpenAI recommended)
# Optionally, start more agents/tools:
npm run start-agent-gemini
npm run start-tool-gmail
npm run start-tool-gcalendar
npm run start-tool-knowledge-base
You can run the client from the root:
npm run client
Or from the client folder:
cd client
npm run dev
Open http://localhost:5173 in your browser.
/client/ # React UI app (Vite + React + TypeScript)
/secrets/google-secret.json # Google OAuth tokens (after auth step)
/src/
/agents/
agent-openai.ts # OpenAI LLM agent
agent-gemini.ts # Gemini LLM agent
routing/
tool-routing-agent.ts # Routing/orchestrator agent
tools/
google-calendar.ts # Google Calendar tool
google-email-template.ts # Gmail tool
knowledge-base.ts # Knowledge base/FAQ tool
/hub/
hub.ts # Central WebSocket hub
/types/
types.ts # Shared message types
/utils/
utils.ts # Utility functions
.env # API keys
package.json # Scripts and dependencies
ws://localhost:8080. All communication goes through here./secrets/google-secret.json file./src/agents/tools/.tool-routing-agent.ts.The routing agent acts as an orchestrator, enabling you to connect multiple tools and automate complex workflows from a single command.
The vision is to allow users to chain tools, agents, and actions—so you can, for example, "Summarize my last 10 emails and schedule a meeting with the most important contact," all from one prompt.
[user1 -> rule]: The current time is 21:43:09
[user1 -> openai]: Once upon a time, on the moon...
[user1 -> gemini]: Argentina won the last football World Cup...
ws://localhost:8080.Enjoy experimenting and building your own AI-powered automations!
GitHub checked 40h ago - refresh overdue. Recently viewed repositories target hourly refresh.