Skip to main content
Glama
README.md
# arcsync-mcp

An [MCP](https://modelcontextprotocol.io) server that gives coding agents (Claude Code, Cursor, GitHub Copilot and other MCP clients) the architecture graph [ArcSync](https://arcsync.dev) 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):

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

### Claude Desktop

Download `arcsync-mcp-<version>.mcpb` from the latest [release](https://github.com/VanLandinghamLabs/arcsync-mcp/releases/latest) 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):

```bash
brew install vanlandinghamlabs/tap/arcsync-mcp
```

On Windows, or without Homebrew, download the archive for your platform from [Releases](https://github.com/VanLandinghamLabs/arcsync-mcp/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](https://registry.modelcontextprotocol.io) 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](https://skills.sh) supports:

```bash
npx skills add VanLandinghamLabs/arcsync-mcp
```

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

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

## 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](https://docs.npmjs.com/generating-provenance-statements), 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.

```bash
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

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