System Management Extension (com.aiperceivable/management)¶
Feature spec for code-forge implementation planning. Phase A: #110. Phases B and C: #113. Depends on:
system.* module projection(aiperceivable/apcore-mcp#15). Status: Phase A — unofficial extension. Not submitted tomodelcontextprotocol/modelcontextprotocol. Created: 2026-09-01
The key words MUST, MUST NOT, SHOULD, SHOULD NOT, and MAY in this document are to be interpreted as described in RFC 2119.
Purpose¶
Publish the system.* management surface (health, usage, manifest, control) as a discoverable,
versioned MCP extension. Clients that recognize the identifier can learn the server's management
conventions from the capability settings.
This is SEP-2133 Phase A: an unofficial extension, which SEP-2133 states "may be introduced and governed by developers outside the MCP organization." Phase A is implemented in Python, TypeScript, and Rust. The reference implementation for #113 validates the same contract across two MCP protocol revisions.
Identifier¶
com.aiperceivable/management
Format is {vendor-prefix}/{extension-name} per SEP-2133, where the vendor prefix is a reversed
domain the author controls. aiperceivable.com is the project domain, and every project in the
ecosystem documents under <project>.aiperceivable.com. The Phase A identifier MUST remain stable. A breaking revision to this Phase A contract uses a
new identifier.
Design constraint — the extension is metadata, not a gate¶
An adapter MUST NOT let declaring or omitting this extension change what a client can reach.
- A client that does not declare
com.aiperceivable/managementin its own capabilities MUST NOT lose access to anything: everysystem.*resource and tool MUST remain reachable through ordinaryresources/list/resources/read/tools/list/tools/call, subject only to Activation (§6.6.3 layer 1), ACL (layer 2) and Approval (layer 3) as defined by PROTOCOL_SPEC §6.6.3. - An adapter MUST NOT introduce a permission switch keyed off whether the caller declared this extension. PROTOCOL_SPEC §6.6.3 prohibits adapters from inventing permission mechanisms beyond Activation / ACL / Approval; a capability-gated access difference would be exactly that — a shadow permission system that can diverge from the ACL's own decision.
- Declaring the extension only tells the client that the shapes below are known and stable. It is pure discovery.
Negotiation¶
The Phase A adapters advertise the extension in the legacy initialize response. The reference
implementation also advertises it in server/discover on MCP 2026-07-28. Both responses use the
same capabilities.extensions entry.
{
"capabilities": {
"extensions": {
"com.aiperceivable/management": {
"surfaces": ["health", "usage", "manifest", "control"],
"protocolVersion": "1.30.0"
}
}
}
}
surfaces¶
An ordered array of registered groups drawn from ["health", "usage", "manifest", "control"].
Per-invocation access depends on Core governance.
| Element | Present iff |
|---|---|
"health" |
system.health.summary or system.health.module is registered (sys_modules.enabled = true) |
"usage" |
system.usage.summary or system.usage.module is registered |
"manifest" |
system.manifest.full, system.manifest.module, or system.manifest.search is registered |
"control" |
a system.control.* module is registered (requires management, events, and control to be enabled) |
An adapter MUST NOT advertise the extension at all — the whole "com.aiperceivable/management" key
MUST be absent from capabilities.extensions — when surfaces would be empty (i.e.
sys_modules.enabled = false, the default). An empty surfaces array is never sent; the key is
either present with ≥1 element or not present.
This mirrors GovernanceState (Executor.governanceState()
/ governance_state()), specifically controlModulesRegistered for "control" and a per-prefix scan
of the registry for "health" / "usage" / "manifest" (GovernanceState.readModulesRegistered is
their disjunction and is not fine-grained enough on its own to populate surfaces).
protocolVersion¶
The PROTOCOL_SPEC version this
adapter's system.* projection targets. Phase A and the reference use the shared fixture value
1.30.0. A client MAY use it to interpret the resource URI and tool annotation conventions.
This setting is independent of the MCP connection revision and the installed Core package version.
Resource and tool conventions for the ten canonical modules¶
This section restates, for the extension's own reference-implementation contract, the classification
system.* module projection
already establishes normatively. A client that recognizes this extension can rely on the following
shapes without probing:
| Module | MCP primitive | URI / name |
|---|---|---|
system.health.summary |
resource | apcore://system.health.summary |
system.health.module |
resource template | apcore://system.health.module/{module_id} |
system.usage.summary |
resource | apcore://system.usage.summary |
system.usage.module |
resource template | apcore://system.usage.module/{module_id}{?period} |
system.manifest.full |
resource | apcore://system.manifest.full |
system.manifest.module |
resource template | apcore://system.manifest.module/{module_id} |
system.manifest.search |
read-only tool | system.manifest.search |
system.control.update_config |
tool | system.control.update_config |
system.control.reload_module |
tool | system.control.reload_module |
system.control.toggle_feature |
tool | system.control.toggle_feature |
resources/read accepts an optional ?period=… for both usage endpoints. Only the usage module
template advertises {?period}.
A resources/read on any apcore://system.* URI MUST be dispatched through the same execution
path (Activation → ACL → Approval → Executor pipeline) as a tools/call on the corresponding
module — an adapter MUST NOT add a second, resource-only invocation path that bypasses ACL or
audit logging. Concretely, an adapter routes the parsed URI's module ID and arguments through its own
tool-call dispatcher (e.g. ExecutionRouter.handleCall / handle_call), not through a raw
registry/module invocation.
Interaction with ACL and Approval¶
Nothing here changes ACL or Approval semantics. The three read-only groups (health, usage,
manifest) are read-only, no-side-effect modules per PROTOCOL_SPEC §6.6.2 and are still subject to
ACL evaluation on every resources/read and on tools/call for system.manifest.search. The
control group keeps its _meta.requiresApproval annotation and passes through the
Approval gate identically whether it is discovered via tools/list or invoked directly by a client
that already knows its name from this extension's contract.
Declaring this extension does not imply an ACL rule exists that permits reaching any of these
modules — see acl-builder rule-template guidance
(aiperceivable/apcore-mcp#14) for the ACL configuration that actually gates this surface.
Degradation behavior¶
Clients that omit or ignore the extension use ordinary MCP discovery (resources/list,
resources/templates/list, and tools/list) to find the same modules. The same Core activation,
ACL, and approval decisions apply in both cases.
Security considerations¶
- This extension's presence or absence carries no authorization meaning, per the Design Constraint above. Treating it as one is a spec violation of this document, not a supported configuration.
- Advertising
"control"insurfacesis a statement thatsystem.control.*modules are registered, not that they are protected. Whether an unauthenticated or unauthorized caller can actually invoke one is entirely a function of the ACL/Approval layers. See the adapter-level startup warning for an unprotected control surface (aiperceivable/apcore-mcp#15(b),GovernanceState.unprotectedControlSurface) — that warning is orthogonal to this extension and fires regardless of whether any client ever negotiates it. protocolVersionis informational only; an adapter MUST NOT change its actual ACL/Approval enforcement based on a client's declared understanding (or lack thereof) of this extension.
Acceptance (Phase A)¶
- [ ] All three adapters (Python, TypeScript, Rust) advertise
com.aiperceivable/managementininitializewhen and only whensurfaceswould be non-empty. - [ ] A client that does not declare the extension still reaches every management resource and tool (regression test — proves the extension is not acting as a gate).
- [ ]
surfacesaccurately reflects only the four groups actually registered on the running instance.
Reference implementation for #113¶
The example under mcp/examples/management-reference uses the official MCP Python SDK's discovery
and legacy handshake handlers. It exposes the management projection over stdio and uses the existing
Core Executor with a host-selected demo identity.
- With
--advertise-managementand registered groups, both protocol eras advertise the same extension settings. The example defaults to ordinary discovery and omits the entry when no management groups are registered. SDK 2.3.0's legacy serializer omitscapabilities.extensions. The reference uses SDK middleware to preserve the Phase A entry afterinitializeserialization. - Acceptance covers the shared projection fixture, a permitted and denied resource read, a denied control call, and an ACL-permitted control call with missing, rejecting, and approving Core handlers. An approved toggle changes subsequent module activation in the demo process.
The Surfaces example supplies local evidence for Phase B. Under SEP-2133 and SEP-3392, Phase C still needs a reference in an official SDK codebase, a Working Group, named Extension Maintainers, and SEP review.