adjutant

mcp
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 26 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Adjutant - a Model Context Protocol (MCP) server giving AI assistants unified access to email, calendar, and contacts across multiple accounts: Microsoft 365 (multiple tenants), Outlook.com, Google Workspace, IMAP/SMTP, iCalendar feeds, and JSON sources.

README.md

Adjutant

A Model Context Protocol (MCP) server that gives AI assistants access to email, calendar, and contact data across multiple accounts — Microsoft 365, Outlook.com, Google Workspace, IMAP/SMTP mailboxes, CalDAV/CardDAV (including iCloud), ICS feeds, and JSON calendar files.

Adjutant logo: mail, calendar and contact tiles wired into one glowing core

Overview

Adjutant aggregates email, calendar, and contact information from multiple providers into a unified set of MCP tools. AI assistants like Claude Desktop, VS Code with Copilot, and other MCP-compatible clients can query across all your accounts at once, search emails, check calendars, find free time, send messages, create events, and manage contacts.

Supported Providers

Provider Email Calendar Contacts Auth
Microsoft 365 Yes Yes Yes OAuth 2.0 (MSAL)
Outlook.com Yes Yes Yes OAuth 2.0 (MSAL)
Google Workspace / Gmail Yes Yes Yes OAuth 2.0
IMAP/SMTP Yes -- -- Username + app password (encrypted at rest)
On-premises Exchange (EWS) Yes Yes -- Username + password over HTTPS (Basic auth)
CalDAV / CardDAV -- Yes Yes Username + app password (iCloud, Nextcloud, Fastmail, …)
ICS Calendar Feeds -- Read-only -- None (public URLs)
JSON Calendar Files -- Read-only -- None (local files)

Per-Account Permissions

Each account carries its own independent grants, so you can hand an assistant exactly as much
access as a task needs — read one mailbox but never send from it, interact with a calendar but
never touch email, and so on. Two Gmail accounts can be scoped completely differently.

Permission Grants
emailRead Read and manage mail: get, search, details, attachments, delete, move, mark read
emailSend Send mail, including mailto unsubscribes
calendarRead List calendars and read events
calendarWrite Create, update, delete, and respond to events
contactsRead Read and search contacts
contactsWrite Create, update, and delete contacts

Everything is granted by default, and grants are intersected with what the provider can actually
do — granting calendarRead on an IMAP account still yields no calendar. Set them when adding
an account via the CLI, in the admin web UI, or directly in appsettings.json. See
Account Permissions.

MCP Tools

The server exposes these tools to AI assistants:

  • list_accounts — List all configured accounts, with each one's capabilities and permissions
  • get_emails / search_emails — Read and search email across accounts
  • get_email_details — Get full email content
  • get_contextual_email_summary — AI-powered topic clustering and persona analysis
  • send_email — Send email with smart domain-based routing; supports file attachments (base64-encoded, up to 25 MB total)
  • list_calendars / get_calendar_events — View calendars and events
  • get_calendar_event_details — Get full event details
  • find_available_times — Find free time across all calendars
  • create_event — Create calendar events
  • delete_event — Delete calendar events (requires organizer/edit permissions)
  • respond_to_event — Accept, tentatively accept, or decline event invitations
  • get_contacts / search_contacts — Read and search contacts across accounts
  • get_contact_details — Get full contact information
  • create_contact / update_contact / delete_contact — Manage contacts

On-premises Exchange accounts also get find_available_times, which finds common free slots
using Exchange free/busy for the attendees. The Exchange provider has a few limits: attachments
are metadata only (no download, no outbound attachments), it has no contacts, and it doesn't
create Zoom meetings. See docs/EWS-ONPREM-SETUP.md.

See docs/mcp-tools.md for full tool specifications.

Works Well with Scheduler

Finding a meeting time with people outside your own organization means comparing calendars you can't see.
Scheduler is an MCP server for exactly that: the organizer proposes
times, and everyone invited votes on each one from their own assistant or from a link in the invitation email,
without anyone sharing a calendar. It never reads calendars itself, which is where Adjutant comes in. With
both connected, an assistant can:

  • Organize: find free times with find_available_times, propose them through Scheduler, and once a time
    is picked, create the real meeting with create_event.
  • Answer an invitation: find Scheduler's emails (subjects start with [sched:CODE]) with
    search_emails, check each proposed time with get_calendar_events, vote through Scheduler, and accept the
    organizer's invitation later with respond_to_event.

Neither depends on the other; Adjutant works the same without Scheduler.

Getting Started

Prerequisites

Pre-built binaries are self-contained — no .NET runtime needed.

Building from source requires the .NET 10 SDK.

Install

Download a pre-built package from Releases:

Platform Package
Windows (installer) adjutant-setup-win-x64.exe
Windows (zip) adjutant-win-x64.zip
Linux x64 adjutant-linux-x64.tar.gz
macOS Intel adjutant-osx-x64.tar.gz
macOS Apple Silicon adjutant-osx-arm64.tar.gz

See the Installation Guide for detailed steps.

Configure Accounts

Use the CLI to add accounts:

# Microsoft 365 or Outlook.com
Adjutant.Cli add-m365-account

# Google Workspace or Gmail
Adjutant.Cli add-google-account

# CalDAV / CardDAV (iCloud, Fastmail, Nextcloud, custom)
Adjutant.Cli add-dav-account

# Verify
Adjutant.Cli list-accounts
Adjutant.Cli test-account <account-id>

Account setup guides:

Connect Your AI Assistant

Claude Desktop — add to your config (%APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "adjutant": {
      "command": "C:\\Program Files\\Adjutant\\Adjutant.StdioServer.exe",
      "args": [],
      "env": {}
    }
  }
}

See the Claude Desktop Setup Guide for all platforms and troubleshooting.

Connecting to the HTTP server instead of a local subprocess requires an API key header — see
Connecting a client — or, as a custom connector, an
OAuth sign-in (see MCP OAuth).

Deployment Options

Stdio Server (Local)

The default mode. The AI assistant launches the server as a subprocess communicating over stdin/stdout.

Adjutant.StdioServer

HTTP Server (Containerized)

For remote or shared deployments. Includes a Blazor admin UI and health check endpoint.

# Run directly
dotnet run --project src/Adjutant.HttpServer

# Or via Docker
docker build -t adjutant-http .
docker run -p 8080:8080 -v adjutant-data:/app/data adjutant-http

The MCP endpoint requires an API key. On first start the server generates one and prints it to
the log — copy it from there, as it is hashed at rest and never shown again. Clients send it as
Authorization: Bearer <key> or X-Api-Key: <key>; to supply your own key instead, set
ADJUTANT_MCP_KEY.

MCP clients that support OAuth (Claude Code, claude.ai / Claude Desktop connectors, VS Code) can
connect without a key once an admin sign-in provider is configured: add the server URL and sign in.

Manifests for Kubernetes are in k8s/, and a Compose file is at
docker-compose.yml.

Building from Source

git clone https://github.com/MarimerLLC/adjutant.git
cd adjutant
dotnet build src/adjutant.slnx --configuration Release

Project Structure

src/
├── Adjutant.Core           Core library — models, providers, MCP tools, services
├── Adjutant.Auth           Authentication helpers (MSAL, Google OAuth)
├── Adjutant.Cli            CLI for account management
├── Adjutant.StdioServer    MCP server (stdio transport)
└── Adjutant.HttpServer     MCP server (HTTP transport) with admin UI

Run from Source

# Stdio server
dotnet run --project src/Adjutant.StdioServer

# HTTP server
dotnet run --project src/Adjutant.HttpServer

# CLI
dotnet run --project src/Adjutant.Cli -- list-accounts

Configuration

Account and server configuration is stored in JSON files:

Platform Location
Windows %LOCALAPPDATA%\Adjutant\
Linux / macOS ~/.local/share/Adjutant/
Override Set ADJUTANT_CONFIG environment variable

See docs/configuration.md for the full configuration reference.

Documentation

Topic Link
Installation docs/INSTALLATION.md
Deployment docs/DEPLOYMENT.md
Architecture docs/architecture.md
MCP Tools docs/mcp-tools.md
Providers docs/providers.md
Authentication docs/authentication.md
Configuration docs/configuration.md
Security docs/security.md
Telemetry docs/telemetry.md
Smart Routing docs/routing.md
Design docs/DESIGN.md

Contributing

Contributions are welcome. Please read our Code of Conduct before participating.

Here's how to get started:

  1. Fork the repository and create a feature branch.
  2. Build and verify your changes compile: dotnet build src/adjutant.slnx
  3. Follow the existing code style and patterns — the project uses standard C#/.NET conventions.
  4. Open a pull request against main. The CI workflow will build automatically.

CI

A GitHub Actions workflow runs on all PRs and pushes to main, building the solution on .NET 10.

Areas of Interest

  • Additional calendar/email providers
  • Improved test coverage
  • Documentation improvements
  • Performance optimizations
  • Accessibility improvements in the admin UI

License

MIT — Copyright (c) 2025 Rockford Lhotka

This project is not affiliated with Microsoft, Google, or Anthropic.

Yorumlar (0)

Sonuc bulunamadi