-
securityF
license-
qualityEnables users to manage Gmail accounts using AI agent-assisted operations via an MCP protocol, supporting email search, reading, deletion, and sending with a voice-powered interface.
Last updated -
2
5
TypeScript
所有版权归于: https://github.com/ShawhinT/YouTube-Blog/
这是 AI 代理系列的第四个示例。在这里,我构建了一个客户端 MCP 服务器,以便任何 AI 应用都可以访问人工智能虚拟助手 (AVA) 的工具集。
链接
prompts/ava.md
文件.env
文件,其中包含以下变量:USER_EMAIL
:您要用于此应用程序的 Gmail 地址GOOGLE_CREDENTIALS_PATH
:您的 Google OAuth 凭据文件的路径GOOGLE_TOKEN_PATH
:存储 Google OAuth 令牌的路径首先,创建所需的目录结构:
.config/ava-agent/
中的credentials.json
https://www.googleapis.com/auth/gmail.modify
在服务器访问你的 Gmail 账户之前,你需要先授权。你可以运行uv run oauth.py
来执行此操作,它会执行以下操作。
token.json
是否存在.env
文件或token.json
提交到版本控制.gitignore
中:hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
自定义 MCP 服务器,为 AI 应用程序提供对人工智能虚拟助手 (AVA) 工具集的访问权限,从而实现 Gmail 集成并通过自然语言进行任务管理。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramaiyaKushal/mcp-learning'
If you have feedback or need assistance with the MCP directory API, please join our Discord server