Add AI agent setup prompt, start.sh launcher, and container resource limits

Adds a copy-pasteable prompt for non-technical users to set up poke-mail
via their AI coding agent, a start.sh script that loads .env, activates
the virtualenv, starts the server, and tunnels to Poke, and recommended
container resource limits for orchestrators.
This commit is contained in:
Kacper Kwapisz
2026-03-23 19:08:31 +01:00
parent b3a5cd4c5b
commit 2950e5d82c
3 changed files with 51 additions and 0 deletions
+21
View File
@@ -75,6 +75,18 @@ npx @modelcontextprotocol/inspector
Open http://localhost:3000 and connect to `http://localhost:3000/mcp` using "Streamable HTTP" transport. Pass `Authorization: Bearer your-secret-key` header.
## Install with your AI Agent
Copy this prompt into your AI coding agent (Claude Code, Cursor, etc.):
`Set up poke-mail (https://github.com/kacperkwapisz/poke-mail) for me — clone the repo, create a Python virtualenv named .venv, install requirements.txt, copy config.example.yml to config.yml, then help me configure config.yml — you can guide me on which IMAP/SMTP host and port to use for my email provider (iCloud, Gmail, Outlook, etc.) and what username format to use, but do NOT type or suggest passwords or API keys, tell me to enter those myself outside of this terminal and confirm when done — then generate a random 32+ character MCP_API_KEY, save it to a .env file as MCP_API_KEY=<the-key>, install the poke npm package globally, run poke login so I can authenticate, and run start.sh to start the server and tunnel it to Poke.`
To start the server again later:
```bash
./start.sh
```
## Authentication
Set `MCP_API_KEY` to secure the server. All requests must include `Authorization: Bearer <MCP_API_KEY>`.
@@ -105,6 +117,15 @@ docker run -d \
ghcr.io/kacperkwapisz/poke-mail:main
```
### Resource Limits
The server is mostly idle (IMAP IDLE + lightweight HTTP). Recommended limits for container orchestrators:
| Resource | Reservation | Limit |
|----------|-------------|-------|
| Memory | 128 MB | 256 MB |
| CPU | 0.25 | 0.5 |
## MCP Tools
| Tool | Description |