
Archstone
io.github.Archstone-RomaniaPublished by GitHub account Archstone-Romaniav0.26.0Updated Nov 4, 2026
Compile your own business capabilities from declarative YAML and serve them as MCP tools.
Overview
Compiles declarative YAML business capabilities into MCP tools and serves them locally over stdio, so an assistant can call your own backends.
- What you can do
- Draft a manifest from an existing OpenAPI document or a Postgres catalog
- Validate and compile manifests, and inspect what a model sees or never sees
- Serve compiled capabilities as MCP tools over stdio or HTTP
- Build a portable IR artifact and embed the tools in your own agent loop
- Replay recorded fixtures against the live backend to report drift, run offline pre-production checks, and read back the execution audit trail
- When to use it
- Use it when you want an AI assistant to call your own business systems through tools you describe in YAML rather than hand-written integration code, and you want to regenerate tools when the protocol or backend changes.
- Requirements
- Runs as a local process via npx or a global npm install of the CLI; Node 22 or later. Your manifest lives in your own repository. The README states that build and serve need no network call, account or key; HTTP serving uses a token flag.
Installation
In SourceWeft
- Open Archstone in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Archstone — connect your business to every AI
A compiler for AI capabilities. Describe what your business can do once, in business terms. Archstone compiles it into tools an AI agent can discover and call — MCP today, other protocols as they arrive. Nobody hand-writes integration code.
Open source, Apache-2.0.
Find what you need
Try it — 60 seconds, nothing to install
A capability compiled by Archstone is running live:
-
Claude app (web, desktop or mobile): Settings → Connectors → Add custom connector → paste the URL, then ask about a trip. Works on the Free plan.
-
Claude Code:
The read-only tools need no key. The demo's booking tools do; its two public keys are listed in the showcase. To send one, add the server with the header after the name and URL (
--headertakes every word that follows it, so placed earlier it swallows them):
The whole integration behind it is 12 lines of business YAML — no HTTP, no JSON Schema, no MCP SDK. Everything else was generated.
Want this in front of your own systems? [email protected].
Start from an API you already have
init drafts a manifest from an OpenAPI document, asks you what no spec can answer, and writes
nothing unless the result compiles.
[archstone init reading an OpenAPI document and writing a compiling CDL manifest]
Details: onboarding → archstone init.
The spec in the recording is examples/demo/stays-openapi.yaml.
Install
Node 22+. Your manifest lives in your own repository; the CLI is a stateless compiler that needs no checkout of this one (why).
Commands
apply also warns about what an irreversible capability still lacks — here, removing its
declared failures adds a warning, and restoring them clears it:
[archstone apply warning that an irreversible capability declares no failures]
Each command is covered in the onboarding guide.
Working from a checkout of this repository instead? Use pnpm apply, pnpm serve, … — see
contributor onboarding.
How it works
- CDL (Capability Definition Language) describes what you offer — business terms only.
- Bindings say how each capability reaches a backend (REST or SQL). The SQL connector guide walks through a Postgres one.
- The compiler lowers both to a target-agnostic IR; emitters turn the IR into tools.
Change the protocol and you regenerate instead of rewriting. Change the backend and the CDL does
not move. A worked example: examples/manifests/booking/.
Embed it in your own agent
No MCP server process needed — load a built IR with
@archstone/agent:
A mountable Streamable-HTTP MCP handler is available at @archstone/agent/mcp. Full API:
packages/agent.
Guarantees
These are ratified decisions, not implementation details — each links to its reasoning.
All decision records: docs/adr/.
Who is running it
ArtVinci, a custom-framing business, answers customer questions through a capability compiled by Archstone — real catalog, prices computed live by their own backend. Case study.
Why a compiler, and not an MCP server
The first MCP server is an afternoon's work. The fifth — ChatGPT, Gemini and whatever ships next, each shaped slightly differently, all on top of an API that keeps changing — is the real cost. Archstone is a compiler that, in its first release, generates an MCP server, so that maintenance does not multiply with every new protocol.
Open source and commercial
Everything needed to turn a manifest into something an agent can call — language, compiler, IR, emitters, embedded SDK and CLI — is Apache-2.0 and stays that way. What we will sell is operating it for you: hosted audit retention, managed rate limits, drift monitoring and multi-tenant hosting. See ADR-0005.
Documentation
Repository layout
How this project uses generative AI
Archstone is written with substantial AI assistance — Anthropic's Claude, through Claude Code —
for implementation, tests and documentation. The decisions are not generated: every
structural choice is an ADR, argued and ratified by an accountable person before the code, and
a patch nobody can explain does not merge. Commits with generated code name the model in their
co-authorship trailer. What we ask of contributors:
CONTRIBUTING.md.
Contributing
CONTRIBUTING.md and the
contributor onboarding. Node 22+, pnpm 11+;
pnpm typecheck && pnpm test green before you open a PR.
License
Copyright 2026 NousVigil LLC. Licensed under Apache-2.0; see also NOTICE.
Source: README.md at commit 55d696f
Tools
0Version history
6- v0.26.0LatestSep 30, 2026
- v0.25.0Sep 25, 2026
- v0.24.0Sep 24, 2026
- v0.23.0Sep 20, 2026
- v0.22.1Sep 17, 2026
- v0.11.5Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts