agent-mail

Category: Tools & Productivity | Uploader: DicklesworthstoneDicklesworthstone | Downloads: 0 | Version: v1.0(Latest)

MCP Agent Mail - Mail-like coordination layer for multi-agent workflows. Identities, inbox/outbox, file reservations, contact policies, threaded messaging, pre-commit guard, Human Overseer, static exports, disaster recovery. Git+SQLite backed. Python/FastMCP.

Changelog: Source: GitHub https://github.com/Dicklesworthstone/mcp_agent_mail

Directory Structure

Current level: tree/main/

  • 📁 .beads/
    • 📄 .gitignore 1023 B
    • 📄 beads.jsonl 27.6 KB
    • 📄 config.yaml 17 B
    • 📄 interactions.jsonl 0 B
    • 📄 issues.jsonl 222.6 KB
    • 📄 metadata.json 62 B
    • 📄 README.md 2.2 KB
    • 📄 testing-tasks-v2.md 15.9 KB
    • 📄 testing-tasks.md 19.9 KB
  • 📁 .claude/
    • 📄 settings.json 1.3 KB
    • 📄 settings.json.template 1.5 KB
  • 📁 .codex/
    • 📄 config.toml 421 B
  • 📁 .github/
    • 📁 workflows/
      • 📄 acfs-checksums-dispatch.yml 1.1 KB
      • 📄 ci.yml 2.7 KB
      • 📄 nightly.yml 1.1 KB
      • 📄 notify-acfs.yml 2.8 KB
      • 📄 release.yml 2.2 KB
  • 📁 deploy/
    • 📁 capabilities/
      • 📄 agent_capabilities.example.yaml 716 B
      • 📄 agent_capabilities.json 496 B
    • 📁 logrotate/
      • 📄 mcp-agent-mail 290 B
    • 📁 observability/
      • 📄 prometheus_rules.sample.yml 628 B
    • 📁 systemd/
      • 📄 mcp-agent-mail.service 424 B
    • 📄 gunicorn.conf.py 758 B
  • 📁 docs/
    • 📁 adr/
      • 📄 002-rust-optimization-analysis.md 5.9 KB
      • 📄 README.md 1.4 KB
    • 📁 deployment_samples/
      • 📄 cloudflare-pages-example.toml 362 B
      • 📄 github-actions-share.yml 1.1 KB
    • 📁 performance/
      • 📄 baseline-metrics.md 2.3 KB
    • 📁 research/
      • 📄 globtrie-analysis.md 6.8 KB
    • 📄 GUIDE_TO_OPTIMAL_MCP_SERVER_DESIGN.md 8.5 KB
    • 📄 IDENTITY_CONTRACT.md 7.5 KB
    • 📄 observability.md 2.0 KB
    • 📄 operations_alignment_checklist.md 2.6 KB
  • 📁 examples/
    • 📄 client_bootstrap.py 3.5 KB
  • 📁 screenshots/
    • 📁 output/
      • 📄 agent_mail_showcase.gif 3.0 MB
      • 📄 agent_mail_showcase.mp4 1.1 MB
      • 📄 palette_2k.png 1003 B
    • 📁 webp/
      • 📄 agent_mail_overview.webp 622.0 KB
      • 📄 backend_frontend_coordination_terminal.webp 278.1 KB
      • 📄 backend_frontend_harmonization_terminal.webp 307.1 KB
      • 📄 file_reservations_view.webp 144.9 KB
      • 📄 mcp_server_console_output.webp 364.8 KB
      • 📄 unified_inbox_view_01.webp 243.3 KB
      • 📄 unified_inbox_view_02.webp 243.9 KB
  • 📁 scripts/
    • 📁 hooks/
      • 📄 check_inbox.sh 3.8 KB
      • 📄 codex_notify.sh 4.1 KB
    • 📄 automatically_detect_all_installed_coding_agents_and_install_mcp_agent_mail_in_all.sh 7.2 KB
    • 📄 bootstrap.sh 1.9 KB
    • 📄 check_console_environment.py 1.7 KB
    • 📄 deploy.sh 1.8 KB
    • 📄 identity-resolve.sh 5.5 KB
    • 📄 identity-write.sh 3.7 KB
    • 📄 install.sh 31.9 KB
    • 📄 integrate_claude_code.sh 16.5 KB
    • 📄 integrate_cline.sh 5.5 KB
    • 📄 integrate_codex_cli.sh 15.7 KB
    • 📄 integrate_cursor.sh 5.4 KB
    • 📄 integrate_factory_droid.sh 11.8 KB
    • 📄 integrate_gemini_cli.sh 14.7 KB
    • 📄 integrate_github_copilot.sh 9.0 KB
    • 📄 integrate_opencode.sh 7.6 KB
    • 📄 integrate_windsurf.sh 5.6 KB
    • 📄 integration_showcase.py 33.7 KB
    • 📄 lib.sh 22.2 KB
    • 📄 run_server_with_token.sh 2.1 KB
    • 📄 share_to_github_pages.py 51.4 KB
    • 📄 test_bd_path_snippet_rewrite.sh 2.3 KB
    • 📄 test_endpoints.sh 1.1 KB
    • 📄 test_guard.sh 2.4 KB
    • 📄 test_rich_output.py 5.5 KB
    • 📄 test_run_server_directly.sh 526 B
    • 📄 update_sqlite_vendor.py 2.9 KB
  • 📁 src/
    • 📁 mcp_agent_mail/
      • 📁 templates/
        • 📄 archive_activity.html 9.2 KB
        • 📄 archive_browser.html 7.7 KB
        • 📄 archive_commit.html 10.6 KB
        • 📄 archive_guide.html 29.0 KB
        • 📄 archive_network.html 5.3 KB
        • 📄 archive_time_travel.html 11.0 KB
        • 📄 archive_timeline.html 4.4 KB
        • 📄 base.html 136.2 KB
        • 📄 error.html 3.5 KB
        • 📄 mail_attachments.html 5.6 KB
        • 📄 mail_claims.html 12.5 KB
        • 📄 mail_file_reservations.html 826 B
        • 📄 mail_inbox.html 28.2 KB
        • 📄 mail_index.html 43.3 KB
        • 📄 mail_message.html 12.9 KB
        • 📄 mail_project.html 32.8 KB
        • 📄 mail_search.html 16.4 KB
        • 📄 mail_thread.html 9.4 KB
        • 📄 mail_unified_inbox.html 63.2 KB
        • 📄 overseer_compose.html 29.9 KB
      • 📁 viewer_assets/
        • 📁 vendor/
          • 📄 clusterize.min.css 438 B
          • 📄 clusterize.min.js 5.3 KB
          • 📄 dompurify.min.js 20.6 KB
          • 📄 marked.min.js 34.1 KB
          • 📄 sql-wasm.js 47.6 KB
          • 📄 sql-wasm.wasm 644.3 KB
        • 📄 __init__.py 124 B
        • 📄 coi-serviceworker.js 3.4 KB
        • 📄 index.html 64.0 KB
        • 📄 preview-reload.js 1.0 KB
        • 📄 styles.css 9.8 KB
        • 📄 vendor_manifest.json 1.2 KB
        • 📄 viewer.js 67.9 KB
      • 📄 __init__.py 620 B
      • 📄 __main__.py 593 B
      • 📄 app.py 500.9 KB
      • 📄 cli.py 210.0 KB
      • 📄 config.py 22.0 KB
      • 📄 db.py 33.0 KB
      • 📄 guard.py 30.5 KB
      • 📄 http.py 172.1 KB
      • 📄 llm.py 9.4 KB
      • 📄 models.py 9.0 KB
      • 📄 rich_logger.py 35.5 KB
      • 📄 share.py 84.6 KB
      • 📄 storage.py 129.7 KB
      • 📄 utils.py 5.1 KB
  • 📁 tests/
    • 📁 benchmarks/
      • 📄 __init__.py 42 B
      • 📄 baselines.json 2.1 KB
      • 📄 bench_fetch_inbox.py 1.4 KB
      • 📄 bench_list_outbox.py 2.4 KB
      • 📄 bench_pathspec.py 25.7 KB
      • 📄 bench_pattern_matching.py 6.0 KB
      • 📄 bench_search.py 1.5 KB
      • 📄 bench_send_message.py 1.1 KB
      • 📄 bench_summarize.py 2.0 KB
      • 📄 conftest.py 2.0 KB
      • 📄 regression.py 15.7 KB
      • 📄 test_ci_regression.py 9.8 KB
      • 📄 utils.py 8.8 KB
    • 📁 e2e/
      • 📁 golden/
        • 📄 isomorphism_e2e.json 22.9 KB
      • 📄 test_isomorphism_e2e.py 36.6 KB
      • 📄 test_toon_format_e2e.py 2.6 KB
      • 📄 test_utils.py 889 B
      • 📄 utils.py 6.7 KB
    • 📁 integration/
      • 📄 test_archive_workflow.py 4.1 KB
      • 📄 test_mailbox_share_integration.py 9.2 KB
      • 📄 test_worktrees_functionality_e2e.py 9.8 KB
    • 📄 __init__.py 0 B
    • 📄 conftest.py 6.3 KB
    • 📄 test_ack_views_details.py 1.2 KB
    • 📄 test_agent_name_validation.py 23.6 KB
    • 📄 test_am_run_basic.py 1.4 KB
    • 📄 test_app_helpers.py 2.7 KB
    • 📄 test_archive_browser.py 17.1 KB
    • 📄 test_attachment_policy.py 1.3 KB
    • 📄 test_attachments_extended.py 3.8 KB
    • 📄 test_broadcast.py 15.9 KB
    • 📄 test_claim_overlap_and_macro_failures.py 1.9 KB
    • 📄 test_cli.py 4.5 KB
    • 📄 test_cli_acks_and_errors.py 2.0 KB
    • 📄 test_cli_additional.py 2.5 KB
    • 📄 test_cli_archive_commands.py 16.4 KB
    • 📄 test_cli_extended.py 3.1 KB
    • 📄 test_cli_guard_commands.py 25.1 KB
    • 📄 test_cli_list_acks_and_main.py 1.9 KB
    • 📄 test_cli_mail_commands.py 22.0 KB
    • 📄 test_cli_stub.py 4.0 KB
    • 📄 test_clone_identity_equivalence.py 984 B
    • 📄 test_concurrency_agents.py 37.4 KB
    • 📄 test_concurrent_writes.py 20.4 KB
    • 📄 test_contact_and_routing.py 4.8 KB
    • 📄 test_contact_management_flow.py 28.9 KB
    • 📄 test_contact_policy.py 10.2 KB
    • 📄 test_contacts.py 6.4 KB
    • 📄 test_database_failures.py 18.4 KB
    • 📄 test_datetime_regression.py 16.6 KB
    • 📄 test_db_migrations_and_http_main.py 1.5 KB
    • 📄 test_e2e_disaster_recovery.py 29.2 KB
    • 📄 test_e2e_multi_agent_workflow.py 35.2 KB
    • 📄 test_entry_and_llm_errors.py 588 B
    • 📄 test_entrypoints_and_llm.py 3.0 KB
    • 📄 test_error_invalid_inputs.py 26.1 KB
    • 📄 test_expected_error_filter.py 14.3 KB
    • 📄 test_file_reservation_lifecycle.py 33.4 KB
    • 📄 test_git_archive_failures.py 16.2 KB
    • 📄 test_git_index_lock.py 9.8 KB
    • 📄 test_guard_edges.py 2.6 KB
    • 📄 test_guard_integration.py 3.3 KB
    • 📄 test_guard_prepush.py 6.5 KB
    • 📄 test_guard_rename.py 3.4 KB
    • 📄 test_guard_render.py 880 B
    • 📄 test_guard_tools.py 1.7 KB
    • 📄 test_guard_worktrees.py 17.8 KB
    • 📄 test_http_auth.py 27.5 KB
    • 📄 test_http_auth_rate_limit.py 2.7 KB
    • 📄 test_http_logging_and_errors.py 2.7 KB
    • 📄 test_http_negative_jwt.py 4.7 KB
    • 📄 test_http_rate_limit.py 23.7 KB
    • 📄 test_http_rate_limiting_comprehensive.py 21.4 KB
    • 📄 test_http_redis_rate_limit.py 1.9 KB
    • 📄 test_http_server.py 18.2 KB
    • 📄 test_http_transport.py 6.8 KB
    • 📄 test_http_unit.py 976 B
    • 📄 test_http_workers_and_options.py 4.7 KB
    • 📄 test_identity.py 1.6 KB
    • 📄 test_identity_ignorecase.py 1.1 KB
    • 📄 test_identity_markers.py 2.7 KB
    • 📄 test_identity_resources.py 1.1 KB
    • 📄 test_identity_worktrees.py 1.4 KB
    • 📄 test_identity_wsl2.py 1.1 KB
    • 📄 test_image_processing_edge.py 32.2 KB
    • 📄 test_llm_and_utils.py 2.0 KB
    • 📄 test_logging_and_redis_fallback.py 2.0 KB
    • 📄 test_macro_start_session_with_claims.py 4.2 KB
    • 📄 test_macros.py 3.8 KB
    • 📄 test_mail_viewer_e2e.py 22.6 KB
    • 📄 test_mailbox_with_commits.py 995 B
    • 📄 test_main_http_entry.py 294 B
    • 📄 test_mcp_resources.py 27.4 KB
    • 📄 test_message_delivery_regression.py 32.5 KB
    • 📄 test_messaging_semantics.py 4.7 KB
    • 📄 test_mistake_detection.py 9.1 KB
    • 📄 test_more_resources.py 1.4 KB
    • 📄 test_negative_inputs.py 3.3 KB
    • 📄 test_outbox_and_claims.py 3.3 KB
    • 📄 test_pathspec_overlap.py 1.2 KB
    • 📄 test_performance_benchmarks.py 40.3 KB
    • 📄 test_precommit_bypass.py 2.0 KB
    • 📄 test_precommit_enforcement.py 19.6 KB
    • 📄 test_prepush_enforcement_comprehensive.py 20.7 KB
    • 📄 test_product_bus.py 1.8 KB
    • 📄 test_project_agent_setup.py 25.7 KB
    • 📄 test_query_locality.py 21.4 KB
    • 📄 test_remote_normalization.py 2.3 KB
    • 📄 test_reply_and_threads.py 2.1 KB
    • 📄 test_repo_cache.py 10.6 KB
    • 📄 test_resource_cleanup.py 8.7 KB
    • 📄 test_resource_edges.py 2.2 KB
    • 📄 test_resources_mailbox.py 4.8 KB
    • 📄 test_security_input_sanitization.py 30.7 KB
    • 📄 test_security_path_traversal.py 19.1 KB
    • 📄 test_server.py 27.7 KB
    • 📄 test_server_lock.py 6.7 KB
    • 📄 test_session_context_regression.py 25.1 KB
    • 📄 test_share_export.py 50.9 KB
    • 📄 test_startup_banner_db_reset.py 5.9 KB
    • 📄 test_storage_edges.py 4.5 KB
    • 📄 test_storage_inline_fallback.py 1.2 KB
    • 📄 test_summarize_recent.py 13.3 KB
    • 📄 test_summarize_threads_extended.py 1.8 KB
    • 📄 test_summarize_threads_llm_off.py 1.8 KB
    • 📄 test_summarize_threads_llm_on.py 2.3 KB
    • 📄 test_time_travel.py 24.9 KB
    • 📄 test_tool_filter_and_notifications.py 12.4 KB
    • 📄 test_tooling_and_views_resources.py 2.2 KB
    • 📄 test_tooling_resources.py 4.5 KB
    • 📄 test_toon_formatting.py 3.7 KB
    • 📄 test_utils_config_db_edges.py 1.3 KB
    • 📄 test_viewer_storage.py 28.3 KB
    • 📄 test_virtual_reservations.py 10.2 KB
    • 📄 test_window_identity.py 13.8 KB
    • 📄 test_worktree_conflict_integration.py 2.3 KB
    • 📄 test_xss_corpus.py 15.7 KB
  • 📁 third_party_docs/
    • 📄 fastmcp_distilled_docs.md 120.2 KB
    • 📄 mcp_protocol_specs.md 301.3 KB
    • 📄 PYTHON_FASTMCP_BEST_PRACTICES.md 32.1 KB
    • 📄 sqlite_json_distilled_docs.md 57.7 KB
  • 📁 web/
    • 📄 index.html 1.4 KB
  • 📄 .dockerignore 570 B
  • 📄 .env.example 1.3 KB
  • 📄 .envrc 26 B
  • 📄 .gitattributes 70 B
  • 📄 .gitignore 3.6 KB
  • 📄 .mcp.json 199 B
  • 📄 AGENT_FRIENDLINESS_REPORT.md 4.7 KB
  • 📄 AGENTS.md 26.6 KB
  • 📄 CHANGELOG.md 43.0 KB
  • 📄 cline.mcp.json 259 B
  • 📄 codex.mcp.json 186 B
  • 📄 compose.yaml 344 B
  • 📄 cursor.mcp.json 186 B
  • 📄 docker-compose.yml 582 B
  • 📄 Dockerfile 1.2 KB
  • 📄 gemini.mcp.json 168 B
  • 📄 gh_og_share_image.png 185.7 KB
  • 📄 LICENSE 3.8 KB
  • 📄 Makefile 434 B
  • 📄 PLAN_TO_ENABLE_EASY_AND_SECURE_SHARING_OF_AGENT_MAILBOX.md 22.9 KB
  • 📄 PLAN_TO_NON_DISRUPTIVELY_INTEGRATE_WITH_THE_GIT_WORKTREE_APPROACH.md 70.2 KB
  • 📄 project_idea_and_guide.md 41.4 KB
  • 📄 pyproject.toml 3.1 KB
  • 📄 README.md 131.8 KB
  • 📄 signing-77c6e768.key 32 B
  • 📄 signing-77c6e768.pub 44 B
  • 📄 SKILL.md 13.2 KB
  • 📄 uv.lock 621.8 KB
  • 📄 windsurf.mcp.json 262 B

SKILL.md

Login to download/like/favorite ❤ 1.9K | ★ 0
Comments 0

Please login before commenting.

Loading comments...