Add Apache License 2.0 Added the Apache License 2.0 to the project.
An MCP (Model Context Protocol) server that provides access to the Apache PonyMail mailing list archive API.
| Tool | Description |
|---|---|
list_lists | Get an overview of all available mailing lists and message counts |
search_list | Search/browse a mailing list with filters (date, sender, subject, body, query) |
get_email | Fetch a specific email by ID with full body and attachments |
get_thread | Fetch the root message of a thread by thread ID |
get_mbox | Download mbox-formatted archive data for bulk export |
login | Authenticate via ASF OAuth to access private mailing lists |
logout | Clear cached session cookie |
auth_status | Check current authentication status |
cd /Users/rcbowen/devel/ponymail-mcp npm install
ponymailnode/Users/rcbowen/devel/ponymail-mcp/index.js| Variable | Default | Description |
|---|---|---|
PONYMAIL_BASE_URL | https://lists.apache.org | Base URL of the PonyMail instance |
PONYMAIL_SESSION_COOKIE | (none) | Manual session cookie override (skips OAuth flow) |
Public lists work without authentication. For private/restricted lists, you have two options:
Use the login tool from within Amazon Quick. It will:
http://localhost:39817~/.ponymail-mcp/session.jsonFinding the HttpOnly cookie: The ponymail cookie is HttpOnly, so document.cookie and the Application tab won't show it. To find it:
lists.apache.org (while logged in), open DevTools (Cmd+Option+I / F12)api/ call)ponymail=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx partPONYMAIL_SESSION_COOKIE="ponymail=abc123..."
Sessions expire after ~20 hours. Use auth_status to check, logout to clear.
Once connected, you can ask things like: