OpenArchiver MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenArchiver MCP Serversearch archived emails for the Q3 board meeting notes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenArchiver MCP Server
An MCP (Model Context Protocol) server for searching and administering an OpenArchiver instance.
Toolsets
Set OPENARCHIVER_TOOLSET to choose which tools MCP clients can discover. The default is core.
Core
Core is read-only and intended for everyday archive access:
search_emails— search email text and structured fields.get_email— retrieve one archived email.get_archive_stats— return dashboard and per-source statistics together.get_archive_health— return global index health and optional per-source health.list_ingestion_sources— list accessible sources.list_archived_emails_for_source— browse a source with pagination.
Full
Full includes every core tool plus administrative tools:
list_users,get_user,create_user,update_user,delete_user— user management.list_roles— discover IAM role IDs for user assignment.reindex_archive— reindex the entire archive or one source inmissingorfullmode.get_queues— inspect background queue counts.
In full mode, get_archive_health also requests the Super-Admin search-engine overview. Health sections are returned independently, so a permission failure in one section does not discard the others.
The API does not currently expose audit-log, retention-policy, retention-label, or legal-hold routes, so this MCP does not advertise nonfunctional tools for those features.
Related MCP server: outlook-evidence-mcp
Requirements
Node.js 18 or newer
A reachable OpenArchiver instance
An OpenArchiver API key with permissions appropriate for the selected tools
Typical permissions include search:archive and read:archive for core access, read:dashboard and read:ingestion for statistics and health, manage:all for users, roles, queues, and index overview, manage:ingestion for a global reindex, and sync:ingestion for a source reindex.
Installation
npm install
npm run build
npm testRun the published package directly with npx from GitHub Packages:
npx --yes --registry=https://npm.pkg.github.com --package=@imrasalghul/openarchiver-mcp@1.0.0 openarchiver-mcpFor GitHub Packages authentication, create a GitHub personal access token with read:packages (installation) or write:packages (publishing), then configure npm:
npm login --registry=https://npm.pkg.github.com --scope=@imrasalghulConfiguration
OPENARCHIVER_API_KEY— required API key.OPENARCHIVER_API_URL— optional instance base URL; defaults tohttps://archiver.alghul.com.OPENARCHIVER_TOOLSET—coreorfull; defaults tocore. Invalid values stop startup with an error.OPENARCHIVER_TIMEOUT_MS— positive request timeout in milliseconds; defaults to30000.
Example MCP configuration:
{
"mcpServers": {
"openarchiver": {
"command": "npx",
"args": [
"--yes",
"--registry=https://npm.pkg.github.com",
"--package=@imrasalghul/openarchiver-mcp@1.0.0",
"openarchiver-mcp"
],
"env": {
"OPENARCHIVER_API_KEY": "your-api-key",
"OPENARCHIVER_API_URL": "https://archiver.alghul.com",
"OPENARCHIVER_TOOLSET": "core",
"OPENARCHIVER_TIMEOUT_MS": "30000"
}
}
}
}Use "OPENARCHIVER_TOOLSET": "full" only for API keys intended to perform administrative operations.
The package is published to GitHub Packages, not npmjs.org.
Development
npm run build
npm test
npm run checkThe tests start a local mock API and verify MCP discovery, tool annotations, input validation, reindex routing, partial health responses, and successful handling of 204 No Content deletions. They do not modify a live OpenArchiver instance.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only Amazon SES observability: search events, inspect bounces, pull delivery stats.
Read-only MCP access to authorized Vocci sessions, notes, files, and memory search.
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Read your own DMARC aggregate and forensic reports: sources, alignment, alerts, CSV export.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Gmail, enabling email search, unread listing, message and thread retrieval, and draft reply preparation without sending.205MIT
- AlicenseAqualityCmaintenanceEnables read-only search and export of Outlook emails and attachments with a chain-of-custody manifest for evidence collection.7MIT
- AlicenseAqualityCmaintenanceReads and searches local email archives (.mbox or .eml) with full MIME parsing, enabling queries about senders, subjects, dates, and bodies while keeping all data on your machine.365MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI assistants to securely search multiple mailboxes, reconstruct email threads, and inspect attachments through read-only tools without altering mailbox state.Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/imrasalghul/OpenArchiverMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server