Skip to main content
Glama

arcsync-mcp

An MCP server that gives coding agents (Claude Code, Cursor, GitHub Copilot and other MCP clients) the architecture graph ArcSync parsed from your infrastructure-as-code: Terraform, AWS CDK, CloudFormation, Pulumi, Azure ARM and Serverless Framework.

Tools: list_diagrams, get_diagram (Mermaid or JSON, plus a canvas link), describe_resource, get_delta, list_versions, start_parse, get_parse_status. For diagrams the agent writes itself: validate_diagram (local check), push_diagram (store it and get canvas and Notion embed links), get_diagram_source, list_icons.

Setup

Add to .mcp.json (no credential in it, so it is safe to commit):

{
  "mcpServers": {
    "arcsync": {
      "command": "npx",
      "args": ["-y", "arcsync-mcp"]
    }
  }
}

Claude Desktop

Download arcsync-mcp-<version>.mcpb from the latest release and open it: Claude Desktop installs the extension, with no config file to edit. Leave the two credential fields empty to connect in the browser (below), or fill in both with an MCP credential from Settings.

Without Node.js

Each release also ships a standalone binary. On macOS or Linux, Homebrew installs it (on Intel Macs, Homebrew installs the npm package on its own Node.js instead):

brew install vanlandinghamlabs/tap/arcsync-mcp

On Windows, or without Homebrew, download the archive for your platform from Releases and check it with gh attestation verify <archive> -R VanLandinghamLabs/arcsync-mcp. Then use "command": "arcsync-mcp" with no args, and arcsync-mcp login / logout in place of the npx forms below.

The server is listed in the MCP Registry as io.github.VanLandinghamLabs/arcsync-mcp.

Connect

The first tool call that reaches ArcSync returns a link to https://arcsync.dev/settings/mcp/connect. validate_diagram and list_icons work without connecting. Open it, sign in, and click Connect: ArcSync mints an MCP credential and hands it to the server over 127.0.0.1, which saves it to ~/.config/arcsync/mcp-credential.json (mode 0600) and uses it from the next call. From a terminal, npx -y arcsync-mcp login does the same; npx -y arcsync-mcp logout deletes the saved file.

For CI or a shared machine, create an MCP credential at https://arcsync.dev/settings instead and pass ARCSYNC_CLIENT_ID and ARCSYNC_CLIENT_SECRET in the server's environment; they take precedence over a saved credential.

Two agent skills ship in skills/: arcsync-mcp tells an agent when to call each graph tool, and arcsync-diagrams teaches it to write, validate and push its own diagrams. Install both for Claude Code, Codex, Cursor and the other agents the skills CLI supports:

npx skills add VanLandinghamLabs/arcsync-mcp

The skills do not install the server; add it as above.

Full guide: https://arcsync.dev/docs/mcp

Related MCP server: NEAT MCP Server

Source and development

This repository is mirrored from the ArcSync monorepo on each release, together with the ArcSync core modules the server uses (vendor/core/). Releases are published to npm from here with provenance, so npm view arcsync-mcp --json links each version to the commit and workflow run that built it. Issues and pull requests are welcome; accepted changes are ported to the monorepo and ship in the next release.

npm ci
npm test
npm run build            # dist/index.js, one self-contained file
npm run eval:diagrams    # arcsync-diagrams skill evals; after build, costs model calls

License

MIT

Available Tools

11 tools
describe_resourceDescribe a resourceA
Read-onlyIdempotent

Describe one resource in an ArcSync diagram: its type, IaC attributes, and every relationship in and out (what it calls, reads, is attached to, or is contained by). resource may be the resource id, its name, or a substring; an ambiguous match returns the candidates to choose from.

Inputs: graphId (required), resource (required).

get_deltaGet an infrastructure deltaA
Read-onlyIdempotent

Show what changed in a diagram's infrastructure. Without version, returns the pull-request delta for a PR-branch diagram: resources added, removed and changed compared with the base branch. With version (a timestamp from list_versions), compares that version with the one before it, or with the latest parse when against is "live".

Inputs: graphId (required), against, version.

get_diagramGet an ArcSync diagramA
Read-onlyIdempotent

Fetch one architecture diagram ArcSync parsed from infrastructure-as-code. format: "mermaid" (default) returns a Mermaid flowchart to show or embed; format: "json" returns the resources and relationships as lists to reason over. Both include a link to the interactive canvas. Prefer this to inferring architecture from source files.

Inputs: graphId (required), format.

get_diagram_sourceGet an authored diagram's sourceA
Read-onlyIdempotent

Return the stored ArcSync source text of an authored diagram (one pushed with push_diagram), to edit and push again. Takes the graphId push_diagram returned.

Inputs: graphId (required).

get_parse_statusCheck a parseA
Read-onlyIdempotent

Report the progress of a parse started with start_parse: status (pending, running, completed, failed, cancelled), the current phase and percentage, and the error when it failed. Takes the graphId start_parse returned, or the canonical graphId a completed parse reports.

Inputs: graphId (required).

list_diagramsList ArcSync diagramsA
Read-onlyIdempotent

List the architecture diagrams in the caller's ArcSync workspace (one per repository, branch and IaC path), newest first. Use it to find the graphId for a repository before calling get_diagram, describe_resource or get_delta. Optional query filters by repository URL, owner, repo name, branch, path or project type.

Inputs: limit, query.

list_iconsList diagram iconsA
Read-onlyIdempotent

List the icon ids a diagram node can use in @{ icon: "..." } (aws:lambda, azure:function-apps, gcp:cloud-storage, generic ones such as user), grouped by vendor. query filters by substring.

Inputs: query.

list_versionsList diagram versionsA
Read-onlyIdempotent

List the saved versions of a diagram (one per re-parse, newest first) with the commit each came from and how much it changed. Pass a version's timestamp to get_delta to see what it changed. Version history is a Pro feature.

Inputs: graphId (required).

push_diagramPush an authored diagramA

Validate ArcSync diagram source locally, then store it as a private diagram in the caller's workspace. Pushing the same diagramId again updates that diagram. Returns the canvas link and an embed link for Notion. Counts against the workspace's diagram and hourly limits; call validate_diagram first.

Inputs: source (required), title, diagramId.

start_parseDiagram a repositoryA

Ask ArcSync to clone a GitHub repository and parse its infrastructure-as-code (Terraform, CloudFormation, AWS CDK, Pulumi, Azure ARM, Serverless Framework) into a diagram. Returns a graphId at once; poll get_parse_status until it completes, then call get_diagram. Uses one parse from the workspace's monthly quota (CDK and Pulumi also use a server-side synth), so call list_diagrams first and reuse a diagram that already exists. Private repositories need the ArcSync GitHub App installed.

Inputs: repoUrl (required), path, branch.

validate_diagramValidate an authored diagramA
Read-onlyIdempotent

Check ArcSync diagram source (```arcsync blocks) locally, without pushing it: reports OK with node and edge counts, or INVALID with one line per problem (block:line:column, and a suggestion when one exists). Run it, fix every error, then call push_diagram.

Inputs: source (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 11 tools

    Disambiguation4/5

    Each tool targets a distinct step in the parse/author/inspect lifecycle, and descriptions clarify roles well. The only real overlap is get_diagram vs get_diagram_source (parsed output vs editable source) and validate_diagram vs push_diagram (which itself validates), though the latter overlap is explicitly documented as an intentional two-step flow.

    Naming Consistency5/5

    All 11 names follow a consistent snake_case verb_noun convention (list_diagrams, get_diagram, describe_resource, start_parse, get_parse_status, validate_diagram, push_diagram, etc.). No camelCase or naming-style mixing, and verb choices (list/get/describe/start/validate/push) are predictable.

    Tool Count5/5

    11 tools for an IaC-parsing and diagram-authoring server is well-scoped, with each tool mapping to a clear operation (discover, read, inspect delta, parse, validate, push, icons). Nothing feels redundant or padded.

    Completeness4/5

    The lifecycle is well covered: discovery (list_diagrams), reading (get_diagram, describe_resource, get_diagram_source), history (list_versions, get_delta), parsing (start_parse + get_parse_status), and authoring (validate_diagram + push_diagram). Minor gaps remain: no delete/remove diagram, no cancel_parse despite a 'cancelled' status, and no listing of authored diagrams separately.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI-powered architecture analysis and visualization of codebases, exposing 17 MCP tools for querying components, dependencies, and generating interactive diagrams.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides AI agents with a live architecture model of a codebase, enabling queries for root cause analysis, blast radius, and dependency traversal through MCP tools.
      33
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to query a local, multi-repo code graph for symbol exploration, blast radius analysis, co-change mining, and durable code-anchored memory via MCP tools.
      271 npm
      16
      Business Source 1.1