Skip to main content
Glama

Charter AI

A local-first PRD/BRD vault with an MCP layer that keeps AI-built software inside its approved scope.

When you build software with an AI assistant, scope grows one prompt at a time. Charter keeps the agreed scope next to your code and puts it in the assistant's path. The assistant checks each new feature against the approved requirements before building it. Anything outside them becomes a change request that you approve or reject.

Download the latest release for Windows or Linux. It's free and open source.

Get started

  1. Install the desktop app. Download an installer from the Releases page and install it (see Install). You'll also need git and Node.js 22+, which runs the MCP server.

  2. Create a project. Open Charter AI, click New project (or Open project on a folder that already has code), and click Create. Charter sets up the vault in .charter/ and connects AI agents to the project (see Connect your AI agent).

  3. Write your scope. Fill in the PRD and BRD, and add and approve requirements in the app.

  4. Start your AI agent in the project folder. It checks every change against your approved requirements and files a change request for anything new. Approve or reject requests in the app.

Related MCP server: claude-bridge-mcp

Connect your AI agent

Charter talks to AI coding agents through an MCP server that ships inside the desktop app. It needs Node.js 22+.

Claude Code (automatic). When the app creates or opens a project, it writes .mcp.json in the project folder (keeping any other servers there) and adds Charter's rules to CLAUDE.md. Start Claude Code in that folder and it's connected:

cd ~/Projects/my-app
claude

Approve the charter server when Claude Code asks. The dot at the right of the app's header turns to AI connected once an agent is using the project. If Node.js wasn't installed when the project was created, install it and click Set up AI connection in the app.

Other MCP clients (Cursor, Windsurf, VS Code, Claude Desktop and others). Add a stdio server that runs the bundled server with Node, pointing --vault at your project:

{
  "mcpServers": {
    "charter": {
      "command": "node",
      "args": ["<app data>/mcp/charter-mcp.js", "mcp", "--vault", "/path/to/my-app"]
    }
  }
}

<app data> is ~/.local/share/dev.charter.app on Linux and %APPDATA%\dev.charter.app on Windows. The app puts the server there the first time it runs. Then give the agent Charter's rules: copy the Charter section of the CLAUDE.md that setup wrote into your client's rules file (for example .cursor/rules or AGENTS.md). The server also sends the rules to the agent when it connects.

How it works

 you ──▶ Charter app ──▶ .charter/ (markdown vault) ◀── Charter MCP server ◀── AI assistant
         write PRD/BRD     source of truth, in git       read scope, check changes,
         approve changes                                 propose changes, link work
  • Vault (.charter/): plain markdown with YAML frontmatter, like an Obsidian vault. Each project chooses where it goes: Keep local (the default) git-ignores .charter/, so requirements, change requests and client emails stay on your computer and never reach the repo (good for open-source projects); Push with the code commits it like any other file, so cloning the repo brings it along. Change it later with charter storage local|push or from the app; switching to Keep local can also remove .charter/ from the git history. Charter never pushes.

  • MCP server: the layer the assistant goes through. It can read and propose changes, but only you can approve scope.

  • Desktop app: a Tauri + React + CodeMirror editor for the vault: open a project, edit documents, approve or reject change requests.

No API key is needed. The assistant connected over MCP does the reasoning, and Charter supplies the scope and records the decisions.

Charter does not infer. A change is in scope only when an approved requirement states it explicitly. If it isn't written in a requirement, however small, it's a change or addition, and it becomes a change request.

Vault layout

.charter/
├── charter.yaml        # project name, format version
├── prd.md              # product requirements
├── brd.md              # business requirements
├── topics/             # TOP-001-*.md, parent topics that group requirements
├── requirements/       # REQ-001-*.md, status: draft | approved | done | dropped, topic: TOP-xxx
├── exclusions/         # OOS-001-*.md, things explicitly out of scope
├── changes/            # CR-001-*.md, status: proposed | approved | rejected
└── trace.jsonl         # work ↔ requirement links (append-only)

Only approved and done requirements count as in scope.

MCP tools

Tool

Purpose

charter_get_scope

Approved requirements grouped by topic, exclusions, open change requests and the PRD

charter_get_requirement

Full text of one REQ, OOS or CR

charter_check_change

Checks a change against scope. in_scope only when the AI cites an approved requirement and quotes the sentence that states the change, which Charter verifies word for word. Otherwise not_covered or conflicts_with_exclusion, with a conflict table

charter_propose_change

Records an out-of-scope request as a proposed change request under a parent topic (existing, or a new one when none fits), and returns a waitCommand

charter_wait_for_decision

Blocks until a change request is approved, rejected or gets a question (with a timeout)

charter_answer_question

Submits the user's answer to a reviewer's question and revises the request with it

charter_start_work

Starts a work session on approved requirements and returns a watchCommand that wakes the agent if they change mid-task

charter_acknowledge_changes

Records the user's decision (continue, or change direction) on mid-task requirement changes

charter_add_intake

Loads one email, found with the agent's own email tools, into Intake (never the same email twice)

charter_list_intake / charter_classify_intake

Lists waiting intake emails; files one as a change request, a bug or no action

charter_list_bugs / charter_resolve_bug

Lists open bugs with the requirement each breaks; marks one fixed

charter_link_work

Links finished work to the requirement ids it serves, and ends the work session

One change request per feature

When a request holds several features, the agent files one change request for each, so every feature is approved or rejected on its own. You see one table with a row per request, and the agent waits on all of them, building each approved feature as its decision arrives. An intake email asking for several things likewise becomes several change requests, each linking back to the email.

Free Build

The Free Build switch at the top of the Change requests tab lets you build quickly and approve afterwards. While it's on (the header shows Free Build on), charter_check_change answers free_build instead of not_covered: the agent builds without a change request, and Charter records each change and, from charter_link_work (with no requirement ids), what was built and the files changed in .charter/free-build.jsonl. Exclusions still apply. Turning it off turns the record into change requests, one per feature, marked Built in Free Build. Approve one and its requirement is added, so scope matches the code. Reject one and Charter only records that the built code is out of scope; removing the code is up to you. The record is then cleared.

Approving resumes the agent

When the assistant proposes a change, it doesn't just stop. It waits for your decision:

  1. The assistant calls charter_propose_change and tells you a change request is waiting.

  2. It waits. Claude Code runs the returned charter wait CR-xxx command as a background task and ends its turn. Other clients call charter_wait_for_decision.

  3. You click Approve and add to scope (or Reject) in the app.

  4. The wait finishes, and the assistant wakes up and builds the change under the new requirement, or drops it if you rejected it.

This needs the assistant's session to still be open. A closed session is not restarted.

Topics

Requirements are grouped under parent topics (topics/TOP-xxx.md). When the AI proposes a change, it must pick an existing topic, or propose a new one when nothing fits. Charter never picks a topic itself. The reviewer sees the topic on the change request and can change it before approving. Approving files the new requirement under that topic, and creates the topic first if it's new. In the app, the Requirements tab groups requirements under collapsible topic headings, with search. You can also move a requirement to another topic, or right-click a topic to rename or remove it.

Sub-topics. A topic can have sub-topics, one level deep (a topic file with parent: TOP-xxx). New requests use the most specific fit: an existing sub-topic, then an existing topic, then a new sub-topic (new_topic_parent), then a new topic. In the app, sub-topics are nested under their topic. Right-click a topic and choose New sub-topic to add one.

Mid-task requirement changes

Before building, the agent calls charter_start_work with the requirements the task implements, and runs the returned charter watch command in the background. The watcher wakes the agent if, during the task, someone approves, edits or removes a requirement in the same topic or sub-topic, changes one of the task's own requirements, or adds an exclusion. Every Charter reply during the session also carries pending changes as a backstop. The agent then pauses, shows the developer only this table, and asks whether to continue or change direction:

Requirement

What changed

By

REQ-021-abc Gift card payments

Approved (same topic: Checkout)

Bea

REQ-006 Color scheme

Text: "blue and cream" → "green and cream"

Bea

REQ-004 Desktop vault editor

Title: "Vault editor" → "Desktop vault editor"; Status: draft → approved

Bea

The answer is recorded with charter_acknowledge_changes. When a developer says they're working on an area (for example "the UI"), the agent starts a session on those topics right away (charter_start_work with topics, sub-topics included). In the app, edits stay unsaved until you click Save (or press Ctrl+S). Saving is what developers' agents see, so half-typed edits never trigger an alert. Leaving a document with unsaved changes asks whether to save, discard or cancel. Sessions are local to the machine (.charter/.sessions/, git-ignored). This is a soft stop: file edits aren't blocked.

Intake and bugs

Charter doesn't connect to email itself. Your AI agent already has your email (for example a Gmail MCP connector), so ask it to put an email through Charter: "put the latest email from client@example.com through Charter". The agent finds the email with its own tools, loads it into .charter/intake/ with charter_add_intake (the same email is never added twice: matched by Message-ID, or by sender, date and subject), and classifies it right away unless you only asked to add it.

Emails that weren't classified wait in Intake until someone clicks Classify with AI. That runs your AI tool in the project folder (by default Claude Code, claude -p, allowed only Charter's tools; change the command on the Intake tab), which files each email with charter_list_intake and charter_classify_intake:

  • Change request: asks to change or add something no approved requirement states. Filed for approval, with the sender as the requester.

  • Bug: something not working as an approved requirement states, citing it and quoting the sentence. Goes to the Bugs tab.

  • No action: anything else (thanks, scheduling).

Developers' agents pull open bugs with charter_list_bugs and close them with charter_resolve_bug. Bugs can also be added and edited by hand on the Bugs tab.

Desktop app

  • Home screen: every time the app opens it shows the home screen: New project, Open project, and your recent projects (up to 10). Each recent project shows a count of its waiting change requests and intake emails. A project whose vault is gone shows Not found, with Remove.

  • Header: the app icon sits at the left end of the header bar. At the right end, a dot shows whether an AI agent is connected to this project on this computer (AI connected, or 2 AI agents connected; hover for the agent's name). The app checks every 5 seconds, using presence files the MCP server keeps in .charter/.sessions/agents/.

  • Change requests tab: requests waiting for a decision as a 3-column grid of cards (id, title, summary, topic, requester, status, unanswered questions), newest first. Click a card to open it; ← All change requests goes back. Rejected requests sit in a collapsed Rejected section. A floating Approve all button approves every Proposed request after one confirmation listing them (requests in Needs info are skipped).

  • No AI connected: click it to open a terminal in the project folder, so you can start your AI agent there. On Linux it tries $TERMINAL, then xdg-terminal-exec and common terminals; on Windows, Windows Terminal, then cmd. If none starts, a warning says so.

Structured requests

When proposing a change, the agent can also give a short summary, the included features, and questions about ambiguities (all optional fields of charter_propose_change). Clicking such a change request or requirement in the app shows the summary, a Clarifying questions button with how many are answered, and a 3-column grid of feature cards; the full text stays below, collapsed. The button switches to a grid of question cards: click one to type an answer, then Save (Ctrl+S) writes the answers into the change request. It stays waiting for approval, and the agent can read the answers with charter_get_requirement. Approving copies the summary, features and answered questions onto the new requirement. Requests without these fields show their text as before.

Clarifying questions

A vague request doesn't have to be approved or rejected as is. The reviewer clicks Ask a question, and the request moves to needs_info. The requester's waiting agent wakes with the question and puts it to the requester, who must answer it themselves. The agent then calls charter_answer_question, which records the answer and rewrites the request with it (revision goes up by one). The request goes back to the reviewer, who sees the question-and-answer thread above it and can approve, reject or ask again.

Single user

Charter is a single-user tool (REQ-034-bpn). There are no shared vaults, no charter branch and no automatic git sync: the vault is plain files in your project's repo. Clone a project that uses Charter and it works right away.

Projects set up by older versions kept the vault on its own charter branch, checked out at .charter/. Opening one in the app, or running charter init in it, converts it once: the files become an ordinary .charter/ folder on your code branch, .charter/ is removed from .gitignore, and both are staged for you to commit. The old charter branch is left as it is.

Install

Charter runs on Linux and Windows (Windows 10 and 11, x64): the desktop app, the MCP server and the charter CLI. macOS isn't supported.

Download the installer for your system from the Releases page:

Platform

Installer

Install

Remove

Arch / Omarchy

charter-<version>-x86_64.pkg.tar.zst

sudo pacman -U <file>

sudo pacman -R charter

Any Linux

Charter-<version>.AppImage

make it executable and run it

delete the file

Debian / Ubuntu

Charter_<version>_amd64.deb

sudo apt install ./<file>

sudo apt remove charter

Fedora

Charter-<version>-1.x86_64.rpm

sudo dnf install <file>

sudo dnf remove charter

Windows

Charter-<version>-setup.exe

run it (installs for the current user, adds Charter to the Start menu)

Settings › Apps

The installers contain the desktop app and a bundled copy of the MCP server and CLI, which run with Node.js 22+. Project setup needs git (Git for Windows on Windows). The commands Charter gives agents (waitCommand, watchCommand) are quoted for PowerShell on Windows.

Windows may show a SmartScreen warning because the installer isn't code-signed: click More info, then Run anyway.

Build the installers yourself

npm run package builds the desktop app's installers for the machine it runs on into dist/installers/. npm run package -- arch deb builds only some of the Linux ones. The Arch package needs Arch (makepkg); the Windows installer is built on Windows. Pushing a version tag (git tag v0.1.0 && git push --tags) builds all of them on GitHub Actions and attaches them to a draft release. The version comes from apps/desktop/src-tauri/tauri.conf.json.

Development

Requirements: Node 22+. The desktop shell also needs Rust (rustup) and the Tauri system dependencies.

npm install
npm test          # builds core + mcp, runs core tests
npm run desktop   # frontend dev server on :1420
npm run tauri -w @charter/desktop dev   # native window (needs Rust)

Use Charter in another project

In the app, Open… a folder without a vault and click Create. Or from a terminal:

node /path/to/charter-ai/packages/mcp/dist/cli.js init ~/Projects/my-app --name "My App"

Either way, setup does everything, skipping whatever is already done (so it's safe on a folder with code):

  • git init (branch main) if the folder isn't a repository yet;

  • creates the vault in .charter/ (or converts one left on an old charter branch);

  • writes .mcp.json (keeping other servers) and Charter's rules in CLAUDE.md, so AI assistants started in the project are gated from the start;

  • makes the first commit on the code branch (vault included) if it has none. Otherwise commit .charter/ with your code yourself.

It never creates branches and never pushes.

Git needs a name and email first (git config --global user.name … / user.email …); without them setup stops before creating anything. The app carries its own copy of the MCP server (bundled into every installer) and keeps it at a stable path in its data folder (~/.local/share/dev.charter.app/mcp/charter-mcp.js, or %APPDATA%\dev.charter.app\mcp\charter-mcp.js on Windows), so .mcp.json points there and nothing has to be located. It needs Node.js 22+; without it the project is still created, and Set up AI connection adds the connection once Node.js is installed. charter init points at its own location.

Charter AI is built under its own scope gate. Its maintainer's vault is kept local (Keep local), so it isn't in this repo; .mcp.json shows the connection used while developing.

Layout

packages/core   vault parsing, scope checks, change requests, trace
packages/mcp    MCP server + `charter` CLI
apps/desktop    Tauri + React desktop app

License

Copyright © 2026 dleadmanps.

Charter is free and open source under the GNU General Public License v3.0 (GPL-3.0-only). You may use it for any purpose, including commercially, study and modify it, and share it, as is or modified. If you distribute Charter or a program built on it, you must release that program's source under the GPLv3 too, and keep the copyright and license notices.

Commercial licenses: to build Charter into a product without releasing your source under the GPLv3, commercial licenses are available from the author. Open an issue on this repository to ask.

Donations: if Charter is useful to you, donations are welcome: donate with Stripe.

Contributing

Contributions are welcome. Read CONTRIBUTING.md first: by contributing, you allow the author to include your work in commercial versions of Charter as well as the free one.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for project planning inside Claude. It tracks progress, knows your codebase, and resumes exactly where you left off every session.
      5
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that lets ChatGPT or any MCP client securely delegate coding tasks to a local Claude Code instance, with git checkpointing, approval gates, and structured results. Supports code review, test running, and rollback via simple tool calls.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Standardize Context, Not Intelligence. An open protocol and native MCP server for preserving, organizing, and serving structured project context (architecture, decision logs, domain rules, and roadmap) to AI coding assistants (Cursor, Claude Desktop, Antigravity) with built-in CLI verification
      MIT