Personal MCP Server
Private MCP server for managing Gmail, custom IMAP/SMTP email, Slack notifications, and personal notes stored in SQLite.
README
Personal MCP Server
Private TypeScript MCP server for Gmail, custom IMAP/SMTP mail, Slack notifications, and personal “soul docs” in SQLite-compatible Turso/libSQL.
Tools
gmail_search_messages,gmail_get_messagecustom_mail_search_messages,custom_mail_get_messageemail_prepare_send,email_confirm_sendsend_slack_notificationget_my_soul_docs,write_my_soul_doc
Setup
- Install dependencies:
npm install - Copy
.env.exampleto.envand fill in secrets. - Build and test:
npm run build && npm test - Run HTTP mode:
npm start - Run stdio mode:
npm run start:stdio
HTTP mode requires MCP_BEARER_TOKEN. Send it as:
Authorization: Bearer your-token
The MCP endpoint is POST /mcp. Health check is GET /healthz.
Gmail OAuth
Set GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_REDIRECT_URI, and GOOGLE_OAUTH_STATE.
With the server running, call GET /oauth/google/start with bearer auth. Open the returned authorization URL. The callback returns a refresh_token; store it in GOOGLE_REFRESH_TOKEN.
Requested Gmail scopes are:
https://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.send
Database
Local development uses TURSO_DATABASE_URL=file:local.db or :memory: in tests. For Turso, use a libsql://... URL plus TURSO_AUTH_TOKEN.
Docker
docker compose up --build
For a remote deployment, set MCP_HOST=0.0.0.0, a strong MCP_BEARER_TOKEN, and explicit MCP_ALLOWED_ORIGINS.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.