MCP-server

MCP-server

Multi-agent AI tools for email automation (Outlook), weather (OpenWeather API), sticky notes, and arithmetic, all served via FastMCP.

Category
Visit Server

README

🧠 MCP Server Project - Multi-Agent AI Tools

This project demonstrates how to build and serve multiple AI tools using the FastMCP framework. It includes a combination of COM-based email automation, external API integration (OpenWeather), local file-based notes, and utility functionsβ€”all accessible via an MCP-compatible agent interface.


πŸ”§ Requirements

  • Python 3.10+
  • Windows (required for Outlook COM)
  • .env file with:
    OPENWEATHER_API_KEY=your_openweather_key_here
    

πŸ“ Directory Structure

. β”œβ”€β”€ outlook_assistant.py # Outlook email read/reply/compose/search tools β”œβ”€β”€ weather_mcp.py # Current, forecast, historical, and air quality weather tools β”œβ”€β”€ sticky_notes.py # Notes tools backed by a text file β”œβ”€β”€ addition_server.py # Simple addition and greeting tool β”œβ”€β”€ notes.txt # File to store sticky notes └── README.md # This file


πŸ“¬ Outlook Email Assistant

A COM-based email assistant that integrates with Microsoft Outlook to:

  • List all folders in Outlook
  • Fetch and display recent or matching emails
  • Read full email contents
  • Send replies or compose new emails

πŸ”§ Tools Exposed:

  • list_folders()
  • list_recent_emails(days, folder_name)
  • search_emails(search_term, days, folder_name)
  • get_email_by_number(email_number)
  • reply_to_email_by_number(email_number, reply_text)
  • compose_email(recipient_email, subject, body, cc_email)

⚠️ Must be run on Windows with Microsoft Outlook installed.


🌍 Weather Tools (OpenWeather API)

Provides weather details using OpenWeatherMap API including:

  • Current weather
  • 5-day forecast
  • Air quality
  • Weather alerts
  • Historical weather (past 5 days)

🌦 Tools Exposed:

  • get_current_weather(location)
  • get_weather_forecast(location, days)
  • get_air_quality(location)
  • get_historical_weather(location, date)
  • get_weather_alerts(location)
  • search_location(query)

🌐 Requires setting OPENWEATHER_API_KEY in .env


πŸ“ AI Sticky Notes

Simple note-taking assistant that stores notes locally in a notes.txt file.

πŸ›  Tools and Resources:

  • add_note(message)
  • read_notes()
  • get_latest_note() – as resource notes://latest
  • note_summary_prompt() – generates a summarization prompt from all notes

βž• Addition Utility

Example of a simple arithmetic and dynamic greeting tool using MCP:

  • add(a, b)
  • get_greeting(name) β†’ resource greeting://{name}

🏁 Running Any MCP Server

Each file defines its own FastMCP server. Run them individually:

python outlook_assistant.py python weather_mcp.py python sticky_notes.py python addition_server.py

Each server will start on its own FastMCP interface for integration with agents.


πŸ§ͺ Example Agents

You can now connect these MCP tools with agents (CrewAI, LangChain, etc.) to enable conversational workflows like:

  • "What’s the weather in London today?"
  • "Summarize my latest sticky notes"
  • "Reply to the last unread email from Ajay"
  • "What is 42 + 11?"

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured