airmail-mcp 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -1
- package/manifest.json +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -122,7 +122,7 @@ export AIRMAIL_MCP_TOKEN="your-token-here"
|
|
|
122
122
|
|
|
123
123
|
To find your token: open Airmail → **Preferences → MCP** → copy the **Auth Token**.
|
|
124
124
|
|
|
125
|
-
## Tools (
|
|
125
|
+
## Tools (98)
|
|
126
126
|
|
|
127
127
|
### Email (core)
|
|
128
128
|
`list_accounts` · `list_folders` · `list_messages` · `get_message` · `list_inbox` · `list_starred` · `list_sent` · `list_trash` · `list_spam` · `search_messages` · `fetch_message_body` · `list_attachments` · `get_attachment` · `get_unread_counts` · `search_contacts` · `get_draft` · `delete_draft` · `get_message_thread` · `list_windows` · `export_eml`
|
|
@@ -172,6 +172,44 @@ To find your token: open Airmail → **Preferences → MCP** → copy the **Auth
|
|
|
172
172
|
### Meta
|
|
173
173
|
`manage_capabilities` — enable/disable tool groups to reduce context usage
|
|
174
174
|
|
|
175
|
+
## Tool groups
|
|
176
|
+
|
|
177
|
+
Tools are organized into capability groups that can be enabled or disabled at runtime via `manage_capabilities`. This reduces context usage by hiding tools you don't need.
|
|
178
|
+
|
|
179
|
+
| Group | Tools | Default |
|
|
180
|
+
|-------|-------|---------|
|
|
181
|
+
| mail | read, action, compose | Always on |
|
|
182
|
+
| profile | user profile & behavior | On |
|
|
183
|
+
| folders | folder create/rename/delete | On |
|
|
184
|
+
| semantic | semantic search & index | On |
|
|
185
|
+
| calendar | calendar & reminder | On |
|
|
186
|
+
| contacts | address book | On |
|
|
187
|
+
| preferences | app preferences read/write | On |
|
|
188
|
+
| rules | email rules CRUD | On |
|
|
189
|
+
| lists | VIP & blocked sender lists | On |
|
|
190
|
+
| smartfolders | smart folder CRUD | On |
|
|
191
|
+
| signatures | email signature CRUD | On |
|
|
192
|
+
| aliases | email alias CRUD | On |
|
|
193
|
+
| accountsettings | per-account settings & vacation | On |
|
|
194
|
+
To enable all groups, ask the AI to call `manage_capabilities` with `enable: ["preferences", "rules", "lists", "smartfolders", "signatures", "aliases", "accountsettings"]`.
|
|
195
|
+
|
|
196
|
+
## Deep links
|
|
197
|
+
|
|
198
|
+
MCP tool responses include `airmail://` deep links that open Airmail directly to the relevant content.
|
|
199
|
+
|
|
200
|
+
| Command | URL | Description |
|
|
201
|
+
|---------|-----|-------------|
|
|
202
|
+
| `message` | `airmail://message?mail=...&messageid=...` | Select message in main window |
|
|
203
|
+
| `open` | `airmail://open?mail=...&messageid=...` | Open message in reader window |
|
|
204
|
+
| `compose` | `airmail://compose?to=...&subject=...` | Open composer with pre-filled content |
|
|
205
|
+
| `reply` | `airmail://reply?mail=...&messageid=...` | Reply to a message |
|
|
206
|
+
| `draft` | `airmail://draft?mail=...&messageid=...` | Open draft in composer |
|
|
207
|
+
| `archive` | `airmail://archive?mail=...&messageid=...` | Archive a message |
|
|
208
|
+
| `delete` | `airmail://delete?mail=...&messageid=...` | Move message to trash |
|
|
209
|
+
| `view` | `airmail://view?mail=...&folder=...` | Navigate to account/folder |
|
|
210
|
+
| `attachment` | `airmail://attachment?mail=...&messageid=...&index=0` | Open an attachment |
|
|
211
|
+
| `settings` | `airmail://settings?pref=mcp_server` | Open Preferences pane |
|
|
212
|
+
|
|
175
213
|
## How it works
|
|
176
214
|
|
|
177
215
|
```
|
package/manifest.json
CHANGED
|
@@ -370,6 +370,10 @@
|
|
|
370
370
|
"name": "semantic_index_status",
|
|
371
371
|
"description": "Check/trigger semantic index."
|
|
372
372
|
},
|
|
373
|
+
{
|
|
374
|
+
"name": "get_navigation_link",
|
|
375
|
+
"description": "Get an airmail:// deep link to navigate the user to a specific part of Airmail."
|
|
376
|
+
},
|
|
373
377
|
{
|
|
374
378
|
"name": "list_rules",
|
|
375
379
|
"description": "List all email rules with name, guid, enabled, conditions/actions summary, direction."
|
package/package.json
CHANGED