Birkly
by Raaakete
README.md
# Birkly
**An open-source CMS for humans and AI.**
[](https://github.com/Raaakete/Birkly/actions/workflows/ci.yml)
[](https://glama.ai/mcp/servers/Raaakete/Birkly)
A modular, API-first PHP CMS with a predictable architecture, no build step, no external core dependencies, and an optional database. Content lives as JSON on disk by default — upload a release zip, run, and manage everything from `/admin`.
### Admin
The admin is where you define collections, edit entries, manage media, and install plugins. The same Public API and MCP surface powers your site, automation, and AI agents.

### Content model
| Concept | What it is |
|---------|------------|
| **Collection** | A content type: field schema, permissions, and how entries are created (admin-only or public API). Stored under `content/collections/{handle}/`. |
| **Entry** | One item in a collection (e.g. a blog post or service page) — typically one JSON file in `entries/`, editable in admin or via API. |
| **Project** | Your public site files (`project/`): HTML, CSS, and templating wired to collections through `birkly-client.js` or direct API calls. |
See [What is Birkly?](https://docs.birkly.io/00-overview/what-is-birkly.html) in the docs for a longer introduction.
### Alpha release
Try the current self-host build from **[Releases](https://github.com/Raaakete/Birkly/releases)** — download `birkly-release.zip`, extract, open **`0_START-HERE.html`**, then run `./start-server.sh`. Versioning: **0.0.x** alpha, **0.1.x** beta, **1.0.0** first stable — details in [RELEASE.md](RELEASE.md).
## Ops telemetry (optional)
When enabled (default), the CMS may send pseudonymous install telemetry to Birkly Ops for update notices and feedback-relay provisioning. Hostname and site URL are not included. You can turn this off under **Settings → System → Ops telemetry**. See [PRIVACY.md](PRIVACY.md) for the exact fields; feedback email is relayed only when the submitter allows contact.
## Quick start
1. Extract the release zip on your server (or run locally).
2. Open **`0_START-HERE.html`** for setup steps.
3. Start the built-in server for local testing:
```bash
chmod +x ./start-server.sh
./start-server.sh
```
Admin: [http://localhost:8080/admin](http://localhost:8080/admin)
Create the first admin user when the browser setup has not done it yet:
```bash
BIRKLY_ADMIN_PASSWORD='YourPassword123!' php scripts/create-default-user.php
```
The default email is `admin@localhost`. Pass `--email=you@example.com` to use another. If an admin account already exists, the script leaves it unchanged.
## MCP server
Birkly has a built-in [MCP](https://modelcontextprotocol.io) server, so AI apps like Claude, ChatGPT, Cursor or VS Code can work with your site directly. Agents can read and edit collections, entries, pages, media and settings. Every connection uses a Birkly role, so an agent can only do what that role allows, and writes still go through your AI app's approval prompts.
**Connect an AI app (recommended):** open **Settings → AI** in the admin, copy your personal connector URL and add it as a custom connector in your AI app. You sign in with your Birkly account (OAuth).
```
https://your-site.example/mcp/agents/ai_agent_personal
```
**Local or stdio-only clients:** use `mcp-bridge.js` with an MCP API key from **Settings → AI**:
```json
{
"mcpServers": {
"birkly": {
"command": "node",
"args": ["/path/to/birkly/mcp-bridge.js"],
"env": {
"BIRKLY_URL": "http://localhost:8080",
"BIRKLY_MCP_API_KEY": "your-key"
}
}
}
}
```
## Where your site lives
| Path | Purpose |
|------|---------|
| `content/collections/` | Entries and collection schemas (JSON) |
| `project/` | Public website files (HTML, CSS, assets) |
| `media/` | Uploaded files |
| `plugins/` | Installed extensions (empty on fresh install) |
| `settings/` | Site and plugin configuration |
Install plugins from the [Birkly Marketplace](https://marketplace.birkly.cloud) or upload a plugin zip in **Settings → Plugins**.
## Privacy and Ops telemetry
By default, the CMS sends **pseudonymous installation telemetry** to Birkly Ops so you receive update notices and (when enabled) relay in-admin feedback. Payloads include an installation id, CMS version, and release channel — not your public site URL or HTTP host on registration. You can turn this off under **Settings → System → Ops telemetry**, or set `"ops_telemetry_enabled": false` in `settings/platform.json`. See [PRIVACY.md](PRIVACY.md) for exactly what is sent when telemetry is on. Feedback reports only include your account email when you opt in to follow-up on that form.
## Documentation
- **[Birkly-Docs](https://github.com/Raaakete/Birkly-Docs)** — guides, API reference, plugin development
- **[GitHub Discussions](https://github.com/Raaakete/Birkly/discussions)** — community Q&A, ideas, and show-and-tell ([welcome thread](https://github.com/Raaakete/Birkly/discussions/931))
- **[CONTRIBUTING.md](CONTRIBUTING.md)** — issues and pull requests for the open-source CMS
- **[SECURITY.md](SECURITY.md)** — vulnerability reporting and secure self-hosting
## Production
1. Upload the release files to your web host (Apache or Nginx).
2. Apache: use the included `.htaccess` when available.
3. Nginx: see `nginx.conf.example` in the full development repository.
4. Point your domain at the install; admin is at `/admin`.
**Docker / Dokploy:** one volume at `/app/data` — see [docs/deployment/docker.md](docs/deployment/docker.md).
```bash
docker run -d --name birkly -p 8080:80 -v birkly-data:/app/data ghcr.io/raaakete/birkly
```
Then open [http://localhost:8080/admin](http://localhost:8080/admin) and create the admin account once.
## Local development (maintainers)
Official plugin sources and the full test suite live in the private **Birkly-Marketplace** ops repository. Clone it alongside this repo and run CI from there — see `CONTRIBUTING.md`.
```bash
./scripts/install-dev-plugins.sh # optional: install official plugins for dev
```
## Releases
Self-host builds are published on [GitHub Releases](https://github.com/Raaakete/Birkly/releases). Versioning follows [RELEASE.md](RELEASE.md): **0.0.x** alpha, **0.1.x** beta, **1.0.0** first stable release.
## License
Birkly is released under the GNU Affero General Public License v3.0 or any later version. See [LICENSE](LICENSE).
Plugins that use only Birkly's plugin interface may use any license, including commercial licenses. See the Birkly Plugin Exception in NOTICE.
The Map field includes [Leaflet](https://leafletjs.com) 1.9.4 so the admin map works without loading it from another website. Leaflet stays under the BSD 2-Clause license in `fieldtypes/Map/leaflet/LICENSE`. That license applies only to those files.This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo recent community issues