# emdash-cms/emdash

> emdash is a full-stack TypeScript CMS built on Astro, meant for building content sites with an admin panel, content types and plugins. It is added to an Astro project as an integration, which supplies the admin panel, REST API, authentication, media library and plugin system. The project is written in TypeScript.

Source: https://github.com/emdash-cms/emdash
Indexed: commit e8e8a2d on 2026-07-13 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: MCP server
- Language: TypeScript
- Stars: 14,425 at index time
- License: MIT
- Code health: 7.6/10, Good
- Last commit: 2026-07-13

## Install

From the README: https://github.com/emdash-cms/emdash#get-started

Clone the emdash repository.
    git clone https://github.com/emdash-cms/emdash.git

Move into the emdash folder.
    cd emdash

Install the dependencies with pnpm.
    pnpm install

Seed the demo site, which runs on Node.js and SQLite and needs no Cloudflare account.
    pnpm --filter emdash-demo seed

Start the demo site and its admin.
    pnpm --filter emdash-demo dev

## How it works

The packages/core directory is an Astro integration that provides the admin UI, APIs, authentication and CLI once it is added to astro.config.mjs. Content types are stored in the database, and each collection becomes an SQL table with typed columns that the Astro site reads with getEmDashCollection. packages/cloudflare is the adapter that maps the database, storage and plugin loader onto D1, R2 and Worker Loader, while other databases and storage backends work through portable abstractions. Plugins are built with the definePlugin API and run in sandboxed Worker isolates on Cloudflare, with first-party plugins such as forms, embeds and SEO in packages/plugins. packages/core/src/mcp/server.ts provides the built-in MCP server that lets AI tools work with the site, and the templates directory holds starter sites such as blog, marketing and portfolio.

- .flue/scripts/run-local.ts: entry point
- .github/scripts/attach-plugin-tarballs.mjs: entry point
- .github/scripts/check-no-major.mjs: entry point
- .github/scripts/release.mjs: entry point
- .github/scripts/resolve-bonk-model.mjs: entry point
Modules: packages, templates, docs, infra, demos, .github, skills, apps. 2,388 files, 454,532 lines, 16,869 symbols.

## Code health

- Score: 7.6/10 (Good)
- Rank: #97 of 4,000+ indexed repos
- Hotspots: packages/core/src/emdash-runtime.ts, packages/admin/src/components/ContentEditor.tsx, packages/core/src/taxonomies/index.ts, packages/core/src/mcp/server.ts, packages/core/src/loader.ts
- Lowest file: packages/core/src/emdash-runtime.ts
- Dead code: 433 findings

## Maintenance

- Last commit 2026-07-13
- bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/emdash-cms/emdash/security

## More

- Page: https://repowise.dev/repo/emdash-cms/emdash
- Ask this codebase: https://repowise.dev/repo/emdash-cms/emdash/chat
- Docs: https://repowise.dev/repo/emdash-cms/emdash/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/emdash-cms/emdash
