Skip to main content
Glama

@skeletiq/mcp

npm licence node CI

Design in SkeletIQ, build with your coding agent.

SkeletIQ turns a prompt into a critiqued system architecture — components, data stores, connections, decisions, open questions — that you refine on a canvas and then release. This MCP server hands that release to any MCP-capable coding agent: it orients from a brief written into your repository's AGENTS.md, builds in a deterministic order, and reports back what it built.

Install

Nothing to install — the server runs via npx.

You need a personal API token: in SkeletIQ, go to Settings → Agent access, create one, and copy it (it is shown once).

Claude Code

claude mcp add skeletiq \
  --env SKELETIQ_API_KEY=skq_your_token_here \
  -- npx -y @skeletiq/mcp

opencode

{
  "mcp": {
    "skeletiq": {
      "type": "local",
      "command": ["npx", "-y", "@skeletiq/mcp"],
      "environment": { "SKELETIQ_API_KEY": "{env:SKELETIQ_API_KEY}" },
      "timeout": 600000
    }
  }
}

The timeout matters. A generation runs for around 217 seconds typically and up to 450 at the limit; opencode's default is far below that, and it will kill a perfectly healthy run.

Any other host

Run npx -y @skeletiq/mcp over stdio with SKELETIQ_API_KEY in the environment.

Related MCP server: PactAI MCP

Configuration

Variable

Required

Default

Notes

SKELETIQ_API_KEY

yes

—

A personal API token, starting skq_. Not a browser session token.

SKELETIQ_API_URL

no

https://api.skeletiq.com

For self-hosted installs. A trailing /api/v1 is accepted and trimmed.

Every request carries a User-Agent of the form skeletiq-mcp/<version> (<host name>/<host version>), naming the MCP host that launched the server.

Scopes

A token grants only what you tick. The server's tools need:

Scope

What it unlocks

Tools

read

Projects, designs, briefs, build order, readiness, gaps, jobs

list_projects, get_design, get_generation_status

generate

Running generations — that spends credits — and payload critique, which is free

generate_architecture, critique_architecture

report

Recording what got built, and asking a person to change a decision. Needs read as well

check_drift, request_decision_change

read alone is a good starting point: the agent can orient and build, but cannot spend anything.

Two things the table above cannot say in a cell:

  • report on its own does nothing. check_drift and request_decision_change look the project and the version up before they can report against them, and those lookups are read. A report-only token is refused.

  • generate without read still generates, but the answer is thinner: the tool reads back the design it just created to describe it, and reports that failure as a thinner answer rather than a failed generation — telling an agent the generation failed would invite it to pay for the whole thing again.

Everything else is out of reach by construction — a token cannot mint another token, read or change your provider keys, see billing, or delete your account, whatever scopes it carries.

Tools

Tool

What it does

list_projects

Find a project by name. Returns the candidates rather than guessing between them.

get_design

Read a design, in one of nine modes: overview, component, brief, todo, readiness, build_order, gaps, fitness, decisions. readiness opens with a verdict-first headline ("22 of 24 met · Ready · score 87"). fitness lists the tests to write in your own repo and report through check_drift; decisions lists the version's decisions with what was chosen, why, and what was rejected. Where a version records its requirements, overview and component resolve the design's R-ids to the requirements they name, and say what became of each.

generate_architecture

Design a system from a prompt. Spends credits and takes minutes. A prompt that states no load comes back with a question instead, and nothing is charged: ask your human, and answer "Not sure yet" when they do not know rather than guessing.

get_generation_status

Poll a generation started with wait: false.

critique_architecture

Check a design against SkeletIQ's rules. Deterministic, free, stores nothing. Tell it the domain and the exposure.

check_drift

Report what you built; hear what is missing, half done, or not in the design.

request_decision_change

Ask a person to change a design decision, or poll a request you filed. A person on the project reviews it in To-do; nothing changes until they accept.

How a session goes

  1. list_projects → resolve the project a person named.

  2. get_design(mode: "brief") → write the fenced block into AGENTS.md.

  3. get_design(mode: "readiness") → see what is still undecided, and ask.

  4. get_design(mode: "build_order") → build in that order.

  5. get_design(mode: "component", component_id: …) → read each piece as you reach it.

  6. check_drift(covers: [...]) → report progress.

Four things to know

The brief is a managed block. It goes inside a skeletiq:brief HTML-comment fence in your AGENTS.md. A refresh replaces the whole block. Never append a second, and never edit inside one: your edits will disappear on the next refresh, silently.

A draft is not a release. An unreleased version changes on every canvas save, with nothing to tell your repository it moved. The tools label drafts, and tell you when a newer release exists.

Component ids belong to one version. A regeneration mints new ones. When check_drift returns unknown ids with suggestions, they are suggestions — put them to a person rather than assuming the mapping.

critique_architecture's optional inputs are not neutral. Omitting one does not skip a question; it answers it. With no domain, no compliance framework applies (secondary_domains select none — they add that domain's design checks as advice — so name a framework when it must apply), so no compliance finding is possible and the score comes back higher than the SkeletIQ app shows for the same design — by up to 15 points. With no exposure, the design is assessed as internet-facing, which is how an air-gapped system gets told to add a CDN and a WAF. The response says what was actually used — frameworks_checked and exposure_assessed — and the text output warns when a default was applied. Read those before reporting a score to a person.

Which model runs a generation

Whichever one the account holder chose under Settings → Agent access. The tools take no runtime argument, deliberately: the model asking for a design does not get to choose what it costs you.

Development

This repository is the source of the published @skeletiq/mcp package. The connector is developed in SkeletIQ's monorepo, alongside the API it talks to, and mirrored here — so the history you see is the package's real history, not a squashed snapshot. A pull request opened here cannot be merged, because the next sync would overwrite it; CONTRIBUTING.md explains what to do instead.

Node 20 or newer.

npm install
npm test          # vitest — hermetic: no network, no services, nothing to seed
npm run build     # tsup, to dist/index.js
npm run typecheck
npm run lint

The tests mock the SkeletIQ API rather than calling it, so a clean clone runs them without a token and without an account.

If npm install fails with Cannot read properties of null (reading 'edgesOut'), you are on npm 10.9.x — the version Node 22 ships — which cannot resolve this tree; vitest@4 alone triggers it. npm install -g npm@11 fixes it. This affects cloning and building only: installing the published package with npx works on that npm.

Licence

MIT — see LICENSE. Source: Sabhahith-Works/skeletiq-mcp — issues and questions go there.

The SkeletIQ platform is AGPL-3.0-or-later; this connector is MIT so it can be embedded, vendored and forked freely.

"SkeletIQ" is a mark of Sabhahith Works Private Limited — see NOTICE. Security reports go to security@skeletiq.com, not to the issue tracker: SECURITY.md.

Available Tools

6 tools
check_driftReport build progress and check driftB
Idempotent

Tell SkeletIQ which components you have built and get back what is missing, what is only half done, and what exists in the code but not in the design. Declare covers when this repository implements only part of the design. This changes nothing in SkeletIQ — an agent never writes back to a design.

Inputs: components (required), project_id (required), covers, version, +2 more. Returns: counts, in_sync, missing, partial, +8 more

critique_architectureCritique an architectureA
Read-onlyIdempotent

Check a design against SkeletIQ's architecture rules and get scored findings back. Deterministic and free — no model call, no credits, nothing stored. Useful on a design you drafted yourself before committing to it.

Inputs: domain, exposure, architecture_json, secondary_domains. Returns: findings, data_score, score_basis, finding_count, +8 more

generate_architectureGenerate a SkeletIQ architectureA

Design a system architecture from a prompt. This spends the account holder's credits and takes several minutes, so do not call it speculatively — if a design already exists, read it with get_design instead. Which model runs it is the account holder's stored setting; you do not choose it. Describe the system, what it must do, and the scale and constraints it runs under: whatever the prompt leaves out is assumed, and a prompt that names no system at all comes back as clarification_required with the questions to answer.

Inputs: prompt (required), wait, project_id, constraints, +1 more. Returns: title, job_id, status, version, +6 more

get_designRead a SkeletIQ designA
Read-onlyIdempotent

Read a SkeletIQ architecture. Start with mode "brief" to orient — it returns a fenced block to write into AGENTS.md — then "build_order" for the sequence and "component" for each piece as you build it. Every answer states which version it came from and whether that version is a release.

Inputs: mode (required), project_id (required), version, component_id. Returns: data, mode, version, project_id, +4 more

get_generation_statusCheck a queued SkeletIQ generationA
Read-onlyIdempotent

Check a background generation started with wait: false. When status is "completed", read the result with get_design.

Inputs: job_id (required). Returns: error, job_id, status, project_id, +4 more

list_projectsList SkeletIQ projectsA
Read-onlyIdempotent

List the SkeletIQ projects this token can see, optionally filtered by name. Use this first to turn a project a person named in conversation into an id. If more than one project matches, ask which — do not pick one.

Inputs: query. Returns: total, projects

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool occupies a clearly distinct role: listing projects, reading existing designs, generating new ones, polling generation status, critiquing a design, and checking drift. There is no meaningful overlap between any pair.

    Naming Consistency5/5

    All tool names follow the same lowercase snake_case verb_noun pattern (list_projects, get_design, generate_architecture, get_generation_status, critique_architecture, check_drift). The verbs are specific and consistently placed.

    Tool Count5/5

    Six tools is a well-scoped size for an architecture design assistant. Each tool covers a distinct stage in the workflow without redundancy or bloat.

    Completeness5/5

    The surface covers the full lifecycle an agent needs: discover projects, read designs, kick off generation, poll for completion, critique a proposed design, and verify built code against the design. No operation essential to the stated purpose is missing.

    Related MCP Connectors

    Related MCP Servers