Prince-1501/MCP_server
3.1
If you are the rightful owner of MCP_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured summary of a Model Context Protocol (MCP) server configuration for an addition server.
Gmail MCP Server
Available Tools
Addition Tool (Testing/Learning)
The Addition Server provides a simple tool for testing and learning MCP server functionality.
Gmail Tool - Read Last 10 Emails
The Gmail MCP server provides a tool to read the last 10 emails from your inbox.
Tool Details:
- Name:
read-emails
- Description: Read emails from inbox
- Parameters: None (reads last 10 emails by default)
- Returns: JSON formatted email data with From, Subject, Date, and Snippet
Setup Steps
1. Get Token
First, run getToken.js
to authenticate and get your Gmail access token:
node getToken.js
This will:
- Use your
credentials.json
file - Open a browser for Gmail authorization
- Save the token to
token.json
2. Start the Server
After getting the token, run the Gmail MCP server:
node gmail.js
Claude Desktop Configuration
Add this to your Claude Desktop MCP configuration:
{
"mcpServers": {
"Addition Server": {
"command": "node",
"args": ["/Users/prince/princekumarcode/mcp-weather/add.js"]
},
"Gmail Server": {
"command": "node",
"args": ["/Users/prince/princekumarcode/mcp-weather/gmail.js"]
}
}
}