Bureau
An MCP server that gives AI assistants access to your Fastmail email and calendar. Built with Sigil.
Installation
sigil app install codeberg:sigil/bureau \
--env [email protected] \
--env BUREAU_FASTMAIL_API_TOKEN=fmu1-... \
--env BUREAU_FASTMAIL_APP_PASSWORD=fmu1-...This builds Bureau from source, installs it, and registers it as an MCP server in Claude Code automatically.
By default the server is registered globally (in ~/.claude.json). To install it for only the current project instead:
sigil app install codeberg:sigil/bureau --scope project \
--env [email protected] \
--env BUREAU_FASTMAIL_API_TOKEN=fmu1-... \
--env BUREAU_FASTMAIL_APP_PASSWORD=fmu1-...This writes the server entry to the project's .mcp.json.
Fastmail Credentials
Bureau requires two separate Fastmail credentials — an API token for email (JMAP) and an app password for calendar (CalDAV):
- Log in to Fastmail
- Go to Settings → Privacy & Security → Integrations
- Under API tokens, create a token with Mail access — this is your
BUREAU_FASTMAIL_API_TOKEN - Under App passwords, create a password with Calendars access — this is your
BUREAU_FASTMAIL_APP_PASSWORD
| Variable | Protocol | Auth method | Where to create |
|---|---|---|---|
BUREAU_FASTMAIL_USERNAME | CalDAV | HTTP Basic (username) | Your Fastmail email address |
BUREAU_FASTMAIL_API_TOKEN | JMAP | Bearer token | Settings → API tokens |
BUREAU_FASTMAIL_APP_PASSWORD | CalDAV | HTTP Basic (password) | Settings → App passwords |
Read the rest
What It Does
Bureau provides 19 MCP tools that let an AI assistant:
- Search and read email — query by sender, subject, date, text content
- Send and reply to email — with proper threading headers
- Manage email — archive, trash, flag, mark read/unread, move between folders
- View calendar events — query by date range, get full details
- Create and modify events — schedule meetings, update details, delete events
- Find free time — analyze your calendar to find available slots
Manual Setup
If not using sigil app, you can build and configure manually:
sigil deps install
sigil buildAdd to your .mcp.json:
{
"mcpServers": {
"bureau": {
"type": "stdio",
"command": "/path/to/bureau",
"args": ["serve"],
"env": {
"BUREAU_FASTMAIL_USERNAME": "[email protected]",
"BUREAU_FASTMAIL_API_TOKEN": "fmu1-...",
"BUREAU_FASTMAIL_APP_PASSWORD": "fmu1-..."
}
}
}
}License
BSD-3-Clause
$ git clone https://codeberg.org/sigil/bureau
v0.2.6 — latest by version, released 14 Jul 2026
All releases — 8 tags in this repository.
One page per file, and every line has a permalink.
05d415cf
e96ab221
The last 20 commits keep a page here. Everything older lives in the clone.