# Archstone

> Archstone is an open-source MCP server for developer tools. Compile business capabilities written in YAML into MCP tools for AI assistants. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, API
- **Website:** https://archstone.dev
- **Repository:** https://github.com/nousvigil/archstone
- **MCP Registry name:** io.github.NousVigil/archstone
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

Capabilities are written in a declarative language the project calls CDL, in business terms rather than HTTP or JSON Schema. The compiler turns them into an intermediate form and then into tools an agent can discover and call. The README shows a tourism search capability that is 12 lines of YAML, served live from a public demo endpoint.

The command line covers the full loop: `init` drafts a manifest from an OpenAPI document or a Postgres catalog, `apply` validates and compiles, `serve` exposes MCP tools over stdio or HTTP, `verify` replays recorded fixtures against the live backend to report drift, and `doctor` runs an offline pre-production checklist. Your manifest lives in your own repository; the CLI is a stateless compiler.

The website pitches a hosted console for small businesses that want customers to add their prices and stock to an AI assistant, with a free tier until 1 December. The core compiler is Apache-2.0.

## Features

- **Declarative YAML manifests:** Describe what a business can do in business terms, with no hand-written integration code.
- **Manifest from OpenAPI:** `archstone init` drafts a manifest from an OpenAPI document and writes nothing unless it compiles.
- **Drift verification:** `verify` replays recorded fixtures against the live backend and reports differences, with JSON output for CI.
- **Stdio and HTTP serving:** `serve` exposes the compiled tools over stdio, or over HTTP with a bearer token.
- **Exposure report:** `apply --exposure` lists what a model can and cannot see.
- **Embeddable:** `build` writes a portable artifact so you can call capabilities from your own agent loop.

## Good for

- Publish a shop's live prices and stock to customers' AI assistants
- Turn an existing OpenAPI spec into MCP tools without writing server code
- Let staff ask about projects, stock and money in plain language, with human approval before actions
- Check in CI that a capability still matches its backend

## Install

### Claude Code (Terminal)

```sh
claude mcp add archstone -- npx -y @archstone/cli
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "archstone": {
      "command": "npx",
      "args": [
        "-y",
        "@archstone/cli"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "archstone": {
      "command": "npx",
      "args": [
        "-y",
        "@archstone/cli"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "archstone": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@archstone/cli"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "archstone": {
      "command": "npx",
      "args": [
        "-y",
        "@archstone/cli"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "archstone": {
      "command": "npx",
      "args": [
        "-y",
        "@archstone/cli"
      ]
    }
  }
}
```

## FAQ

### What does it need to run?

The CLI installs from npm as @archstone/cli and needs Node 22 or newer.

### Is it open source?

The README says the core is open source under Apache-2.0, with some parts sold commercially.

### Can I try it without installing anything?

A live demo capability is served at https://demo.archstone.dev/mcp and can be added as a custom connector in Claude.

### Can it start from a database?

Yes, `init` can draft a manifest from a Postgres catalog as well as from an OpenAPI document.

### Is Archstone free?

Yes. Archstone is open source, so you can use and self-host it for free.

### How do I add Archstone to Claude Code?

Run this command in your terminal: claude mcp add archstone -- npx -y @archstone/cli

### What are the best alternatives to Archstone?

The closest alternatives to Archstone are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/archstone-2
