Model Context Protocol (MCP)

by ramaiyaKushal

152 downloads Not rated yet MIT license

About

Model Context Protocol (MCP) is a custom MCP server that gives any AI application access to a toolset for an Artificial Virtual Assistant (AVA). It integrates with Gmail via Google OAuth, allowing the assistant to read and send emails. This server is designed for developers…

Details

License
MIT license

Explore

- Integrates with Gmail via Google OAuth
- Customizable assistant personality and preferences
- Testable in dev mode with uv run mcp dev
- Compatible with Claude Desktop and Cursor
- Secure credential and token management
- Simple setup with uv package manager

1. Create a .env file in the root directory of the project with the following variables:

``env
USER_EMAIL=your_email_address

- USER_EMAIL: The Gmail address you want to use for this application
-
GOOGLE_CREDENTIALS_PATH: Path to your Google OAuth credentials file
-
GOOGLE_TOKEN_PATH: Path where the Google OAuth token will be stored

1. In the Google Cloud Console:
- Go to "APIs & Services" > "OAuth consent screen"
- Choose "External" user type
- Fill in the required information:
- App name
- User support email
- Developer contact information
- Add the Gmail API scope:
https://www.googleapis.com/auth/gmail.modify`
- Add your email as a test user
- Complete the configuration

All credits to : https://github.com/ShawhinT/YouTube-Blog/

Fourth example in AI agents series. Here, I build a customer MCP server to give any AI app access to a toolset for an Artificial Virtual Assistant (AVA).

Links

- Video
- Blog

How to run this example

1. Clone this repo
2. Install uv if you haven't already

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.