[project]
name = "fastmail-mcp"
version = "1.0.0"
description = "MCP server for accessing Fastmail emails via JMAP API"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
dependencies = [
"mcp>=1.1.0",
"httpx>=0.27.0",
"python-dotenv>=1.0.0",
"smithery>=0.3.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.smithery]
module = "fastmail_mcp"
object = "mcp"
[tool.smithery.config]
fastmailApiToken = { type = "string", title = "Fastmail API Token", description = "Your Fastmail API token. Get one from https://app.fastmail.com/settings/security/tokens/new", required = true, env = "FASTMAIL_API_TOKEN" }
defaultMailbox = { type = "string", title = "Default Mailbox", description = "Default mailbox to search (e.g., inbox, sent)", default = "" }
maxResults = { type = "number", title = "Max Results", description = "Maximum emails to return (default: 10, max: 50)", default = 10 }