Expand description
Gmail MCP Server Implementation
This crate provides an MCP (Model Completion Protocol) server for Gmail, allowing Claude to read emails from a Gmail account, search for contacts, and manage calendar events.
§Features
- List emails from inbox
- Search emails using Gmail search queries
- Get details for a specific email
- List email labels
- Search for contacts
- List calendar events
- Create calendar events
- Check connection status
§Testing
The crate includes unit tests for internal functions and integration tests for testing the MCP commands. Future improvements could include more sophisticated mocking of the API endpoints and more comprehensive tests.
Modules§
- error_
codes - MCP error codes for different error scenarios
Enums§
- AppError
- General application errors
- Calendar
ApiError - Error type for Calendar API operations
- Config
Error - Error type for configuration issues
- Gmail
ApiError - Error type for Gmail API operations
- People
ApiError - Error type for People API operations
Type Aliases§
- Calendar
Result - Type alias for Calendar API results
- Gmail
Result - Type alias for Gmail API results
- People
Result - Type alias for People API results