Agentic MCP Solution
Allows the agent to inspect Gmail messages, analyze their contents with an LLM, and interact with Gmail data.
Enables the agent to create and update Google Docs, for example generating structured reports from analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agentic MCP Solutioncreate a report from my recent emails in Google Docs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agentic MCP Solution
A FastAPI + CLI backend that exposes a set of external services — Gmail, Google Docs, Google Sheets, Google Calendar, Google Chat, Postgres, and MongoDB — as MCP-style tools that an LLM (Claude or Gemini) can invoke through a single, consistent interface.
Architecture
src/core/mcp_base.py/mcp_manager.py— the shared MCP server abstraction and a manager that discovers and dispatches to whichever servers are enabled inconfig/config.yaml.src/core/google_auth.py— OAuth flow for Google Workspace access.src/mcp_servers/— one module per integration (gmail_server.py,gdocs_server.py,gsheets_server.py,gcalendar_server.py,gchat_server.py,postgres_server.py,mongodb_server.py,claude_server.py,gemini_server.py), each implementing the same base interface so new integrations plug in without touching the API or CLI layer.src/api/main.py— the FastAPI app exposing these capabilities over HTTP.src/cli/main.py— a Click-based CLI for the same capabilities, useful for local testing without standing up the API.
Related MCP server: mcp-google
Verified working
The FastAPI app builds correctly (from src.api.main import app succeeds) and every MCP server module imports cleanly. The CLI runs and exposes:
Commands:
capabilities List all available capabilities
docs Google Docs operations
execute Execute a capability
gmail Gmail operations
health Check health status of all MCP servers
task Execute a complex taskAn example end-to-end workflow this architecture supports: inspect Gmail messages → analyze the contents with Claude or Gemini → generate a structured report → create or update a Google Doc with the result, all through the same MCP tool-calling interface.
Getting started
Requires Python 3.13+ (the websockets version this depends on uses typing.Self, which needs 3.11+; the project pins 3.13).
uv sync # or: pip install -e .
cp .env.example .env # fill in your API keysGoogle Workspace access needs OAuth credentials placed at credentials/credentials.json (gitignored — not something to commit).
uv run agentic-api # start the FastAPI server
uv run agentic-cli capabilities
uv run agentic-cli healthStatus & limitations
gemini_server.py currently uses google.generativeai, which Google has fully deprecated in favor of google.genai — it still works but should be migrated. There's no real test coverage yet (tests/ has the pytest configuration wired up in pyproject.toml but no test bodies). Rate limiting and API-key auth are present in config.yaml but off by default (api_key_required: false) — worth turning on before exposing this beyond local use.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceA production-grade backend that lets LLMs safely operate Gmail, Google Drive, and Calendar through the Model Context Protocol.-
- AlicenseAqualityBmaintenanceMCP server for Google APIs — Gmail and Calendar tools for LLM agents.62MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that exposes 17 Google Workspace APIs (e.g., Gmail, Drive, Calendar) as auto-generated tools for AI assistants, enabling natural language control of Google services.-
- AlicenseBqualityBmaintenanceA production-ready MCP server that bridges AI agents with Google Workspace (Gmail & Docs) to securely compose emails and edit documents via standardized tools.3MIT