GitHub Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
0
Favorites
0
AgentBridge-MCP
MCP server for an AI assistant
AgentBridge-MCP
A modular, extensible Model Context Protocol (MCP) server for secure and auditable AI agent task routing.
π§ What is This?
This repo is a foundational local MCP server built with Python + FastAPI that:
- Accepts structured JSON requests for tasks
- Routes them to secure modular task handlers (e.g. email, CSV parsing, summarization)
- Can be extended for any AI agent or tool
π What You Get Out of the Box
β
FastAPI MCP server
β
Modular task/
folder (e.g. echo, get_time)
β
Simple POST /mcp
handler
β
Dispatch logic with task map
β
Ready for local testing & extension
π‘ Why Use It?
This MCP server acts as the command center for AI agents.
It separates "what needs to be done" from "how itβs done" β enabling:
- π¦ Task modularity
- π A2SPA-compliant secure execution
- β‘ Agent-Agnostic Logic (GPT, Claude, Ollama, etc.)
π Folder Structure
app/ βββ main.py # FastAPI entry point βββ router.py # Dispatch logic βββ tasks/ βββ echo.py βββ get_time.py βββ summarize_text.py
tests/ βββ test_mcp.py
run.sh # Dev runner requirements.txt # Dependencies
π Workflow Diagram
βββββββββββββββββ
β HTTP Client β (e.g. curl, frontend)
ββββββββ¬βββββββββ
β POST /mcp
ββββββββΌββββββββ
β main.py β (FastAPI app)
ββββββββ¬ββββββββ
β
ββββββββΌββββββββ
β router.py β β Parses task key
ββββββββ¬ββββββββ
β
ββββββββΌβββββββββββββββββββββββββ
β app/tasks/{task}.py β β Executes logic (e.g., datetime, echo, LLM)
ββββββββββββββ¬βββββββββββββββββββ
β
ββββββββΌββββββββ
β Response JSONβ
ββββββββββββββββ
π Coming Soon
This core server will soon power a Modular Investor Outreach AI Agent, with:
CSV-based email flows
Validation + personalization via MCP
PKI-audited A2SPA security
GPT/Ollama integration
π§ Inspired By
Anthropicβs Claude MCP architecture
A2SPA Protocol (Agent-to-Agent Secure Protocol Architecture)
---
π How to Run the Email Agent System
π§ 1. Install dependencies
pip install -r requirements.txt
π‘ 2. Start the MCP server (backend task router)
uvicorn app.main:app --reload
π§ 3. Optional: Start Ollama if not running already
ollama run llama3
π₯οΈ 4. Launch the Streamlit UI
streamlit run streamlit_app.py
π‘ What This System Does
Upload a .csv of names and emails (columns: name,email)
Set a subject and shared body for the outreach message
Attach any files (pitch decks, PDFs, etc.)
Ollama personalizes each email with greeting and sign-off
MCP server dispatches email sending via Gmail SMTP
---
π File Requirements
Make sure .env is configured with: EMAIL_USER=your@gmail.com EMAIL_PASS=your_app_password # from Gmail App Passwords