Compile your own business capabilities from declarative YAML and serve them as MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A compiler for AI capabilities. You describe what your business can do, once, in business terms. Archstone compiles that 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.
A capability compiled by Archstone is running live. Point Claude at it:
Open Claude (web, desktop or mobile) β Settings (or Customize) β Connectors β Add custom connector β paste the URL. Then ask about a trip β a destination, dates, a budget. Works on Free too (one custom connector is all this needs).
Prefer a terminal:
The backend behind it is a plain HTTP service, and you can curl it directly β the same data the agent sees, deterministic so the shape is obvious:
The entire integration that made this callable by an agent is 12 lines of business YAML β no HTTP, no JSON Schema, no MCP SDK. Everything else was generated.
Point archstone init at an OpenAPI document. It reads the spec, asks you the questions no
document can answer, runs the real compiler over what it drafted, and writes nothing at all if
that does not compile.

The one answer it never guesses is effect β read, write or irreversible is the
difference between looking up a price and charging a card, and no spec says which. Where a
response could honestly be read two ways, it asks rather than picking. With --probe it will
also make one read-only call to your real backend and record a genuine fixture, so
archstone verify has something true to replay later.
The spec in that recording is
examples/demo/stays-openapi.yaml, describing the demo
backend in this repository β you can run it yourself.
ArtVinci β a custom-framing business β answers customer questions today through a capability compiled by Archstone. Real catalog, real prices computed live by their own backend. See the case study.
Writing your first MCP server is not the hard part β it is a few hundred lines, and you can do it in an afternoon.
The work is the fifth one. ChatGPT, Gemini and whatever ships next each want the same capability shaped slightly differently, every one of them is a separate integration project, and your API keeps changing underneath all of them at once.
Archstone is not an MCP server. It is a compiler that, in its first release, generates one.
One capability definition (CDL) lowers to a target-agnostic IR; emitters consume the IR. MCP today; REST Β· GraphQL Β· SDK tomorrow. Change the protocol and you regenerate β you do not rewrite. Change the backend and the CDL and the generated tool do not move at all.
That is what zero manual integration means: not that the first server is easy, but that the maintenance disappears instead of multiplying.
You describe capabilities in CDL (Capability Definition Language) β business only, no integration code. Archstone compiles that to a target-agnostic IR, and an emitter turns the IR into tools an AI agent can call. Swap the backend; the CDL and the generated tool do not change.
Capability outputs reference named resources (*.resource.yaml); the compiler resolves
them into a typed, described outputSchema, and a binding's response: mapping enforces
that shape at every call β a required field missing from the provider's response fails
closed (a structured error, never a silent raw pass-through). archstone verify replays a
recorded fixture against the live backend on demand and reports a π’/π‘/π΄ health status per
binding, so contract drift shows up before an agent hits it β naming the fields the provider
gained, lost or retyped, not merely reporting that something moved. Bindings whose capability
effect is not read are skipped by default (replaying a fixture is a real invocation), and
re-included only with --sandbox, an assertion that the backend is a sandbox tenant.
A field your manifest does not name never reaches a model. That is deliberate: your
provider's payload very likely carries wholesale rates, commissions or internal ids beside the
fields you publish, and a backend deploy adding one must not be a decision about what an
assistant can say. Declaring a new field is a separate, deliberate act β archstone adopt
offers each one, asks you to describe it, writes it into your resource and binding, and
recompiles before keeping anything. With stdin closed it refuses and writes nothing: it needs a
person, which is the point rather than a limitation.
From source (this repository):
From npm (standalone CLI):
Your business's CDL manifest (capabilities.yaml, *.capability.yaml, *.resource.yaml,
and bindings/*.binding.yaml) is authored and version-controlled in your own application
repository β never inside this Archstone repository or any other Archstone-owned repository.
@archstone/cli is a stateless compiler. It runs locally on your machine or in your own CI
pipeline with zero checkout of any Archstone repository required β public or private. Install
@archstone/cli from npm; point it at your manifest directory; it compiles to IR and reports
the result. That's the entire integration: no cross-repo credentials, no monorepo dependency,
no fetch-at-runtime.
Distinguishing "From source" above: the instructions above for exploring Archstone's source code are for contributors building Archstone itself. The real integration path for your business is to install
@archstone/clifrom npm into your own repository and wirearchstone apply/archstone build/archstone serve/archstone verifyinto your own build system. See the onboarding guide for the full walkthrough.
New here? Start with the onboarding guide β one path for providers (expose your business to agents) and one for contributors (build Archstone).
Rather than running archstone as a separate CLI or MCP server, you can embed the compiled
IR directly in your own agent loop. After building a portable IR with archstone build,
consumers can use the @archstone/agent SDK (RFC-0008):
For those who want HTTP-based MCP (e.g., to expose an embedded instance via Claude API's
mcp_servers), the /mcp subpath provides a mountable Streamable-HTTP handler:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/archstone)<a href="https://allmcps.com/mcp/archstone"><img src="https://allmcps.com/api/badge/archstone?style=directory" alt="Archstone on AllMCPs" /></a>