Back to Home
victormasson21 icon

foundation-project-mcp

Verified Safe

by victormasson21

Overview

An MCP server enabling AI assistants to securely read unread emails, draft replies in Gmail, and access email writing style guides from Notion.

Installation

Run Command
node dist/emailServer.js

Environment Variables

  • GMAIL_CLIENT_ID
  • GMAIL_CLIENT_SECRET
  • GMAIL_REDIRECT_URI
  • GMAIL_ACCESS_TOKEN
  • GMAIL_REFRESH_TOKEN
  • NOTION_API_KEY
  • NOTION_STYLE_GUIDE_PAGE_ID

Security Notes

The server uses OAuth 2.0 for Gmail access with `gmail.readonly` and `gmail.compose` scopes, which are sensitive. It explicitly warns against committing `.env.local` containing credentials and saves tokens securely. Email headers are sanitized to prevent injection attacks. OAuth token generation involves a temporary local web server, which is a standard secure practice. Overall, good security practices are implemented for its intended functionality.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-07

Tags

GmailEmail AutomationAI AssistantNotionOAuthMCP