Skip to main content
Version: 1.14.0

Understand MCPWorks runtime and protocol behavior

An MCPWorks Runtime cell loads one verified server assignment and exposes its MCP tools through a controlled request chain. It does not own publication or promotion decisions and does not need the Control Plane database credential.

What happens during a tool call?​

The runtime applies a fixed sequence:

  1. Authenticate the caller and bind the MCP session.
  2. Authorize the server and tool for that caller.
  3. Apply admission limits and runtime policy.
  4. Hold the call for human approval when required.
  5. Resolve narrowly scoped credentials just in time.
  6. Apply the allowed timeout, retry, circuit-breaker, and concurrency behavior.
  7. Invoke the declared route, protect the output, and return the result.
  8. Record redacted audit, usage, trace, and receipt evidence.

A denial never falls through to invocation. Retries are allowed only when the tool is read-only or explicitly idempotent. An uncertain write is reported rather than repeated as if it were safe.

Which MCP features are supported?​

The 1.14 Runtime negotiates the released MCP revisions documented in the compatibility matrix, including tools, resources, prompts, completions, progress, cancellation, and sampling. Catalog-change notifications tell clients when a verified assignment changes what the server offers.

Resources, prompts, and sampling pass through the same identity, policy, credential, and audit boundaries as tools. A sampling request is not a path around the configured model gateway.

Clients must preserve Mcp-Session-Id and reinitialize after a valid 404 for an expired or unknown session. Session limits apply per cell and per authenticated subject. During a rollout, session relay and affinity reduce disruption, but clients must still implement protocol-compliant reinitialization.

How are credentials supplied?​

Bundles contain credential references, never secret values. A Runtime can resolve a reference from an environment variable, mounted file, Vault, or an RFC 8693 token-exchange profile. Material is scoped to the tool action, used for one call, and cleared after use; it is not cached into the assignment or audit record.

For delegated calls, the inbound user token remains opaque and is exchanged for the upstream audience. An API key is not treated as an end-user subject token.

JDBC business backends in 1.14 use dvara.mcp.backends.jdbc.*. Do not use spring.datasource.* for a Runtime tool backend; those generic names can collide with a hosting application's or Control Plane's database.

How does a Runtime behave during a Control Plane outage?​

A running cell keeps its last verified assignment while the Control Plane is temporarily unavailable. An optional Runtime-owned last-known-good cache also permits a cold start when all of these conditions hold:

  • the assignment was authenticated and atomically written;
  • the separate assignment-cache key file is available;
  • the record is no older than assignment-cache-max-age (24 hours by default); and
  • Flightdeck has not confirmed withdrawal of that assignment.

Every start re-verifies the signed assignment. A confirmed withdrawal deletes the current pointer and cached assignment. The cache retains only the newest undelivered status; it is an availability aid, not an alternate control plane.

What should you monitor?​

Monitor assignment age, readiness, catalog digest, active sessions, admission refusals, approval waits, dependency timeouts, circuit state, output-guard refusals, audit delivery, receipt delivery, and status-report lag. A healthy JVM does not prove that a cell has a current verified assignment.

Next steps​