Logo di Archi MCP Server

Archi MCP Server

Community
fanievh

Eclipse PDE plugin for Archi that exposes ArchiMate models via MCP protocol, enabling LLMs to query, analyse, and modify Enterprise Architecture models

Autorefanievh
Repositoryarchi-mcp-server
LinguaJava
Fork
9
Stelle
40
Strumenti disponibili
0
Tipo di trasportostreamable-http
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Archi MCP Server mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    40 stelle e 9 fork nel repository collegato.

Archi MCP Server

An Eclipse PDE plugin for Archi that exposes ArchiMate models through the Model Context Protocol (MCP), enabling LLMs to query, analyse, and modify enterprise architecture models through natural language.

What It Does

Archi MCP Server embeds an HTTP server inside Archi that speaks MCP. Once running, any MCP-compatible LLM client (Claude, Cline, LM Studio, etc.) can connect and interact with the currently open ArchiMate model — asking questions, searching elements, traversing relationships, composing view diagrams, and even creating or modifying model content.

The server provides 70 MCP tools across querying, searching, creating, layout, routing, assessment, batch operations, images, specializations, and more — plus 14 MCP resources with ArchiMate reference material, workflow guides, and a viewpoint recipe library for LLMs.

Example conversation:

You: "What applications support the Customer Portal capability?"

LLM: Searches elements, traverses relationships, and returns: "7 applications support Customer Portal: OrderService, PaymentGateway, ..."

Requirements

RequirementVersion
Archi5.7+
Java21+
An MCP-compatible LLM clientClaude CLI, Cline, LM Studio, etc.

LLM model size recommendation: 8B+ parameters minimum, 14B+ for reliable tool calling, 70B+ for complex view composition workflows.

Installation

  1. Download the latest .archiplugin from the Releases page (or the bin/ directory for pre-built artifacts)
  2. In Archi: Help > Manage Plug-ins > Install New... or copy to Archi's dropins/ folder
  3. Restart Archi

Getting Started

1. Start the Server

Open an ArchiMate model in Archi, then:

Menu: MCP Server > Start MCP Server

The MCP Server entry in Archi's menu bar has three items:

Menu itemWhat it does
Start MCP ServerStarts the embedded server; toggles to Stop MCP Server while running.
Approval ModeCheckable toggle for the human-owned approval gate. When on, the agent's changes queue for your review instead of applying immediately — see Mutation Safety.
Pending approvals (N)Opens the Pending Approvals dock view; N is the live count of changes awaiting your decision.

Server behaviour (port, bind address, TLS, authentication, …) is configured separately under Window > Preferences > MCP Server — see Configuration. The default endpoint is http://127.0.0.1:18090.

2. Configure Your LLM Client

Claude Code (CLI)

In your project's .mcp.json or ~/.claude.json:

json
{
  "mcpServers": {
    "archi": {
      "type": "http",
      "url": "http://127.0.0.1:18090/mcp"
    }
  }
}

Or via the CLI:

bash
claude mcp add --transport http archi http://127.0.0.1:18090/mcp

Claude Desktop

Claude Desktop does not natively support Streamable HTTP, so a proxy is required. Install uv (a single Rust binary), then add to your claude_desktop_config.json:

Windows:

json
{
  "mcpServers": {
    "archi": {
      "command": "C:\\Users\\YOUR_USER\\.local\\bin\\uvx.exe",
      "args": ["mcp-proxy", "--transport", "streamablehttp", "http://127.0.0.1:18090/mcp"]
    }
  }
}

macOS:

json
{
  "mcpServers": {
    "archi": {
      "command": "uvx",
      "args": ["mcp-proxy", "--transport", "streamablehttp", "http://127.0.0.1:18090/mcp"]
    }
  }
}

Cline / Other MCP Clients

Point your MCP client at the Streamable-HTTP endpoint:

http://127.0.0.1:18090/mcp

SSE transport is also available at /sse for older clients.

3. Start Querying

With the server running and your LLM client connected, you can ask questions in natural language:

  • "Give me an overview of this architecture model"
  • "Find all Application Services in the model"
  • "What does the Order Processing component depend on?"
  • "Show me the relationships between the CRM and ERP systems"
  • "Create a new view showing the payment processing flow"
  • "Auto-layout and route the connections on this view"

Configuration

Access via Window > Preferences > MCP Server in Archi.

SettingDefaultDescription
Port18090HTTP(S) server port
Bind Address127.0.0.1Network interface (localhost only by default)
Auto-StartfalseStart the server automatically when Archi launches
Log LevelINFOLogging verbosity: DEBUG, INFO, WARN, ERROR
Enable TLSfalseUse HTTPS with TLS encryption
Keystore File(empty)Path to PKCS12/JKS keystore (auto-generated if using self-signed)
Keystore Password(empty)Password for the keystore file, stored in your OS keychain via Equinox secure storage (no separate password to manage) — never written to disk in cleartext
Enable bearer-token authenticationfalseRequire an Authorization: Bearer <token> header on every request (see below)

TLS / HTTPS

The server supports optional TLS encryption. To enable:

  1. In preferences, check Enable TLS (HTTPS)
  2. Click Generate Self-Signed Certificate to create a keystore automatically
  3. Restart the server — the endpoint changes to https://127.0.0.1:18090

Clients must trust the self-signed certificate. For curl testing, use the -k flag. For LLM clients, import the certificate into the client's trust store or the JVM cacerts.

The keystore password (whether you type it or generate it with the button) is stored in your OS keychain via Equinox secure storage — the same store the bearer token and Archi itself use — not in the plaintext preference file. If you had a keystore password set in an earlier version, it is migrated automatically on first start.

Enabling authentication (bearer token)

By default the server requires no authentication — anything that can reach the port can call the tools, which is why the default bind is loopback only. If you bind to a non-loopback address, or simply want a secret required even on loopback, enable an opt-in bearer token:

  1. In Window > Preferences > MCP Server > Authentication, check Enable bearer-token authentication. A 256-bit token is generated automatically on first opt-in and stored in your OS keychain (via Equinox secure storage — no separate password to manage).
  2. Click Copy to copy the token, or Generate / Regenerate token to roll it (regenerating invalidates clients still using the old token).
  3. Restart the server. Every request to /mcp and /sse must now send Authorization: Bearer <token>; a missing, malformed, or wrong token gets 401.

Configure your clients to send the header:

Claude Code (CLI):

bash
claude mcp add --transport http archi http://127.0.0.1:18090/mcp --header "Authorization: Bearer <token>"

Claude Code (.mcp.json / ~/.claude.json):

json
{
  "mcpServers": {
    "archi": {
      "type": "http",
      "url": "http://127.0.0.1:18090/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}

Claude Desktop (via mcp-proxy) — pass the header through the proxy:

json
{
  "mcpServers": {
    "archi": {
      "command": "uvx",
      "args": ["mcp-proxy", "--transport", "streamablehttp", "--headers", "Authorization", "Bearer <token>", "http://127.0.0.1:18090/mcp"]
    }
  }
}

curl (testing):

bash
curl -X POST http://127.0.0.1:18090/mcp -H "Authorization: Bearer <token>" -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'

Authentication is off by default — existing configs without an Authorization header keep working unchanged until you enable it. On a non-loopback bind, also enable TLS so the token is not sent in cleartext.

Security model

The server exposes mutating and file-touching tools over HTTP, so the trust boundary is worth understanding. SECURITY.md states what the server protects against by default (loopback bind, Origin/Host validation, request/session/image resource limits, UTF-8 request-body enforcement, the human-owned approval gate) versus what is your responsibility as the operator (transport encryption, client authentication, securing a non-loopback bind), and how to report a vulnerability. Read it before binding off-loopback or pointing an agent at untrusted input.

Available Tools

The server exposes 70 MCP tools organised into functional categories.

Query & Model Inspection (6 tools)

ToolDescription
get-model-infoModel overview — name, purpose, custom properties, element/relationship/view counts by type and layer, plus specialization count. Read counterpart to update-model
get-elementRetrieve element(s) by ID (single via id or batch via ids array)
get-viewsList views with optional viewpoint type or name filtering
get-view-contentsView diagram contents — elements, relationships, visual positions, connection routing, image visuals, and the full styling surface (typography, gradient, alignment, line style, labelExpression) so styling mutations can be read back and verified. format: "tree" returns the containment hierarchy, descending both visual groups and ArchiMate-element containers — nested children appear in the parent node's children array with a childCount. The group stats count both container kinds the layout family arranges — a native view group and an ArchiMate Grouping element — so topLevelGroups matches what arrange-groups will position on the canvas rather than under-reporting a Grouping-built view as flat. topLevelGroups counts depth as well as kind: a container drawn inside a host is nestedGroups, and arrange-groups arranges it anyway — inside that host, reported in nestedContainersArranged — so on such a view this stat is the lower of the two numbers. Every container node carries isGroup: true at any depth in tree and graph, format: "summary" counts both under its Containers: clause, and ungroupedElements excludes containers (a container is what loose elements are placed into). groups() itself is unchanged, so exclude: ['groups'] behaves as before. Graph nodes and edges also carry their visual identifiers (viewObjectId on nodes, viewConnectionId on edges) so a returned visual can be fed straight into remove-from-view / update-view-object / update-view-connection without a second lookup. On Archi 5.10, connections also report relativePosition — the connection "Label Offset" anchor — so an offset applied by auto-route-connections can be read back programmatically (omitted on Archi 5.7 and for the un-offset default). Connections also carry sourceRenderFace / targetRenderFace — the element face the line is actually drawn leaving and entering (top / bottom / left / right), which nothing else in the payload gives you: the anchors are element centres the renderer aims from, and a bendpoint is a waypoint it aims at, so neither is the point where the line meets the box. The field is omitted whenever a face cannot be established — a corner attachment, a reference inside the box, an attachment on a rounded figure's arc, a zero-size element, a Junction, a Grouping on its alternate figure, or a configuration under which Archi's two anchor algorithms would disagree — and its absence never means "no face". absoluteBendpoints is likewise derived, not stored: Archi holds each bendpoint twice, relative to each endpoint's centre, and the response interpolates between the two at the weight Archi renders with, (i + 1) / (n + 1) for bendpoint i of n. While the two reconstructions agree the point is exact; once an endpoint has moved they diverge, the drawn line is sheared, and the reported point follows that shear — which is the drift assess-layout reports as anchorDriftCount
get-relationshipsTraverse relationships with configurable depth (0-3 hops) or multi-hop chain traversal with direction/type/layer filters
find-concept-usageReverse where-used lookup — given an element or relationship ID, returns every view and visual object/connection that references it. Inverse of get-view-contents. Use before delete-element / delete-relationship / rename / re-type to see the cross-view footprint in one round-trip

Search & Discovery (4 tools)

ToolDescription
search-elementsFull-text search across element names, documentation, and properties with optional type, layer, and specialization filters
search-relationshipsSearch all relationships by text, type, source/target element layer, and specialization — no element ID needed
get-or-create-elementDiscovery-first — returns existing element if exact name+type match exists, otherwise creates new
search-and-createCombined search + conditional create with duplicate candidate display

Element & Relationship Creation (4 tools)

ToolDescription
create-elementCreate an ArchiMate element with type validation and duplicate detection. Optional specialization parameter auto-creates the specialization on first use. A folderId that points at a folder whose ArchiMate layer is illegal for the element type is rejected up front with FOLDER_LAYER_MISMATCH (delegated to Archi's own folder rules) rather than failing later when Archi saves the model. Optional source map tags the element with provenance (keys auto-prefixed mcp.source.) and is honoured on every path the tool has — direct, batch-queued, approval and bulk-mutate alike. It is create-time only: to add or correct provenance afterwards, write the same keys through update-element's properties map with the prefix spelled out. A source key that already carries the prefix, or whose prefixed form collides with a properties entry of the same name, is rejected rather than silently double-prefixed or overwriting the caller's value
create-relationshipCreate a relationship with ArchiMate specification rule enforcement. Optional specialization parameter auto-creates the specialization on first use. Optional type-conditional semantic attributes: accessType (AccessRelationship), associationDirected (AssociationRelationship), influenceStrength (InfluenceRelationship)
create-viewCreate a new diagram view with optional viewpoint and connection router type
clone-viewDuplicate an existing view with all visual contents (elements, groups, notes, connections, bendpoints, styling). The clone references the same model objects

Element, Relationship, View & Model Updates (4 tools)

ToolDescription
update-elementUpdate element name, documentation, properties, or specialization (pass "" to clear)
update-relationshipUpdate relationship name, documentation, properties, or specialization (pass "" to clear). name and documentation also honour the empty-string clear — "" clears the field rather than meaning "leave unchanged", on the standalone tool and inside bulk-mutate alike, and a lone {"documentation": ""} is a valid call. (update-element differs deliberately: its schema makes no empty-clear promise for those two fields, so a blank value there is ignored.) Optional type-conditional semantic attributes: accessType (AccessRelationship), associationDirected (AssociationRelationship), influenceStrength (InfluenceRelationship). Source, target, and type are immutable
update-viewUpdate view name, viewpoint, documentation, properties, or connection router type
update-modelUpdate the loaded model's own name, purpose, and custom properties as a single undo unit. At least one of the three must be provided; omitted fields stay unchanged. Empty-string purpose clears the field; null property values remove a key

ArchiMate Specializations (5 tools)

Specializations are IS-A subtypes of ArchiMate concept types (e.g. "Microservice" is a kind of ApplicationComponent, "Cloud Server" is a kind of Node). Use them to classify the kind of thing an element is — not for per-instance attributes like environment or version. See archimate://reference/archimate-specializations for the full guide.

ToolDescription
list-specializationsList every specialization defined on the model with (name, conceptType, layer, usageCount, imagePath). Optional conceptType filter
create-specializationDefine a specialization explicitly without creating any element. Idempotent on duplicate (name, conceptType) — useful for pre-registering vocabulary at session start. Optional imagePath sets the specialization's icon (Archi renders it on every concept of that specialization)
update-specializationRename a specialization and/or set its icon. Refuses to merge into an existing target name. Existing references move with the rename. Optional imagePath (set/change icon) and clearImagePath: true (explicit clear) — mutually exclusive. At least one of newName, imagePath, or clearImagePath must be supplied
delete-specializationDelete a specialization. Refuses by default if any concept uses it; pass force: true to detach references and delete in one atomic command
get-specialization-usageAudit query — lists every element and relationship referencing a specialization. Call before rename or delete

View Composition (9 tools)

All view-composition tools that place a new visual object (add-to-view, add-group-to-view, add-note-to-view, add-view-reference-to-view, add-image-to-view) and update-view-object accept the full visual styling surface: fill / line / font colour, opacity, line width, line style (solid / dashed / dotted / none), typography (fontName, fontSize, fontStyle), gradient, deriveLineColor, outlineOpacity, figureType (rectangular / tabbed), textAlignment, verticalTextAlignment, plus note-specific borderType (dogear / rectangle / none). Existing calls are byte-identical; supply only the fields you want to set. Every one of these fields reads back through get-view-contents, so a styling mutation can be verified after the write.

Title alignment now matches the palette on the three types where Archi's own default is a fixed constant. Archi's diagram factory stamps a type's UI-provider defaults onto anything drawn from the palette; this server builds objects straight from the EMF factory, which stamps nothing, so an ArchiMate Grouping, a native group and a note used to come out centre where a hand-drawn one is left — on a 400 px box, a title starting a few pixels from the edge versus one sitting ~170 px away. Those three types are now stamped left at creation, before any styling is applied, so an object created with no styling at all matches the palette while an explicit textAlignment still wins. Scope: a plain ArchiMate element's default is derived by Archi from a user preference rather than a constant, so this server leaves it at centre and a host whose preference was changed can still differ — pass textAlignment explicitly when the alignment matters. Connections, images and view references already carried their own providers' values and are untouched. clone-view copies both textAlignment and verticalTextAlignment, so a cloned object keeps its title band rather than silently reverting to top.

When add-to-view or add-group-to-view nests a child inside a container whose fill colour you have not explicitly set, the parent's fill auto-recedes to a subtle backdrop (#F4F4F4) so the nesting reads as depth instead of a flat block. The recession is provenance-gated and idempotent (only an unauthored fill is touched; an explicitly coloured container is left untouched), rides the placement as one undo unit, and excludes the root view. Pass recede: false to suppress it for a call.

A view object can also anchor to a target container via update-view-object, recording an {anchorTarget, anchorEdge, dx, dy} so its position resolves from the target's current bounds at commit time rather than a frozen snapshot — edge below (default) tracks the target's growing bottom, above/right/left the corresponding edge. When a later mutation moves or grows the target, every anchored object is repositioned within the same undo unit. Target and object must share a coordinate space; self-anchors and cross-space anchors are rejected. add-note-to-view's content-relative placement uses the same edge resolver.

ToolDescription
add-to-viewPlace a model element onto a view diagram (same element can appear on multiple views). Optional imagePath, imagePosition, showIcon for custom icon overlays, labelExpression for a per-view-object dynamic label template (e.g. "${name}", "${property:Owner}"), and recede: false to suppress the auto-backdrop when nesting inside an unauthored-fill container
add-group-to-viewAdd a visual grouping rectangle (pure visual container, no model representation). Optional imagePath, imagePosition, showIcon for custom icon overlays, and recede: false to suppress the auto-backdrop when nesting inside an unauthored-fill container. Pass label: "" to create an untitled group — use that for a container your source material never named, rather than inventing a placeholder; Archi renders it with an empty tab and substitutes nothing. The key itself is still required: omitting it is an error
add-note-to-viewAdd a text note annotation (pure visual, no model representation). Optional imagePath, imagePosition, showIcon, and note-specific borderType. Omit height and the server fits it to the note's wrapped text by real glyph measurement, with 80 as the floor and 600 as the cap — 80 is what short content resolves to, not a fixed default; supply a height only to pin a fixed size. Pass content: "" to create an empty note — a shaped placeholder you fill in later. Placing the annotation onto a rectangle that a route already drawn on the view passes through returns an ANNOTATION_PLACED_IN_ROUTED_CORRIDOR structured warning naming every crossed connection, on the immediate, batched and approval arms alike. Placing after auto-route-connections, as the ordering guidance says, does not avoid this — after routing is when the corridors exist to land in — so the disclosure is a measurement of this rectangle against these routes rather than more advice. A crossing here lands in the informational connectionThroughNoteCount, which caps the view at good.
add-view-reference-to-viewEmbed another ArchiMate view as a clickable thumbnail (the agent-driven equivalent of Archi GUI's drag-view-onto-view). Requires viewId (target) and referencedViewId (source). The referenced view's name is not stored on the visual — renaming the referenced view auto-updates every embedding. Placing the annotation onto a rectangle that a route already drawn on the view passes through returns an ANNOTATION_PLACED_IN_ROUTED_CORRIDOR structured warning naming every crossed connection, on the immediate, batched and approval arms alike. Placing after auto-route-connections, as the ordering guidance says, does not avoid this — after routing is when the corridors exist to land in — so the disclosure is a measurement of this rectangle against these routes rather than more advice. A crossing here lands in the rated connectionPassThroughs, which can drive the view to poor — unlike a note, this visual is an ordinary layout node to the assessor.
add-image-to-viewAdd a standalone image as a first-class diagram node (sibling to notes, groups, and view-references). Requires viewId and an imagePath returned by add-image-to-model or list-model-images. Default size is the image's natural dimensions; typo'd paths are rejected with IMAGE_NOT_FOUND. Distinct from update-view-object's imagePath, which sets an icon overlay on an existing element. Placing the annotation onto a rectangle that a route already drawn on the view passes through returns an ANNOTATION_PLACED_IN_ROUTED_CORRIDOR structured warning naming every crossed connection, on the immediate, batched and approval arms alike. Placing after auto-route-connections, as the ordering guidance says, does not avoid this — after routing is when the corridors exist to land in — so the disclosure is a measurement of this rectangle against these routes rather than more advice. A crossing here lands in the rated connectionPassThroughs, which can drive the view to poor — unlike a note, this visual is an ordinary layout node to the assessor.
add-connection-to-viewAdd a visual connection representing an existing model relationship, with optional styling, label suppression, and label positioning
update-view-objectUpdate position, size, styling, image, labelExpression, and/or anchor of a visual element on a view. Optional anchoring (anchorTarget, anchorEdge below/above/right/left — default below, anchorDx/anchorDy) makes the object follow a target container's edge, resolved from the target's current bounds at commit time instead of a frozen absolute position — so a note stays below a group as the group grows. Target and object must share a coordinate space; pass an empty anchorTarget to clear. text sets a group's label or a note's content; pass text: "" to clear it, leaving the group untitled or the note empty. Omitted and empty are different requests — omitting leaves the text unchanged. An empty string is still rejected for element view objects, where update-element is the tool that renames a concept. Note height is the one exception to "omitted means unchanged": a request that changes a note's text or width while omitting height re-fits the height to the wrapped content — the same auto-fit add-note-to-view applies, so the same content at the same width resolves to the same number on either path. A request that only moves the note never re-fits it, and supplying height pins a fixed size
update-view-connectionReplace bendpoints, update styling, toggle label visibility, and/or set label position of a connection on a view. lineStyle is rejected on a connection rather than silently ignored: an ArchiMate connection carries no settable line style in Archi — its dash is derived from the relationship type at render time — so the refusal names the reason and points at lineColor + lineWidth, which do apply. (View-object lineStyle, on update-view-object, is unaffected)
apply-positionsApply a complete visual layout atomically (up to 10,000 entries per call). Carries the same note exception as update-view-object: supplying a note's width while omitting height re-fits the height to the wrapped text. Containers grow with their contents: a position that pushes an object past its container's bounds re-fits that container and every ancestor above it, and carries along any object anchored to something the call repositions. Each container is measured once per call against what the same call has already decided about it, so two entries needing different axes of one group both survive and the arrival order does not change the result — and the re-fits reach the model as one command per group rather than one per entry that grew it. They are committed after every position lands, so naming a container in positions and asking for it smaller than its children need loses to the fit, while asking for it bigger wins and retires the fit. The response reports counts only, never the geometry those containers ended at — re-read with get-view-contents before computing from a container's size

View Cleanup (2 tools)

ToolDescription
remove-from-viewRemove a visual element or connection from a view (model object preserved)
clear-viewRemove all visual elements and connections from a view (model objects preserved)

Layout & Routing (11 tools)

LLM agents: Fetch archimate://prompts/routing-preconditions-checklist before invoking auto-route-connections or auto-layout-and-route on any non-trivial view. The routing pipeline cannot recover from missing preconditions — it can only route the geometry the agent has set up. The spacing convenience tools self-terminate honestly: if a view is provably too dense for spacing to fix they return terminationReason: density_floor_reflow_required and offer a user-consentable structural reflow — surface that to the user instead of looping the spacing tools.

ToolDescription
auto-route-connectionsOrthogonal connection routing using clearance-weighted visibility-graph A* pathfinding with corridor directionality, corridor diversity, group-wall awareness, channel-global ordered nudging, and post-routing path straightening. Two modes: mode: "full" (default) re-routes whole connections via visibility-graph A*; mode: "terminals-only" rectifies only the first/last bendpoint of each connection to make terminal segments orthogonal — best after ELK on grouped views to fix diagonal terminal entries without the crossing inflation a full re-route causes; it also sweeps redundant interior collinear bendpoints (a terminal L-bend that lands collinear with the existing trunk) so a re-route drives connectionRedundantBendpointCount toward zero without touching the pinned terminal egress anchors. Both modes now clear an off-face terminal hug — a connection that leaves an element face then runs a pixel or two parallel hugging it — by pushing the first trunk clear of the face: the full pipeline uses a dual-axis healthy-floor egress pass (a 15 px healthy parallel gap enforced on both axes, plus an own-face short-circuit that catches sub-10 px micro-hugs), and terminals-only mirrors the same floor as pure geometry with a per-side orthogonality backstop that declines any lift which would introduce a diagonal (detection fires at the assessor's 8 px oracle, so an already-clear terminal is byte-identical). This drives the offFaceParallelTerminalCount signal to zero. A gated final pass also dissolves a coincident same-face hub port — two terminals a downstream stage collapsed onto one perimeter port of a low-degree element face (the coincidentFacePortCount defect assess-layout reports) — by moving whichever terminal can move to a free along-face slot; it is a byte-identical no-op unless there is a real collision with a clear slot, so it never disturbs a dense hub's own distribution or adds a crossing. Optional autoNudge mode automatically moves blocking elements (and resizes parent groups to contain them) and re-routes failed connections in a single atomic operation; a nudged child is floored at its parent's title band rather than at the container padding, so a routing lift can never push a child under its parent's title (the floor applies to an ArchiMate-element container as well as a visual group, and never exceeds the child's own pre-nudge position, so it can only shorten an upward move). On Archi 5.10, when a Middle label still renders on its own endpoint box after position selection, the router applies the connection "Label Offset" (relativePosition) to lift it clear — the only channel that can clear own-endpoint label bleed on a position-preserving route (runtime-guarded; a silent no-op on Archi 5.7). Optional labelPolicy: "auto-hide-on-collision" hides exactly those connection labels that collide at every candidate position — the router already scores all three positions per connection, so this acts on a measured verdict rather than a guess — and lists each hide in hiddenLabels by connectionId with a reason, never truncated, so every one is auditable and reversible with update-view-connection(showLabel: true). It is off by default; omitting it leaves label visibility byte-identical. A label you hid yourself is never overridden nor claimed as a policy hide, the hides ride the routing pass's own compound so one undo reverts them with the routes, and a Middle label the Archi 5.10 Label Offset can still lift clear is not treated as unplaceable. The response carries a structuredWarnings: List<{code, message, remediationTool, remediationViolatorIds}> field for deterministic LLM iteration (AUTO_NUDGE_SKIPPED_SIBLING_OVERLAP instructs the agent to run layout-within-group on the parent before re-routing; EGRESS_LIFT_LAYOUT_BOUND reports that the router generated then rolled back off-face egress lifts because applying them would narrow a parallel-connection gap below the 15 px healthy floor — the residual hug is layout-bound, so a matching nextSteps entry names spreading the elements instead of declining silently; AUTO_ROUTE_CROSSINGS_REGRESSED reports that a full re-route increased the view's own edge-crossing count, naming both the before and after figures and pointing at mode: "terminals-only" — it is gated on the input having been routed, so a first-time route of an unrouted view is never advised to undo a good result, and its remediationTool names a recovery of this call rather than the tool that caused the regression, scoped to the arm the call took: undo once the re-route has been applied, end-batch (with rollback:true to discard it) while it is queued in an open batch, and no tool at all while it awaits a human's decision, since rejecting it in Archi is what restores the previous paths; CONNECTION_NOT_FOUND aggregates every unresolved id from connectionIds in remediationViolatorIds, so the matching next step now fires only when connection ids genuinely went missing instead of on any warning at all; CONNECTION_ROUTED_THROUGH_NOTE discloses every (connection, note) pair this call routed straight through a note — a note is excluded from the A* obstacle set on purpose, so the crossing is a disclosure and not a violation, and the code exists to name which note was crossed on the call that crossed it instead of leaving that to a follow-up assess-layout; its remediationViolatorIds carry the note ids and its remediationTool is update-view-object, because the note is what the caller moves, not the route; AUTO_NUDGE_NET_ZERO reports an element that autoNudge moved and that ended at the position it started from — such an element is no longer listed in nudgedElements nor counted in nextSteps, because reporting it as nudged contradicted the same response's failed array and its recommendations, which repeated the identical move. Two causes produce that zero — a move a later iteration reversed, and one the parent-containment clamp absorbed — and the summed deltas cannot tell them apart, so the message names the outcome and says so rather than claiming the loop oscillated; the remedy is a spacing lever, never another route). Terminals are held on the element face the router assigned them for the whole pipeline: a terminal displaced by a clearance stage's micro-jog cleanup is realigned a second time immediately after that cleanup, a terminal whose own segment crosses an obstacle is slid along its own face to align with its neighbour (clamped to the face's extent, kept only if that clears the crossing) rather than deleted outright with its neighbour promoted to the terminal index on whatever off-face coordinate it happened to hold, and a stage that deliberately re-selects a face re-derives the anchoring record instead of leaving it naming the face the terminal just left. Every one of those refuses to guess in the same direction — a terminal on no face line, or exactly on a corner where two face lines hold equally, yields no face rather than an invented one
auto-layout-and-routeTwo modes: auto (default) uses ELK Layered to compute positions AND routes in one operation; grouped orchestrates the full grouped-view workflow (layout-within-group + arrange-groups + optimize-group-order + auto-route-connections) atomically. grouped requires the view to have at least one top-level container, and both container kinds qualify — a native view group and an ArchiMate Grouping element — so a Grouping-built view is a valid target rather than being rejected as having no groups. grouped lays out the whole subtree, not one level: each top-level group is delegated to the same post-order recursion layout-within-group's recursiveChildren drives, so a child that is itself a container is sized from its contents (with its title band reserved) instead of from its own label text and then descended into — elementsRepositioned counts every descendant moved, each re-fitted nested container is reported in nestedContainersFitted with the rectangle it landed at, and the depth cap surfaces as a response flag. Smart iteration when targetRating is set — factor-aware iteration tunes the right knob per tier, with plateau detection to exit early when iterations stop improving the dominant tier, and a terminationReason on the response saying which of the loop's stopping conditions actually fired. labelPolicy is honoured wherever a routing pass runs (grouped mode, and flat mode with a targetRating); flat mode without a targetRating takes ELK's own edge routes and never invokes the label optimizer, so it rejects the parameter with a remedy rather than accepting it and doing nothing. The loop keeps the best attempt it produced, which can still be worse than the view you handed it — so every quality-loop run reports ratingBefore (the rating measured before any mutation) beside achievedRating, and a committed result that is worse raises an AUTO_LAYOUT_RATING_REGRESSED structured warning naming each metric that moved with before/after values, remediationTool: undo. It is not gated on the target being missed: meeting a target is at least as good as, so an already-excellent view can be downgraded to a good target, report goal reached, and still be a regression. Do not read achievedRating alone as evidence the call helped
layout-within-groupArrange child elements inside a container using row, column, or grid patterns. The container may be a visual group or an ArchiMate-element container (ApplicationComponent, Node, ApplicationFunction, etc.) that holds nested children — the same arrangement / spacing / padding / columns / autoResize / autoWidth semantics apply to both. recursive is the exception: the upward pass walks native view groups only, so it neither starts from nor continues past an ArchiMate-element container. That is deliberate — growing an element as a side effect of arranging its child is a semantic act, not a geometric one — and it is no longer silent: ancestorPropagation ships on every response, saying as a stable code which situation produced the count you got — including the two that can re-fit some ancestors and then stop at a parent they could not grow, where a positive count reads as success and is not. Optional recursiveChildren descends into nested containers, arranging every level post-order in one atomic command with a single undo — for multi-level inventories (functions in components in domains, or region → availability zone → node → artifact) that otherwise need hand-computed coordinates. Under the recursive descent each grid column is sized from its own widest member rather than from the widest element in the whole grid, so one over-wide descendant no longer inflates its siblings, their container, and that container's siblings a level up; columns still line up across rows, and the non-recursive default is unchanged. The response reports what the pass actually did in both directions: resizedAncestors / ancestorsResized name the containers it grew upward, nestedContainersFitted names every descendant container it re-fitted downward (id plus landed rectangle, omitted when empty), resizedElements names every leaf child whose size actually changed with the rectangle it ended at — this call writes a full rectangle to every child and in a grid that rectangle is its cell, so a narrow element takes its column's width whether or not you set autoWidth, and the move count alone never disclosed it — the depth cap surfaces as a response flag, and groupResized reflects a measured change rather than the autoResize you asked for, so a repeated layout that moves nothing honestly returns false. Notes, view-references, and connections are rejected as containers
layout-flat-viewAutomatic layout for flat (non-grouped) views — row, column, or grid arrangement with optional sorting by name/type/layer and category grouping
arrange-groupsPosition top-level containers relative to each other in grid, row, or column layout. Two kinds of container are arranged and both count as a "group" here: a native view group from add-group-to-view, and an ArchiMate Grouping element from create-element + add-to-view — so a view built entirely from Grouping zones (the shape the technology and deployment recipes prescribe) is arranged like any other. Density-aware default: when spacing is omitted on a view with inter-group connections, the tool derives a connection-count-aware default (≤ 15 → 80 px, 16–30 → 100 px, > 30 → 120 px). Pass an explicit spacing to suppress. The response reports positionedContainers — each container's id and the rectangle it actually landed at, read back after the write — beside the groupsPositioned count, so a container the pass never touched is visible rather than hidden inside a number. It also accounts for every direct child of the view: skippedContainers names each populated top-level container left standing with the type that made it ineligible, unhandled closes the population between the buckets, and groupsPositioned + standaloneElementsPlaced + skippedContainers + unhandled equals the view's direct-child count — an invariant the build enforces, so a shortfall can no longer hide inside a count with nothing to sum against. Naming a container's viewObjectId in groupIds arranges it alongside the zones whatever its element type (you can see the canvas and this tool cannot), which counts it in groupsPositioned, returns its rectangle in positionedContainers and removes it from skippedContainers. A wrong groupIds entry is reported on its own rather than voiding the others. A container drawn inside a host is arranged too, and this is a visible behaviour change: a Grouping inside a Node typing a cloud region has no zone above it, so it is top-level — the view is no longer refused with No top-level groups found. It cannot join the canvas grid, because its coordinates are stored relative to the host, so it is arranged inside that host, in the host's own coordinate space, and reported in nestedContainersArranged with the hostViewObjectId those coordinates are measured from. That field sits outside the four-bucket identity, which still partitions the view's direct children exactly. A host too small for the arrangement is declined whole — this tool never grows an ArchiMate element to make room — and the host itself is still listed in skippedContainers, with a reason saying the containers inside it were arranged. A container that is a member of another arrangement target is still denied as not top-level rather than not found: it moves with the target holding it
optimize-group-orderReorder elements within groups to minimise inter-group edge crossings. Works on all top-level containers in the view simultaneously — native view groups and ArchiMate Grouping elements alike. That parity is about container kind; on depth it is narrower than arrange-groups, reordering the view's own containers only. A view whose containers are all drawn inside a host is refused with a message that says so and points at arrange-groups, rather than the former View has no groups
resize-elements-to-fitResize all (or selected) elements on a view to fit their labels using SWT font metrics. Two-pass algorithm for nested containment: children first, then parents. Optional wrapFit: true keeps each element's width and grows only its height so a long label wraps onto extra lines instead of being clipped or forced into an over-wide box — useful for nested labels in fixed-width containers (after a parent grows to contain a wrapped child, follow with auto-route-connections). Sizes for label legibility only — not for connection fan-out. For hub elements with high connection counts, use detect-hub-elements plus update-view-object. When a resize displaces objects anchored to its target, the enclosing group is fitted around the rectangles those children land on, not just around the object you named — so an anchored child can no longer be left hanging outside the group that was grown for it (the fit runs once, after every target in the pass has landed). The response reports both the groups it grew and the objects it displaced
adjust-view-spacingInflate inter-element and inter-group spacing on an existing view, then re-route in a single atomic operation. Use when a view is correctly laid out but visually cramped, without re-running ELK from scratch and losing manual placement intent. A container here is either a native view group or an ArchiMate Grouping element; both are inflated. Density-aware default: when interElementDelta is omitted on a view with coincidentSegmentCount > 2 or connectionEdgeCoincidenceCount > 4, the tool derives a connection-count-aware default (≤ 15 → 60 px target, 16–30 → 80 px, > 30 → 100 px). Pass interElementDelta: 0 to suppress. After spacing inflation, a post-pass detects any child element that overflows its parent group bounds and resizes the parent
apply-element-spacing-recommendationsConvenience tool that runs an embedded observe → decide → density-aware-terminate control loop to inflate within-group element spacing. Per iteration it takes a small monotone step, re-runs assess-layout, and continues / escalates / stops; a degrading step is reverted as the loop's own six-input step scalar measures it — that scalar cannot see cousin overlaps, off-canvas placement or overallRating, so the tool can return a view rated worse than the one it was handed and reports that as a SPACING_RATING_REGRESSED structured warning rather than leaving it silent. Hub-aware tier selection (80/100/120 px) when some element on the view carries more than 6 connections. Note this is a higher cut than the ≥ 5 hub-candidate threshold below: a non-empty detect-hub-elements result means only that the view is connected, not that it has a large hub. Returns before/after assess-layout snapshots plus terminationReason / iterationCount / appliedDeltas[]. One call = one undo step. Set dryRun: true to preview
apply-group-spacing-recommendationsSibling-symmetric convenience tool that runs the same embedded control loop to widen inter-group corridors only — preserves group ordering and topology. Hub-aware connected-pair tier rises to 100/140/160 px. Returns before/after assess-layout snapshots plus terminationReason / iterationCount / appliedDeltas[]. dryRun: true previews. With hub sizing and apply-element-spacing-recommendations this completes the routing-preconditions triad
apply-spacing-recommendationsComposed convenience tool that runs TWO coordinated control loops (element arm, then inter-group arm) in one transactional call. The scope parameter (both / element / group) selects which arm(s) run. The inflation-knee constants are per-iteration step caps (+80 px element / +100 px inter-group per iteration), preventing cumulative-inflation-past-the-knee without a fixed per-call ceiling; elementKneeClampApplied / groupKneeClampApplied surface when a step cap fires. Reports per-arm terminationReason / iteration counts / applied deltas. Use when both axes need adjustment; single-arm siblings cover single-axis changes

Layout Assessment & Analysis (2 tools)

Metric acronyms below — M1–M6, R8, parallelConnectionGap_V_p10 (V_p10), HPQ — are defined in the glossary.

ToolDescription
assess-layoutAssess view layout quality across the legacy 8-metric severity-tiered rating (overlaps, crossings, pass-throughs, coincident segments, non-orthogonal terminals, spacing, alignment, label overlaps) plus the perception-aligned metrics (M1 visible-segment-length non-orthogonal terminals, M2 interior terminations, M3 zigzags, M4 connection-vs-edge coincidence, M5 hub-port quality, R8 corridor utilisation) and the M6 two-dimensional rating (layout tier × routing tier). Also reports the informational parallelConnectionGap_V_p10 signal (10th-percentile parallel-segment gap on the V axis, anchored at 13.30 px on the ArchiMate reference) for narrow-corridor regime detection. Informational detections cover label truncation, parent-label obscured by child, image sibling overlap (imageSiblingOverlapCount — now also examines specialization icons and sizes images from their true pixel dimensions, clipped to the element box, because Archi cuts an oversized image off at the box edge rather than drawing it outside, so an icon's phantom overhang no longer generates image crossings, border grazes or sibling overlaps in space where nothing is drawn),

Usa MCP Archi MCP Server con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Archi MCP Server, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP si connette in TypingMind tramite l'URL di un server MCP ospitato in remoto.

Aggiungi l'URL di un server MCP

Usa questo metodo se Archi MCP Server è già ospitato in remoto o se il tuo team vuole un unico connettore condiviso accessibile a più utenti.

1

Apri Connettori MCP

In TypingMind, vai su Plugin, apri Connettori MCP e scegli Aggiungi URL.

  1. Apri TypingMind nel tuo browser.
  2. Vai a Plugin.
  3. Apri Connettori MCP.
  4. Fai clic su Aggiungi URL.
Modulo di TypingMind per aggiungere l'URL di un server MCP personalizzato
2

Incolla l'URL del server

Inserisci l'URL del server MCP fornito dal provider nel campo URL del server. Aggiungi un nome per la connessione, una descrizione, un'icona, header HTTP personalizzati o le impostazioni del client OAuth se richiesti dal server.

  1. Incolla l'URL del server MCP fornito dal provider nel campo URL del server.
  2. Inserisci un nome per la connessione a Archi MCP Server.
  3. Aggiungi una descrizione e un'icona per riconoscere più facilmente la connessione.
  4. Aggiungi header HTTP personalizzati o i dati del client OAuth se il server richiede l'autenticazione.
3

Crea la connessione

Fai clic su Crea connessione, poi torna all'elenco dei plugin e verifica che la nuova connessione MCP sia attiva.

  1. Fai clic su Crea connessione.
  2. Torna all'elenco dei connettori MCP.
  3. Verifica che la connessione Archi MCP Server risulti attiva.
  4. Aggiorna l'elenco dei plugin se la connessione non appare subito.
4

Cambia modello senza riconnetterti

Avvia una chat con il tuo modello preferito, abilita gli strumenti di Archi MCP Server dalla sezione Plugin e passa a un altro modello quando serve. La connessione MCP rimane disponibile nell'area di lavoro di TypingMind.

  1. Avvia una nuova chat in TypingMind.
  2. Seleziona il modello IA che vuoi usare.
  3. Abilita gli strumenti di Archi MCP Server dalla sezione Plugin.
  4. Chiedi al modello di usare lo strumento quando serve.
  5. Passa a un altro modello IA e riutilizza la stessa connessione MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Archi MCP Server per aiutarmi con questa attività?
Archi MCP Server
Certo. Ho letto.
Ecco cosa ho trovato con Archi MCP Server.

Domande frequenti

A cosa serve il server MCP Archi MCP Server?

Archi MCP Server è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Archi MCP Server MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Archi MCP Server con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Archi MCP Server con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Archi MCP Server, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Archi MCP Server MCP a TypingMind?

Puoi collegare Archi MCP Server a TypingMind aggiungendo l'URL del suo server MCP ospitato in remoto. È utile se vuoi una connessione MCP remota disponibile dalla tua area di lavoro TypingMind.

Quali strumenti offre Archi MCP Server MCP in TypingMind?

Archi MCP Server mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Archi MCP Server MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Archi MCP Server richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇