Back to Browse

Ellmos Controlcenter MCP Server

Developer ToolsUse Caution4.1MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP control plane: discovery of servers, tools and skills, profiles, audits, gated tool gateway.

About

MCP control plane: discovery of servers, tools and skills, profiles, audits, gated tool gateway.

Security Report

4.1
Use Caution4.1High Risk

The visible code is a local MCP control plane whose permissions broadly match its stated purpose: it reads profile and repo directories, probes MCP servers over stdio, and serves a 127.0.0.1 dashboard. The main concerns are that the gateway can forward tool arguments to remote HTTPS backends and that tool probes spawn commands defined by local repos and profiles. The provided code is truncated, so the policy, gateway, and secret-scrubbing implementations could not be verified. Supply chain analysis found 8 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.

3 files analyzed · 14 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

HTTP Network Access

Connects to external APIs or services over the internet.

network_websocket

Check that this permission is expected for this type of plugin.

process_spawn

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-ellmos-ai-ellmos-controlcenter-mcp": {
      "args": [
        "-y",
        "ellmos-controlcenter-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

ellmos ControlCenter MCP

DE Deutsche Version

Part of the ellmos-ai family.

CI npm version License: MIT Attribution: NOTICE Contributing: Guide Node.js Vitest Verified: 2026-09-29 Level 1 SBOM MCP Tools Platform Privacy Security Security SLA Ecosystem Umbrella LLM-Ready

[!NOTE] LLM / AI Agent Integration: This repository provides an llms.txt index file for context optimization, RAG discovery, and agent navigation.


Quick Navigation

Installation • Target Personas • Comparative Matrix • System Architecture • Control & Gateway Flow • Governance Invariants • Status • Tools (34) • Gateway • Capability Bundles • Profile Switching • Host Registers • Dashboard • Third-Party Licenses • Documentation • Security Policy • llms.txt Context • Ecosystem Matrix


An advanced Model Context Protocol (MCP) administration server and policy-gated gateway for local MCP stacks. ControlCenter discovers local MCP servers, reads MCP profile files, groups servers into capability bundles, recommends profiles for a task, builds catalogs, probes real MCP tool lists from local repositories or profiles, assigns tools to capability bundles, provides host-level register mirrors (locks, permissions, resources, governance), and provides an optional local dashboard.

Architecture & Dual Role — Control Plane + Policy-Gated Gateway: ControlCenter combines two complementary operational surfaces:

  1. Control Plane (Administration & Configuration): Inventories local servers, resolves profiles, manages capability bundles, mirrors system governance/locks, and generates configurations (controlcenter_switch_profile, controlcenter_build_catalog).
  2. Policy-Gated Gateway (On-Demand Tool Invocation): Via controlcenter_invoke and controlcenter_list_available_tools, agents can list and invoke tools on backend MCP servers that the host agent has not loaded into its active context — strictly bounded by pattern-based policy rules (data/gateway-policy.json), argument auditing, and secret scrubbing.

Administration and discovery are local-first with no telemetry or background egress. An explicitly configured gateway call may contact a remote HTTPS backend; redirects are refused and an optional host allowlist can narrow the destination set. Lock and permission tools fail closed when their authority sources cannot be verified.

Provider note: ControlCenter works with any MCP-capable client (Claude Code, Codex, Gemini, or any stdio-based MCP host). The profile management tools default to Claude Code's profile directory (~/.claude/profiles) but accept any directory via ELLMOS_PROFILE_ROOT. The skill and plugin inventory tools are scoped to Claude Code conventions by default; see the environment variables below for override options.

ControlCenter provides discovery, profile visibility, dashboard workflows, capability bundles, profile-aware tool-list probes, tool-bundle assignments, internationalization, policy audits, host register mirrors (locks, permissions, resources, plans), and the policy-gated gateway (controlcenter_invoke). Hardened for multi-OS deployment with a 48-hour security response SLA.

Target Personas & Discoverability

PersonaCore Profile & Tech StackArchitectural Friction & Pain PointHow ControlCenter Solves It
AI Infrastructure Engineers & MCP Tooling ArchitectsScaling local fleets of MCP servers across multi-agent environments (Claude Code, Codex, Antigravity, Gemini).Massive agent context window consumption when dozens of MCP servers are loaded simultaneously; config drift across agent profiles.Dynamic capability bundles (data/capability-bundles.json), hash-consistent profile resolution (controlcenter_resolve_profile), and on-demand tool probes without active memory overhead.
Multi-Agent Runtime Developers & Swarm OperatorsOrchestrating autonomous agent loops and workflows (BACH, USMC, LangChain, AutoGen, CrewAI).Lack of dynamic runtime tool access for tools not pre-declared at agent startup; danger of background process leakage.Connect-per-call policy-gated gateway (controlcenter_invoke) allowing agents to invoke unloaded backend MCP tools with zero lingering zombie processes.
Enterprise SecOps & Compliance OfficersAuditing local developer environments, sensitive credentials, and agent autonomy boundaries.Prompt injection attacks via untrusted tool outputs, API key leakage in stack traces, and unmonitored tool executions.Local-first administration with no telemetry or background egress, explicit HTTPS boundaries for remote gateway calls, fail-closed policy loading (data/gateway-policy.json), bounded credential sanitization, untrusted data wrapping, and append-only audit trails (gateway-audit.jsonl).
Local Homelab Automators & AI Power UsersManaging desktop agents, workflow engines (n8n), and local developer tools.Fragmented tooling, opaque agent permissions, conflicting locks, and lack of a central visual overview of active MCP stacks.Centralized local web dashboard (127.0.0.1:3737), bidirectional i18n (EN/DE), and unified host register mirrors for locks (LOCK*.txt), permissions (LOCK.permissions.json), and decisions.

Discovery Keywords & High-Intent Topic Tags: mcp-control-plane, model-context-protocol, mcp-gateway, claude-code-profiles, policy-gated-execution, no-telemetry, local-first-ai, secret-scrubber, multi-agent-coordination, capability-bundles, fail-closed-security, mcp-audit-logging, developer-tools.


Comparative Matrix vs Alternatives

Architectural Criterionellmos ControlCenter MCPStatic MCP Configurations (claude_desktop_config.json)Monolithic MCP Meta-ServersHeavyweight Agent Frameworks (LangChain / CrewAI)Cloud LLMOps & Remote Gateways
Architecture & RoleDual Control Plane + Ephemeral GatewayStatic JSON fileSingle massive combined processEmbedded code frameworkRemote hosted SaaS / proxy
Token & Context EfficiencyDynamic On-Demand Tool Invocation (controlcenter_invoke)Poor (All tools must be pre-loaded into context)Extreme bloat (Dozens of tools in prompt)Varies (Tools loaded into Python process memory)Network payload overhead
Process LifecycleConnect-Per-Call stdio + optional Windows Job Object (descendant-safe cleanup)Always-on persistent background daemonsSingle monolithic background processTied to application execution threadCloud-hosted containers
Network Egress & PrivacyLocal-first; no telemetry/background egress; explicit remote HTTPS gateway targets are supportedLocal stdio / HTTPLocal stdioDepends on cloud LLM integrationsHigh egress (Tool data sent to cloud servers)
Policy Gating & HardeningFail-Closed Pattern Rules + Recursive Secret ScrubbingNone (Direct unrestricted host access)Rare / Custom ad-hoc filteringInconsistent application-level checksOrganization-level cloud IAM
Untrusted Data IsolationEnforced GFM Banners for Tool OutputsNone (Raw strings fed directly to LLM)NoneManual prompt templatesCloud provider sandboxing
Host Governance AwarenessNative Multi-Agent Locks (LOCK*.txt) & PermissionsNoneNoneNoneNone
Profile & Stack ManagementExtends Chains, Dynamic Bundles & Catalog ProbesManual JSON editingHardcoded server arraysProgrammatic Python definitionsWeb dashboard configuration
Internationalization (i18n)Bilingual Core (English & German runtime output)English onlyEnglish onlyEnglish onlyEnglish only
Security SLA & Supply Chain48h SLA, Zero Transitive Telemetry, Audited LicensesVendor dependentUnaudited third-party toolsBroad attack surface (100+ pip packages)Third-party vendor trust

System Architecture

graph TD
    A["Clients (Claude Code, Codex, Gemini, stdio Hosts)"] -->|MCP stdio / JSON-RPC| B["ellmos ControlCenter MCP Server"]
    
    subgraph Core ["Control Plane Modules"]
        B --> C["Catalog Scanner (catalog.ts)"]
        B --> D["Profile Resolver (profiles.ts)"]
        B --> E["Bundle Manager (bundles.ts)"]
        B --> F["Tool Prober (toolCatalog.ts)"]
        B --> G["Policy Auditor (policy.ts)"]
        B --> H["Context Packer (contextPack.ts)"]
        B --> I["i18n Engine (src/i18n)"]
    end
    
    subgraph Storage ["Local System & Environment"]
        C -->|Scans| S1["Local Repos (C:\_Local_DEV\repos)"]
        D -->|Reads / Resolves| S2["Claude Profiles (~/.claude/profiles)"]
        E -->|Loads & Maps| S3["Capability Bundles (data/capability-bundles.json)"]
        F -->|stdio Probes| S4["Local & Profile MCP Servers"]
        G -->|Audits| S5["Policy Rules & Security Risks"]
    end
    
    subgraph UI ["Management Interface"]
        B <-->|"HTTP / WebSocket (127.0.0.1:3737)"| J["Local Dashboard (dashboard.ts)"]
    end

Visual Architecture Topology (ASCII Four-View Projection)

====================================================================================================
               ELLMOS CONTROLCENTER MCP — FOUR-VIEW ARCHITECTURAL TOPOLOGY
====================================================================================================

[VIEW 1: CLIENT RUNTIMES, LOCAL DASHBOARD & MCP HOST INTERFACES]
+--------------------------------------------------------------------------------------------------+
| MCP Hosts & Agents: Claude Code | Codex CLI | Antigravity (Gemini) | Custom Stdio Transports     |
|   |                              |                         |                       |             |
|   +------------------------------+-------------------------+-----------------------+             |
|                                  | JSON-RPC 2.0 stdio (34 Tools)                                 |
|                                  v                                                               |
|   +------------------------------------------------------------------------------------------+   |
|   | ellmos-controlcenter-mcp (Node.js >= 20.0.0 / TypeScript / ESM / RunAsInvoker)           |   |
|   +------------------------------------------------------------------------------------------+   |
|                                  ^                                                               |
|                                  | HTTP / WebSocket (127.0.0.1:3737 - Loopback Only)            |
|   +------------------------------+-----------------------------------------------------------+   |
|   | Local Web Dashboard: Server Catalog | Profile Switcher | Real-Time Tool Inspector        |   |
+--------------------------------------------------------------------------------------------------+

[VIEW 2: CONTROLCENTER SOVEREIGN CORE ENGINE & RESOLUTION SUBSYSTEMS]
+--------------------------------------------------------------------------------------------------+
| +-------------------------+ +-------------------------+ +--------------------------------------+ |
| | Catalog & Tool Scanner  | | Profile Resolver Engine | | Dynamic Capability Bundles           | |
| | - catalog.ts / mcps     | | - profiles.ts           | | - bundles.ts                         | |
| | - toolCatalog.ts        | | - Inheritance Chains    | | - data/capability-bundles.json       | |
| | - Concurrency: 1-32     | | - Config Generation     | | - 11 Core Functional Bundles         | |
| +-------------------------+ +-------------------------+ +--------------------------------------+ |
|              |                           |                                 |                     |
|              v                           v                                 v                     |
| +----------------------------------------------------------------------------------------------+ |
| | Context Packer & Dynamic Orchestrator (contextPack.ts / semanticRouting.ts)                  | |
| | - Manifest-Only Handoffs | Semantic Expert Routing | Multi-Language i18n (src/i18n)          | |
| +----------------------------------------------------------------------------------------------+ |
+--------------------------------------------------------------------------------------------------+

[VIEW 3: POLICY-GATED GATEWAY, EPHEMERAL DISPATCH & HARDENED SECRET SCRUBBER]
+--------------------------------------------------------------------------------------------------+
| controlcenter_invoke / controlcenter_list_available_tools (On-Demand Backend Execution)         |
|                                  |                                                               |
|                                  v                                                               |
| +----------------------------------------------------------------------------------------------+ |
| | Gateway Policy Guard (data/gateway-policy.json) [INV-GATE-02]                                | |
| | - Fail-Closed Evaluation | Allowed Patterns | Server/Tool Whitelisting                       | |
| +----------------------------------------------------------------------------------------------+ |
|        | (Allowed)                                                  | (Denied / Invalid)         |
|        v                                                            v                            |
| +---------------------------------------+                 +------------------------------------+ |
| | Ephemeral Connect-Per-Call Lifecycle  |                 | Structured Refusal Dispatcher      | |
| | - Stdio Subprocess (Terminates post)  |                 | - Omit argument values in audit    | |
| | - Remote HTTPS (Explicit, No-Redirect)|                 | - Fail-closed error contract       | |
| +---------------------------------------+                 +------------------------------------+ |
|        |                                                            |                            |
|        v                                                            v                            |
| +----------------------------------------------------------------------------------------------+ |
| | Hardening, Budgets & Sanitization Pipeline [INV-SCRUB-04]                                    | |
| | - 256 KiB Request / 1 MiB Response Budgets | Recursive Key Redaction & Credential Scrubbing   | |
| | - Untrusted Data Marking | Append-Only Audit Trail (gateway-audit.jsonl)                     | |
| +----------------------------------------------------------------------------------------------+ |
+--------------------------------------------------------------------------------------------------+

[VIEW 4: GOVERNANCE MIRROR, MULTI-AGENT LOCK BOUNDARIES & SYSTEM PERIMETER]
+--------------------------------------------------------------------------------------------------+
| Host Registers & Local Safety Governance (Read-Only Mirroring / Zero-Mutation Guarantee)         |
|                                                                                                  |
|   [INV-LOCK-06] Canonical Multi-Agent Locks        [INV-PERM-07] Hierarchical Permissions        |
|   - controlcenter_list_locks                       - controlcenter_evaluate_permission          |
|   - controlcenter_check_lock (LOCK*.txt / until)   - Recursive LOCK.permissions.json Evaluation |
|                                                                                                  |
|   [INV-GOV-08] Host Governance Federation          [INV-LOCAL-01] Local-First Storage            |
|   - Decisions: controlcenter_list_decisions        - Inventory Mirror: inventory.db (Read-Only)  |
|   - Policies & Plans: controlcenter_list_governance- Resources: controlcenter_list_resources    |
|                                                                                                  |
|   [INV-PRIV-05] Non-Elevation: Unprivileged User Space | [INV-SLA-10] 48h Security Response SLA   |
+--------------------------------------------------------------------------------------------------+
====================================================================================================

Control Plane & Gateway Lifecycle

sequenceDiagram
    autonumber
    actor Agent as MCP Client (Claude / Codex / Gemini)
    participant CC as ControlCenter MCP Server
    participant Res as Profile & Capability Resolver
    participant Gate as Gateway Policy Guard
    participant Backend as Backend MCP Server (Unloaded)
    participant Scrub as Hardening & Secret Scrubber
    participant Audit as Audit Logger (JSONL)

    Note over Agent,CC: 1. Administration & Profile Discovery
    Agent->>CC: controlcenter_suggest_profile / resolve_profile
    CC->>Res: Inspect ~/.claude/profiles & extends chains
    Res-->>CC: Resolved MCP Configuration & Bundles
    CC-->>Agent: Suggested Profile & --mcp-config flags

    Note over Agent,CC: 2. Policy-Gated Gateway Execution
    Agent->>CC: controlcenter_invoke(server, tool, args)
    CC->>Gate: Evaluate data/gateway-policy.json
    alt Policy Denied or Missing
        Gate-->>CC: Policy Refusal (Fail-Closed)
        CC->>Audit: Log refusal (names only, 0 values)
        CC-->>Agent: Error: Tool / Server denied by policy
    else Policy Allowed
        Gate-->>CC: Dispatch Approved
        CC->>Backend: Connect-per-call (stdio / Streamable HTTP)
        Backend-->>CC: Raw Tool Output / Response
        CC->>Backend: Terminate process / Close transport
        CC->>Scrub: Recursive Secret Redaction & Finite Budgets
        Scrub-->>CC: Sanitized Payload & Truncation Status
        CC->>Audit: Append structured audit event (gateway-audit.jsonl)
        CC-->>Agent: Safe Tool Result wrapped with Data Banners
    end

Governance & Runtime Invariants

ControlCenter enforces 10 architectural and runtime invariants to guarantee local-first administration, explicit outbound boundaries, fail-closed policy loading, and multi-agent coordination resilience across environments:

IDInvariantDescriptionEnforcement Mechanism
INV-LOCAL-01Local-First & Explicit EgressDiscovery, profile resolution, catalog indexing, and the dashboard execute locally with no telemetry or background egress. Explicit gateway calls may reach remote HTTPS backends.Dashboard binds to loopback (127.0.0.1:3737); remote HTTP is refused, redirects are refused, and an optional host allowlist narrows HTTPS targets.
INV-GATE-02Fail-Closed Gateway Policy GuardRemote/unloaded tool invocations via controlcenter_invoke strictly require pattern authorization in data/gateway-policy.json.Missing, unreadable, or invalid policy files immediately refuse execution (fail closed).
INV-SUB-03Ephemeral Child Process BoundariesBackend stdio processes for probed and invoked MCP servers are spawned on-demand per call and terminated immediately in a finally block.connect-per-call architecture prevents lingering background zombie processes.
INV-SCRUB-04Bounded Result Redaction & Finite BudgetsResults are traversed recursively: narrow credential patterns are redacted everywhere, while key-based wiping applies only to structured metadata so requested content is not silently rewritten. Requests are size-bounded and argument values are omitted from the audit log.Recursive narrow-pattern redaction, structured-metadata key scrubbing, maximum depth and content-block caps, 256 KB request and 1 MB response defaults.
INV-PRIV-05Non-Elevation / RunAsInvokerServer operates strictly in unprivileged user space. Never prompts for root/admin elevation.Operates without root or UAC elevation across Windows, macOS, and Linux.
INV-LOCK-06Canonical Multi-Agent Lock AwarenessRespects system-wide LOCK*.txt, LOCK.user.*, and LOCK.until.* tokens fail-closed.Inspects lock trees via host Python lock utilities; unconfigured returns unknown.
INV-PERM-07Nearest Permission Register IntrospectionEvaluates nearest LOCK.permissions.json up directory trees (deny > ask > allow > default).Hierarchical resolution without granting synthetic permissions or modifying state.
INV-GOV-08Read-Only Host Governance FederationMirrors pending decisions, policies, strategic plans, and BYUM metadata read-only.Strict scalar projection; never adopts, executes, mutates, or silences items.
INV-SYNC-09Cloud-Sync Conflict HardeningProtects repository against multi-host conflict copies and stray lock files.Comprehensive .gitignore covering *.sync-conflict-*, *-CONFLIT-*, and LOCK.*.
INV-SLA-1048-Hour Response & 5-Day Triage SLAVulnerability reports receive prompt maintainer response and triage commitments.Documented in SECURITY.md with direct maintainer and umbrella security contacts.

Status

  • Phase: Alpha
  • Version: 0.7.4
  • Repository: ellmos-ai/ellmos-controlcenter-mcp
  • npm: ellmos-controlcenter-mcp
  • CI checks: npm run test and npm run build
  • Goal: Make local MCP stacks visible, inspectable, and reproducibly configurable
  • Focus: Catalogs, profile overview, profile recommendation, bundle recommendation, profile-aware tool-list probes, tool-bundle assignments, i18n, early audits, and read-only host governance metadata

Tools

ToolPurpose
controlcenter_statusShow stack, profile, and detected-server status
controlcenter_actual_self_receiptRun a native self list_tools probe and emit a short-lived signed runtime receipt when explicitly configured
controlcenter_get_languageShow the current ControlCenter output language
controlcenter_set_languageSet the ControlCenter output language for this running server instance
controlcenter_list_local_serversScan local MCP repositories below the MCP root and enrich them with kind and state ownership from mcps.catalog.v1.json
controlcenter_describe_mcpDescribe one MCP server from mcps.catalog.v1.json: kind, namespace, state ownership, wrapping, and composition
controlcenter_list_stacksRead registered stacks from stacks.catalog.json and validate their ellmos.stack.v2 manifests
controlcenter_describe_stackDescribe typed components, roles, policies, and validation warnings for one registered stack
controlcenter_context_packBuild a bounded, manifest-only handoff for a registered stack at short, execution, or full detail
controlcenter_list_toolsStart local or profile-defined MCP servers and read their real list_tools output
controlcenter_find_capabilityRank typed native-binding claims from a hash-consistent System Explorer resolution without selecting or executing one
controlcenter_tool_overviewShow resolution-bound component claims while keeping declared and runtime-state axes separate
controlcenter_assign_tool_bundlesAssign probed MCP tools to capability bundles
controlcenter_list_bundlesGroup local servers by capability bundle
controlcenter_suggest_bundlesRecommend bundles for a task
controlcenter_list_profilesList MCP profiles from the profile root (defaults to ~/.claude/profiles; override with ELLMOS_PROFILE_ROOT)
controlcenter_suggest_profileRecommend a profile for a task
controlcenter_resolve_profileResolve a profile including extends chains
controlcenter_switch_profilePrepare a generated --mcp-config file and configurable launch command
controlcenter_audit_profileRun initial policy checks against a profile
controlcenter_build_catalogBuild a JSON catalog of local MCP servers, optionally including tool probes
controlcenter_list_skillsInventory deployed skills (~/.claude/skills by default; Claude Code convention, override with ELLMOS_SKILLS_ROOT) and the source skills library
controlcenter_find_skillMatch keywords for a task or intent against the scanned skill catalogue and return ranked candidates — see Querying skill search
controlcenter_resolve_semantic_routeValidate an LLM/user-selected role, expert and persona against a provider-neutral map and verify endpoints against the live skill inventory
controlcenter_list_pluginsInventory installed plugins (~/.claude/plugins by default; Claude Code convention, override with ELLMOS_PLUGINS_ROOT) and local ellmos modules
controlcenter_list_locksList active LOCK*.txt project locks across the configured roots — see Host registers
controlcenter_check_lockCheck whether one path is locked, including locks inherited from parent directories
controlcenter_evaluate_permissionReport what the nearest LOCK.permissions register allows an agent to do at a path
controlcenter_list_decisionsList pending user decisions by identifier, date, title and status
controlcenter_list_governanceFederate allowlisted decision, policy, strategic-plan and BYUM metadata read-only; report each source separately and never adopt or execute a candidate
controlcenter_list_resourcesList rows from the host's resource inventory (systems and/or installed software) — read-only mirror; the register's authority sits with the ControlRoom programme, not here
controlcenter_describe_resourceFull row detail for one resource by its inventory id, from the same read-only mirror
controlcenter_list_available_toolsList the tools of MCP servers this host has not loaded, without loading them — see Gateway
controlcenter_invokeRun one tool on a server this host has not loaded and return its result, policy-gated and audited

Gateway: reaching servers the host has not loaded

A session that loads eleven MCP servers pays for all of their tools at once. The gateway lets the loaded profile stay small — for example FileCommander, ControlCenter, open-compute — while the remaining servers stay reachable on demand.

// what is out there, without loading it
{ "name": "controlcenter_list_available_tools", "arguments": { "profile": "full" } }

// run one of those tools; no prior listing required when the name is known
{ "name": "controlcenter_invoke", "arguments": {
    "server": "ellmos-clatcher-mcp", "tool": "fix_umlauts",
    "args": { "path": "C:/tmp/notes.md" } } }

Scope. Only servers declared by the configured MCP root (ELLMOS_MCP_ROOT) or by the profile named in profile can be addressed. That set is the gateway's primary boundary — there is no way to point it at an arbitrary command.

Lifecycle. The connection is opened for the call and closed afterwards. On Windows, configure ELLMOS_PROCESS_SUPERVISOR with the local Job-Object supervisor to bind descendants as well as the direct stdio child. The cost is roughly 200–500 ms per call on a cold stdio server; the result is bounded cleanup instead of an unverified direct-child-only kill.

Failure modes are kept apart. Four different things can go wrong, and they mean different things:

OutcomeMeaning
unknown-serverThe name is not in the addressable set. The known names are returned.
unreachableThe server exists but could not be asked. Not "returned nothing".
unknown-toolThe server has no such tool. Its available tool names are returned, so a wrong guess self-corrects in one step.
target-errorThe call arrived and the target reported a tool error. This is a backend result, not a ControlCenter failure.

A listing over several servers states at the top when some of them could not be asked, so a partial result is never mistaken for a complete one.

Policy. data/gateway-policy.json (override with ELLMOS_GATEWAY_POLICY):

{
  "schema": "ellmos.controlcenter.gateway-policy.v1",
  "mode": "open",
  "deny": [{ "server": "*", "tool": "*_delete_*", "reason": "Deletion stays manual." }],
  "allow": []
}

mode: "open" allows every tool of an addressable server; mode: "allowlist" requires a matching allow rule. deny always wins, and * is a wildcard in both fields. A malformed or schema-foreign policy file refuses every invocation rather than falling back to allow-all.

Audit. Every invocation, including refused ones, is appended as one JSON line to ~/.ellmos/controlcenter/gateway-audit.jsonl (ELLMOS_GATEWAY_AUDIT_LOG; set it to off to disable). The entry holds argument names and count — never argument values — plus the masked connection command or URL, outcome, duration and content-block count, never result content. The tool output reports whether the write succeeded, so a failed audit is visible; set ELLMOS_GATEWAY_AUDIT_REQUIRED=1 to turn a failed write into a refused call.

Hardening. Forwarded payloads are foreign data, so the invoke path is bounded on every axis:

ControlBehaviour
Recursive redactionNarrow credential shapes (sk-, ghp_, AKIA, JWT, …) are replaced everywhere, at every nesting level. Secret-named keys (auth, token, apiKey, …) are wiped whole only in structuredContent — never in content blocks, which carry the payload the caller asked to read. The result reports how many values changed. Disable with redactResults: false — a deliberate weakening.
Request budgetOversized arguments are refused, never shortened; a truncated argument set would silently change the request. ELLMOS_GATEWAY_MAX_REQUEST_BYTES, default 256 KiB.
Response budgetOversized answers are truncated and flagged, so the part that arrived stays usable. ELLMOS_GATEWAY_MAX_RESPONSE_BYTES, default 1 MiB.
Nesting and blocksELLMOS_GATEWAY_MAX_DEPTH (32) and ELLMOS_GATEWAY_MAX_CONTENT_BLOCKS (200). Cycle-safe, so a self-referential payload cuts off instead of looping.
ConcurrencyELLMOS_GATEWAY_MAX_CONCURRENT (4). Without it a parallel batch would spawn one backend process each. A call that gets no slot is refused, not queued forever.
TransportHTTPS only; plain HTTP allowed on loopback alone. Redirects refused. Narrow further with allowedRemoteHosts (supports *. subdomains).
Untrusted markingForwarded content is fenced with a banner marking it as data, not instructions — the gateway pipes third-party output into an agent's context.

Not included. Connection pooling, streaming and progress pass-through, sampling, elicitation, backend resources and prompts, and risk-class policies derived from tool annotations. Opaque session-bound capabilities have no counterpart yet, because no session is held and no capability handle is issued. Only the MCP adapter exists; module, stack and folder adapters remain open.

Catalog discovery

ControlCenter reads three hand-curated catalogs instead of hard-coding individual paths. Each root is configurable, and each catalog is optional.

CatalogSchemaRoot (env override)Used by
modules.catalog.jsonellmos.modules-catalog.v1.AI/.MODULES (ELLMOS_MODULES_ROOT)controlcenter_list_plugins
stacks.catalog.jsonellmos.stacks.catalog.v1.AI/.STACKS (ELLMOS_STACKS_ROOT)controlcenter_list_stacks, controlcenter_describe_stack, controlcenter_context_pack
mcps.catalog.v1.jsonellmos.mcps.v1.AI/.MCP (ELLMOS_MCP_CATALOG)controlcenter_list_local_servers, controlcenter_describe_mcp, controlcenter_status

The MCP catalog contributes what a directory scan cannot see: mcp_kind (tool, adapter, stack, control-plane), whether a server keeps persistent state, which component owns that state per namespace, and optional declared capability tags. A tag block is versioned as capability_tags: {"schema":"ellmos.capability-tags.v1","tags":["catalog","read-only"]}; tags are normalized to lower case, sorted, and treated as metadata only. Duplicate, mistyped, or malformed tags make the catalog explicitly invalid instead of silently dropping data. The directory scan stays the source for what is actually installed, so both directions are reported: a scanned server without a catalog entry keeps empty catalog fields, and a catalog entry without a directory is listed separately rather than dropped. Entries are joined on the catalog id first and on the npm package name second, because a server may publish under a different name than its directory.

A missing, unreadable, foreign-schema, or structurally invalid catalog never fails a tool call. The enriched fields degrade to empty and the output names the reason, so an absent catalog is distinguishable from a server that genuinely holds no state. An unreadable MCP root is likewise reported as unreadable instead of as an empty result.

Host registers: locks, permissions, decisions, governance, resources

The seven tools above answer a different question from the rest of this server: not "what can I configure?" but "what applies on this machine right now?" They read six host-local registers — project locks, an agent-neutral permission register, a pending decision list, a policy registry, the strategic-plan index, and a resource inventory of systems and installed software.

controlcenter_list_governance composes the generated decision index, the existing ellmos.plans-register/1 strategic-plan index, and an explicitly configured ellmos.policy-registry.v1 file. The policy registry is validated only through the canonical PolicyRegistry.load() API. Every source reports available, unconfigured, unreadable, or invalid; partial data never claims completeness, and a valid registry with zero BYUM candidates reports an honest zero. Plan paths, notes and host variants remain in _PLANS; BYUM rows remain pending advisory pointers without adoption or execution authority.

controlcenter_list_resources and controlcenter_describe_resource are a read-only mirror of .SYNC/_inventory/inventory.db. Register authority sits with the ControlRoom programme's own resources.inventory resolver role, not with this server — this mirror can go stale between syncs and never claims otherwise.

They are read-only. No lock is created, renewed or released; no decision is answered. LOCK.user.* locks in particular are removed by the user alone, and nothing here can touch them.

They fail closed. If a register is unconfigured, a path is unreadable, the interpreter is missing or a check errors, the verdict is unknown and safe to proceed is no — never a reassuring "clear". A lock checker that guesses in the reassuring direction is more dangerous than none at all.

Inheritance is respected. A LOCK.txt in a parent directory locks everything beneath it, so controlcenter_check_lock walks the whole ancestor chain and reports the effective lock with its distance, not just a file sitting in the same folder.

Lock semantics are not reimplemented here. A small bridge script delegates every rule — expiry, protected lock types, scope parsing, permission precedence deny > ask > allow > default — to the host's canonical Python modules. A second implementation would drift from the spec on the next change to it. This is the one place where the server calls Python; if no interpreter is available the tools fail closed like any other unmet precondition.

Configuration

These tools are inert until configured, because these registers do not exist on a machine that has not set them up:

Documentation truncated — see the full README on GitHub.

Reviews

No reviews yet

Be the first to review this server!