{#- SPDX-License-Identifier: Apache-2.0 -#} {#- What this core can do, by the kind of plugin that offers it, and what MCP clients may call. -#} {% extends "_base.html" %} {% import "_macros.html" as m with context %} {% block title %}Capabilities ยท Oaken Mail{% endblock %} {% block main %}

Capabilities

What this core can do, grouped by the kind of plugin that offers it, and what MCP clients may call. Some things you do not want an AI client doing: switch them off here.

{% set mcp_on = mcp.mounted and mcp.enabled %}
MCP is {{ "ON" if mcp_on else "OFF" }} {{ m.switch("mcp-power", "/capabilities", mcp_on, "MCP", {}, "mcp", "on", "off", not mcp.mounted, "The MCP door is not mounted: set [api] mcp = true and restart core", false) }} {% if not mcp.mounted %}Not mounted: set [api] mcp = true and restart core. {%- elif mcp.enabled %}AI clients can reach the operations ticked below. {%- else %}Switched off: the door answers 503 and offers no tools.{% endif %}
MCP workspaces
{{ m.guard("/capabilities") }}

Clients may reach {% if mcp.all %}every workspace{% else %}only the workspaces ticked below{% endif %}. Mail text returned to an AI client leaves this process.

{% if mcp.all %}

Every workspace is reachable, secure ones included.

{% endif %}
{% for w in mcp.workspaces %} {% endfor %}

{% set kind_of = {} %}{% for p in plugins %}{% set _ = kind_of.update({p.name: p.kind}) %}{% endfor %} {# Core operations by rough function, so a client that may read mail can be kept from re-running the analysis: switch the Enrichment table off and list/read still work. Anything not named here is Mail. #} {% set enrichment = ["enrich_message","get_enrichment","summarize_message","try_triage","reprocess"] %} {% set pipeline_ops = ["pipeline_status","pause_backfill","resume_backfill","set_pipeline_limits","retry_job","retry_parked","cancel_job","list_jobs","rebuild_index","sync_now","list_schedules","set_schedule","pause_schedule","resume_schedule","remove_schedule","events_tail","trace_set","trace_status","trace_tail","usage_summary","reset_usage","cache_stats","clear_cache","savings_summary","storage_info","vacuum","list_audit","status"] %} {% set system_ops = ["check_plugin_config","check_settings","check_workspace","config_get","config_reload","config_save","config_validate","create_account","create_agent","get_account","get_plugin_config","get_settings","get_workspace","list_accounts","list_agents","list_operations","list_plugins","list_workspaces","plugin_disable","plugin_enable","plugin_health","plugin_reload","remove_account","remove_workspace","revoke_agent","set_account_config","set_operation_exposure","set_plugin_config","set_settings","set_workspace"] %} {% macro group_of(o) %}{% if o.plugin %}{{ kind_of.get(o.plugin, "core") }}{% elif o.name in enrichment %}enrichment{% elif o.name in pipeline_ops %}pipeline{% elif o.name in system_ops %}system{% else %}mail{% endif %}{% endmacro %} {% set groups = [("mail","Core: Mail"),("pipeline","Core: Pipeline"),("enrichment","Core: Enrichment"),("system","Core: System"),("provider","Providers"),("triager","Triagers"),("embedder","Embedders"),("enricher","Enrichers"),("llm_backend","LLM backends"),("vector_store","Vector stores"),("cache_store","Caches")] %} {% for key, label in groups %} {% set have = namespace(n=0) %} {% for o in operations if group_of(o) | trim == key %}{% set have.n = have.n + 1 %}{% endfor %} {% if have.n or key in ("mail","pipeline","enrichment","system","provider","triager","embedder","enricher") %}
{{ label }} {{ have.n }}
{% for o in operations if group_of(o) | trim == key %} {% else %} {% endfor %}
OperationProviderPermissionMCPSummary
{{ o.name }} {{ o.plugin or "core" }} {% if o.permission == "mutate" %}mutate {%- elif o.permission == "send" %}send {%- else %}read{% endif %} {{ m.switch("expose", "/capabilities", o.mcp_enabled, "Expose " ~ o.name ~ " over MCP", {"name": o.name}, "mcp", "on", "off", not o.mcp_allowed, "Never offered over MCP (" ~ (o.mcp_locked_reason or "ceiling") ~ ")", false) }} {{ o.summary }}
None.
{% endif %} {% endfor %}

No bundled triager, embedder or enricher adds operations of its own; they run inside the pipeline. LLM backends, vector stores and caches are not listed at all, because Oaken is not a model router and nothing there is for a client to call (one would appear only if such a plugin defined operations(), so a switch is never hidden).

Generated from the operation registry. A plugin's operations appear under the kind of that plugin; a kind none of whose plugins add an operation is not listed.

{% endblock %} {% block scripts %}{% endblock %}