Skip to main content

MCP — the AI interface

Model Context Protocol
Your AI client is the primary interface

Stacktic ships an MCP server inside your stack. Connect a client to it and the model can read the graph, propose changes, write them through the platform, build, deploy, scan and prove the result — grounded in the real catalog, never in guesses.

What the MCP gives a model​

A generic coding assistant knows how to write Kubernetes YAML. It does not know your system: which components exist, what a link of a given type actually generates, which attribute is safe to move, what is running right now, and what the last compliance run found.

The MCP closes exactly that gap, in four layers.

AI clientANY MCP CLIENTMCP SERVERone per stackbound to this graphtools · promptstools1 · KNOWLEDGEwhat can existcatalog · link semantics2 · GRAPHwhat your system iscomponents · links · fields3 · RUNTIMEwhat is true nowtests · scans · logs4 · WRITEchange the declared systemattributes · links · buildreadsread · blast radius · ask
One MCP server per stack. It reads three layers — what can exist, what your system is, what is true right now — and writes to one, only after reading the current value, stating the blast radius and asking you.
Layer 1Knowledge — what the platform can express

The catalog of component types, link types, sub-components and attributes, plus what each one generates and the patterns real stacks use. The model designs against reality and reports anything the catalog cannot express as a gap instead of improvising.

Layer 2Graph — what your system is

The live topology: components, links, sub-components, fields. Traversal tools answer blast radius, dependency path, data flow and service contract questions before a change is made.

Layer 3Runtime — what is actually happening

Scans, tests, link proofs, logs, metrics and per-technology tools that register only when the matching link exists.

Layer 4Write — change the declared system

Attributes, links, components, users and builds go through the platform API, so a change lands in the graph and regenerates everything that depends on it.

The rules the server enforces on the model​

The server ships instructions that every connected client loads. They are not style advice — they are what keeps an autonomous agent safe on a production system.

RuleWhy
Ground every claim in a tool resultNo invented component types, link types, versions or attributes
Design from the application outwardThe application is the centre; everything else exists to serve it
A missing capability is a feature requestNever substitute an unrelated component or silently drop a requirement
Every instance gets its own credentialsA second database or bucket sharing the first one's secret is rejected at generation
Propose, then askEnumerate the real options from a tool result before changing anything
Blast radius before changeShow what a change touches and who depends on it, then ask
Never build without explicit confirmationA build rewrites the stack repository
Declared state goes through the platformCreating users or routes directly in an application is drift

What it is bound to​

One MCP server belongs to one stack. It is generated as a component of that stack, it reads that stack's metadata, and its tools operate on that stack. There is no system name to guess and no cross-tenant surface.

Per-technology tools register only when the matching link exists. A stack without a message broker has no broker tools; adding the link adds them on the next build. The tool list is therefore a description of your architecture.