AGH Mail MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AGH Mail MCP Serverany new emails?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AGH Mail MCP Server
A small [MCP] server that lets Claude read and
send email from your AGH mailbox (poczta.agh.edu.pl)
Ask Claude things like "any new emails" or "reply to the professor saying I'll attend"
Status: Local use with Claude Desktop is fully supported and is what this README covers. Remote hosting (so it works in the Claude mobile/web app or Cowork) is not supported yet.
Tools exposed
Tool | What it does |
| List unread messages |
| Fetch the full body of one message |
| Search by sender, subject, and/or date |
| Mark a message as read |
| Send from your AGH address (only after you confirm) |
| List all IMAP folders in the mailbox |
Related MCP server: naver-works-mail-mcp
Prerequisites
Python 3.10 or newer
An AGH mailbox at
poczta.agh.edu.plClaude Desktop installed
Setup
Step 1 - Generate an AGH app password
Log into https://poczta.agh.edu.pl
Go to Ustawienia → Hasła do aplikacji
Enter your password to authorize, give the new password a name
Copy the generated password (you'll only see it once)
Step 2 - Clone and install
git clone https://github.com/Nikodem5/agh-mcp.git
cd agh-mcp
python -m venv .venv
(activate the virtual environment)
pip install -r requirements.txtStep 3 - Configure your credentials
Copy the example file and fill in your two values:
cp .env.example .env # Windows PowerShell: Copy-Item .env.example .envEdit .env:
AGH_EMAIL=123456@student.agh.edu.pl
AGH_APP_PASS=the_app_password_from_step_1Step 4 - Connect it to Claude Desktop
Open your Claude Desktop config file (create it if it doesn't exist):
Add an entry pointing at the absolute path to server.py
{
"mcpServers": {
"agh-mail": {
"command": "python",
"args": ["/absolute/path/to/agh-mcp/server.py"]
}
}
}Fully quit and reopen Claude Desktop.
Extending: "university agent" ideas
This is a foundation. Each new capability is just one Python function with an
@mcp.tool() decorator. Ideas:
get_calendar— pull your AGH timetable from USOScheck_grades— watch USOS for new grade entriesget_deadlines— parse the UPeL e-learning platform for upcoming deadlinessearch_library— query the AGH library catalog
Project structure
agh-mcp/
├── server.py # the MCP server (all tools live here)
├── requirements.txt # mcp + python-dotenv
├── .env.example # template — copy to .env and fill in
├── .env # your secrets (git-ignored, never committed)
├── .gitignore
├── cowork-skill-morning-briefing.md # optional daily-digest skill
└── README.mdThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables Claude to interact with email accounts via IMAP and SMTP, providing tools for searching, reading, sending, and managing emails across multiple providers.Last updated4048065MIT
- Flicense-qualityCmaintenanceEnables reading and sending Naver Works emails (Korean business email service) through Claude Desktop using IMAP/SMTP with app passwords.Last updated
- Alicense-qualityCmaintenanceEnables Claude to read, search, send, label, and trash emails in any Gmail account via Google's Gmail API, using OAuth2 authentication with automatic token refresh.Last updated67MIT
- -license-qualityDmaintenanceEnables Claude to read, search, send, and manage emails across multiple IMAP/SMTP accounts via a single deployment.Last updated
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Email for AI agents — send, receive as a webhook, manage domains, templates, routing.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nikodem5/agh-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server