This is a conceptual architecture. It shows boundaries between public products and the private operating system; it does not mean every product is embedded in CORE today.
- AI Agent Layer - ChatGPT, Claude, Codex, OpenCode, Hermes and other agents
- MCP Interface Layer - MCP protocol over stdio / Streamable HTTP
- JOONS CORE MCP - private MCP server (tool registry, transports, target selection)
- Independent Reliability Libraries - Agent Guard, Allocator (usable without CORE)
- MCP Development & Diagnostic Tools - MCP Toolkit, MCP Probe, MCP Diff, MCP Policy Gate, MCP Mock Server, MCP Contract Test Runner
- External Tools and Data Sources - computers, phones, files, knowledge bases, web, Git, external MCP servers
flowchart TD
A["AI Agent Layer"]
B["MCP Interface Layer"]
C["JOONS CORE MCP"]
D["Independent Reliability Libraries"]
E["MCP Development and Diagnostic Tools"]
Diff["JOONS MCP Diff Preview"]
PolicyGate["JOONS MCP Policy Gate Preview"]
MockServer["JOONS MCP Mock Server Preview"]
ContractRunner["JOONS MCP Contract Test Runner Preview"]
F["External Tools and Data Sources"]
A --> B --> C --> F
D ~~~ E
C ~~~ D
E ~~~ F
E --- Diff
E --- PolicyGate
E --- MockServer
E --- ContractRunner
classDef interface fill:#4F46E5,stroke:#4F46E5,color:#fff
classDef private fill:#d3d3d3,stroke:#4F46E5,color:#000
classDef preview fill:#ffa500,stroke:#4F46E5,color:#000
classDef mixed fill:#add8e6,stroke:#4F46E5,color:#000
class A,B,F interface
class C private
class D preview
class E mixed
class Diff,PolicyGate,MockServer,ContractRunner preview
flowchart LR
subgraph Public["Public products"]
Guard["JOONS Agent Guard"]
Allocator["JOONS Allocator"]
Toolkit["JOONS MCP Toolkit"]
Probe["JOONS MCP Probe Preview"]
Diff["JOONS MCP Diff Preview"]
PolicyGate["JOONS MCP Policy Gate Preview"]
MockServer["JOONS MCP Mock Server Preview"]
ContractRunner["JOONS MCP Contract Test Runner Preview"]
Allocator -. "optional hooks" .-> Guard
end
subgraph Private["Private operating system"]
CORE["JOONS CORE MCP server"]
end
classDef public fill:#90ee90,stroke:#4F46E5,color:#000
classDef preview fill:#ffa500,stroke:#4F46E5,color:#000
classDef planned fill:#add8e6,stroke:#4F46E5,color:#000
classDef private fill:#d3d3d3,stroke:#4F46E5,color:#000
class Toolkit public
class Guard,Allocator preview
class Probe,Diff,PolicyGate,MockServer,ContractRunner preview
class CORE private
Agents are clients of the MCP interface. Examples include ChatGPT, Claude, Codex, OpenCode, Hermes and other agents. Their presence in the conceptual model does not imply a particular deployment or integration for each agent.
MCP supplies the protocol boundary over stdio or Streamable HTTP. JOONS CORE is an MCP server; Probe is designed to inspect MCP servers over these transports. Protocol inspection and tool execution are distinct activities.
CORE is the private, operating server. It provides the protocol endpoint, tool registry, transports, and target selection across several machines. It connects agents to computers and phones, files, knowledge, web and Git, and can connect external MCP servers. Its source is not published.
Agent Guard supplies durable exclusive locks, a circuit breaker, and replay protection. Allocator supplies task submission, leasing, worker registration, named resources and audit. They are usable without CORE. Their optional hook integration is independent of CORE and is the only implemented library-to-library integration.
MCP Toolkit is an early public educational reference. It offers implementation patterns, not the production CORE server. MCP Probe is Public, v0.1.0 Preview and inspects protocol behaviour and tool contracts without calling tools. It does not duplicate CORE host monitoring or tool-list browsing.
MCP Diff is a public v0.1.0 Preview that compares versioned read-only tool snapshots across two points in time. It reports BREAKING, NON_BREAKING and UNKNOWN changes; unprovable compatibility is UNKNOWN and rename hints are suggestions. Probe inspects a server's current protocol behaviour and tool contract; Diff is independent of Probe and complements it for CI contract drift detection.
JOONS MCP Policy Gate is a public v0.1.0 Preview for static policy checks of one schemaVersion 1 Diff-format snapshot against a versioned JSON policy. Probe inspects one server's current behaviour; Diff compares two points in time; Policy Gate checks a snapshot against written rules. Policy Gate is installed and run independently and needs neither Probe nor Diff at runtime; Diff is an easy way to make a snapshot. It does not block tool calls at runtime or determine real risk: risk classes are user labels.
JOONS MCP Mock Server is a public v0.1.0 Preview that serves a MOCK MCP server over stdio from one Diff-format schemaVersion 1 snapshot and optional JSON fixtures. Fixture responses support defaults, argument matches and named scenarios. It performs no real actions: no network, file changes except an optional report, child processes, forwarding, or execution of snapshot or fixture content. Probe diagnoses a real server; Diff compares two snapshots; Policy Gate checks one snapshot against a policy; Mock Server runs a mock server from one snapshot. Mock Server is installed and run independently, needs none of the others at runtime, and Diff is an easy way to make a snapshot. CORE does not import or ship it.
JOONS MCP Contract Test Runner is a public v0.1.0 Preview that runs strictly validated JSON behavioral contract test suites against a JOONS MCP Mock Server it starts itself, using the official MCP SDK client. It checks that the target is a JOONS MCP Mock Server before any tool call, so no real tool is called; real-server execution is planned with explicit opt-in and an exact per-tool allowlist. Reports redact captured values and secret-looking keys. It is installed and run independently and has no runtime dependency on the Mock Server package. CORE does not import or ship it.
The conceptual external layer includes computers, phones, files, knowledge bases, web, Git and external MCP servers. CORE can connect to these categories; the diagram does not imply that any particular source is available in a given environment.
An agent can interact with CORE through MCP. CORE's registry, transports and target selection provide the server-side connection to tools and data sources. This is the conceptual server path, not evidence that every external source is connected in a particular deployment.
Separately, an application can use Allocator without CORE. When the optional Guard hooks are enabled, before_lease can veto within the lease transaction and after_* hooks run after commit. No other library-to-library integration is implemented today.
Probe is an external read-only inspector of MCP servers. Its v0.1.0 Preview does not call tools; inspecting CORE is a future operator action, not an embedded integration.
flowchart TD
App["Application requests lease"] --> Begin["Allocator begins lease transaction"]
Begin --> Before["GuardHooks before_lease"]
Before -->|"Allow"| Commit["Allocator commits transaction"]
Commit --> After["GuardHooks after hooks"]
Before -->|"Veto"| Stop["Allocator does not lease"]
Diff["JOONS MCP Diff Preview (independent)"]
PolicyGate["JOONS MCP Policy Gate Preview (independent)"]
MockServer["JOONS MCP Mock Server Preview (independent)"]
ContractRunner["JOONS MCP Contract Test Runner Preview (independent)"]
classDef preview fill:#ffa500,stroke:#4F46E5,color:#000
class Diff,PolicyGate,MockServer,ContractRunner preview
- CORE is private; its source is not published. Toolkit does not expose or require it.
- Guard, Allocator, Toolkit, Probe, Diff, Policy Gate, Mock Server and Contract Test Runner are not bundled into or shipped with CORE, and CORE does not import them.
- Guard and Allocator operate on a single machine. Their storage and limits must not be read as a distributed coordination guarantee.
- Guard locks are advisory and never expire on their own. Allocator has no lease expiry today.
- Probe's intended read-only boundary excludes tool calls in 0.1.0. Later opt-in checks remain ideas.
- Toolkit's in-memory coordinator is educational. It is separate from its durable request ledger.
Durable state helps preserve the information a component records: Guard has durable locks and Allocator has an append-only audit. Allocator includes explicit retry and recover operations. These capabilities should be considered alongside the single-machine scope and the absence of automatic lock or lease expiry.
Use an honest UNKNOWN when available evidence does not establish an outcome; do not infer execution from a request or a conceptual diagram. Probe reports classify results as PASS, WARNING or FAIL; Diff uses UNKNOWN for changes whose compatibility cannot be established.
The optional Allocator to Guard hooks are implemented. CORE could use Guard and Allocator internally in the future, and Probe could gain an optional MCP adapter. These are plans, not present features. See Integration and the Roadmap.
Integration describes the implemented connection and future possibilities. Back to README