MCP-SERVER
Verified Safeby annmalavet
Overview
This server acts as a Model Context Protocol (MCP) tool provider, exposing functionalities like email search, appointment creation, and email sending for consumption by an MCP client or AI agent.
Installation
npm run build && npm startEnvironment Variables
- PORT
- RESEND_API_KEY
- EMAIL_SEARCH_API_URL
- APPOINTMENT_SERVICE_URL
Security Notes
The server correctly uses environment variables for API keys and external service URLs, preventing hardcoded secrets. Input validation is performed using Zod schemas for the registered tools. The use of `cors({ origin: true })` allows requests from any origin, which is common for public APIs but could be a concern if strict origin control is needed without relying on the MCP client's authentication/authorization layers. No 'eval' or obvious malicious patterns were found. The security of the external services (Resend, email search API, appointment service) is outside the scope of this code.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
mcp-email-server
This server allows MCP clients to interact with email accounts via IMAP and SMTP protocols, enabling functionalities like listing, fetching, sending, and deleting emails.
mcp-servers
An MCP server for managing files in Google Cloud Storage, supporting CRUD operations (save, get, search, delete) and exposing files as resources.
outlook-mcp
Enables AI assistants to interact with Microsoft Outlook for email, calendar, and SharePoint operations through the Microsoft Graph API.