1. Conduid
  2. AI
  3. Kirby MCP
MCP server · AI

Kirby MCP

CLI-first MCP server for composer-based Kirby CMS projects — inspect blueprints/templates/plugins, interact with a real Kirby runtime, and use a bundled Kirby knowledge base.

75Good

Scored 4 hours ago · breakdown

About Kirby MCP

Kirby MCP is an MCP server published by bnomei in the AI category: cLI-first MCP server for composer-based Kirby CMS projects — inspect blueprints/templates/plugins, interact with a real Kirby runtime, and use a bundled Kirby knowledge base.

The repository has 63 stars and 3 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/bnomei/kirby-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Kirby MCP

Powered by Claude · Grounded in docs

I know everything about Kirby MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v6.0.1v6.0.1 — Clearer documentation and leaner installs · 15 Oct 2026Documentation and packaging update; no runtime behavior changes. Reorganize the README around capabilities, quick setup, and everyday usage. Highlight the bundled Kirby knowledge base and retain grouped tool/resource lists. Add focused…
v6.0.0v6.0.0 — Kirby 6 support · 15 Oct 2026Kirby MCP 6 targets Kirby 6 and PHP 8.3+. The verified CMS baseline is **Kirby 6.0.0-beta.1**. This is a stable MCP package release, not a production certification of the upstream CMS beta. Kirby 7+ is not supported. Installation Kirby 5:…
v1.15.1v1.15.1 — Kirby 5 knowledge base maintenance · 15 Oct 2026Polishes the bundled knowledge base against official documentation updates and Kirby releases through 5.6.1. Corrects link and entries field storage/update examples. Makes content cleanup language-fallback-safe. Clarifies permissions,…
v1.14.0v1.14.0 — Optional Panel activity indicator · 28 Sep 2026Minimal Panel activity indicator Optional, admin-only robot indicator for recent successful MCP tool calls and resource reads. Orange for 30 seconds, muted orange until two minutes, grey until five minutes, then hidden. Hover, keyboard…
v1.13.0v1.13.0 — Kirby-native remote permissions · 28 Sep 2026Kirby-native remote permissions OAuth and remote-token connections use the authenticated Kirby user’s hierarchical capability permissions for tool/resource discovery and execution. Custom roles default to denied; native Kirby…

README

Kirby MCP

Kirby 6 PHP 8.3 Release Downloads Unittests PHPStan Discord Buymecoffee

Give your coding agent access to your Kirby project and the knowledge to work with it. Kirby MCP connects your agent to project structure, live content, runtime debugging, and a bundled Kirby knowledge base.

For Composer-based Kirby projects. Kirby 6 · PHP 8.3+ · Composer

Capabilities · Knowledge base · Quickstart · Connect your agent · Usage · Tools and resources · Documentation

Capabilities

Your agent can… Use it to…
Understand your project Inspect blueprints, templates, snippets, collections, models, plugins, routes, and configuration.
Find Kirby answers Search the bundled knowledge base, official documentation, and plugin directory.
Work with content Read page, file, site, and user content; update it with confirmation and field-specific guidance.
Debug real pages Render a page, inspect errors, and collect values with mcp_dump().
Support development Follow bundled skills for common tasks and generate IDE helpers.

Your agent discovers the tools and resources through MCP. You can ask in plain language; you do not need to memorize tool names. Browse the tool and resource lists below to see the full range.

Kirby knowledge, built in

Kirby MCP ships with a curated knowledge base, not just access to your site. Your agent can search and read the bundled documents locally, without a network request:

  • Kirby glossary: concise explanations of concepts such as collections, models, hooks, and representations.
  • Task recipes: practical steps for building forms, scaffolding page types, routing, multilingual content, and other everyday work.
  • Content update guides: how fields store values, what update payloads should look like, and what to check before and after a write.
  • Panel development guides: blueprint patterns, custom fields, plugin recipes, and editor/runtime references.

The guides connect explanations to the relevant MCP tools and resources, so your agent can move from learning a Kirby concept to inspecting and working with your actual project. For example, the page-picker guide explains stored references, shows an update payload, and points to the tools for reading and verifying the content.

Use kirby_search to find a topic, or read documents through kirby://kb and kirby://kb/{path}. Official documentation and plugin-directory searches provide online lookups when you need to go further. You can also browse the bundled Markdown yourself.

Quickstart

From your Kirby project root:

composer require --dev bnomei/kirby-mcp:"^6.0"
vendor/bin/kirby-mcp install

Then connect your agent. Your MCP client starts the server; no separate running terminal is needed.

[!IMPORTANT] The verified Kirby CMS baseline is 6.0.0-beta.1. Kirby MCP's stable version does not make the CMS beta production-ready. Install Kirby separately and explicitly opt into its beta, for example with composer require getkirby/cms:"6.0.0-beta.1" --with-all-dependencies on a test copy before installing MCP. For Kirby 5, use bnomei/kirby-mcp:"^1.15" instead.

The installer adds project-local runtime commands, a small Kirby plugin adapter, and .kirby-mcp/mcp.json. The MCP library stays in vendor/. Maintenance explains updates and removal.

Connecting over HTTP? Use the remote setup guide, including production installation, bearer tokens, and OAuth for Claude connectors. Want reference access without a project? See global reference mode.

Connect your agent

Run these commands from the Kirby project root. They save an absolute executable path and project root so the client can find both when launched elsewhere.

Claude Code

claude mcp add kirby -- "$PWD/vendor/bin/kirby-mcp" "--project=$PWD"

Codex CLI

codex mcp add kirby -- "$PWD/vendor/bin/kirby-mcp" "--project=$PWD"

Codex saves MCP registrations at user scope. Use a distinct server name instead of kirby for each project.

Cursor and other clients

For Cursor, add this to .cursor/mcp.json, replacing both paths:

{
  "mcpServers": {
    "kirby": {
      "command": "/absolute/path/to/project/vendor/bin/kirby-mcp",
      "args": ["--project=/absolute/path/to/project"]
    }
  }
}

For other clients, configure the same command and arguments as a stdio MCP server. Reload your client if it does not discover the server immediately.

Usage

Start with a task

Try one of these prompts in your connected agent:

Use Kirby MCP to give me a tour of this project's blueprints, templates, and plugins.
Use Kirby MCP to plan a contact form using this project's conventions.
Read the about page with Kirby MCP and help me update its title.
Search the Kirby knowledge base for collection filtering. Check the official docs online if needed.

Asking for a plan is a useful way to inspect the project before making changes. Your agent can also read resources such as kirby://glossary/collection directly.

Use bundled skills

Skills give your agent task-specific guidance: project tours, page scaffolding, Panel blueprints, content migrations, routing, plugins, forms, translations, security, and more. See the skills catalog.

Copy them into your agent's skills directory. For Claude Code:

mkdir -p ~/.claude/skills
rsync -a vendor/bnomei/kirby-mcp/skills/ ~/.claude/skills/

For Codex, use ~/.codex/skills/ instead. Restart the agent after copying; repeat the copy after package updates to refresh the skills.

Debug a page

Add a dump where you need to inspect a value:

mcp_dump($page->title()->value())->label('Page title');

Ask your agent to render the page with kirby_render_page, then read the captured values with kirby_dump_log_tail using the returned traceId. Dumps are written to .kirby-mcp/dumps.jsonl; secret masking is on by default, but inspect output before sharing it.

For deeper inspection, query execution is enabled with confirmation. PHP eval is disabled until you enable it.

IDE helpers

Ask your agent to check or generate IDE helpers, or run:

vendor/bin/kirby-mcp ide:status
vendor/bin/kirby-mcp ide:generate --write

Generated helpers live in .kirby-mcp/. Without --write, generation is a dry run.

Panel activity indicator

See recent MCP activity at the top center of the Kirby Panel:

The indicator is off by default. To turn it on, set this in .kirby-mcp/mcp.json alongside your other settings:

{
  "activity": { "enabled": true }
}

Run vendor/bin/kirby-mcp update to refresh the Panel assets, then reload the Panel. Kirby admins see the robot after a successful tool call or resource read. It fades from orange to grey and disappears after five minutes; hover, focus, or tap to see the elapsed time.

It shows recent activity, not whether an agent is connected or currently working. Activity details cover timing and shared-filesystem requirements.

Tools and resources

Tools let your agent inspect or act; resources bring reference material and project data into its context. These are the project server's capabilities; global reference mode exposes only the research subset, and remote permissions can narrow access.

Tools

  • Project orientation: kirby_init, kirby_info, kirby_roots, kirby_composer_audit, kirby_cli_version.
  • Blueprints: kirby_blueprints_index, kirby_blueprints_loaded, kirby_blueprint_read.
  • Code and extensions: kirby_templates_index, kirby_snippets_index, kirby_collections_index, kirby_controllers_index, kirby_models_index, kirby_plugins_index, kirby_routes_index.
  • Read content: kirby_read_page_content, kirby_read_file_content, kirby_read_site_content, kirby_read_user_content.
  • Update content: kirby_update_page_content, kirby_update_file_content, kirby_update_site_content, kirby_update_user_content.
  • Research and discovery: kirby_search, kirby_online, kirby_online_plugins, kirby_tool_suggest.
  • Render and debug: kirby_render_page, kirby_dump_log_tail, kirby_query_dot, kirby_eval, kirby_run_cli_command.
  • Runtime and IDE support: kirby_runtime_status, kirby_runtime_install, kirby_cache_clear, kirby_ide_helpers_status, kirby_generate_ide_helpers.

Writes and execution follow the defaults and safety controls. See the tool reference for individual descriptions.

Resources

Resources are read-only. Replace {…} with the item you want; the resource reference explains IDs and URI encoding.

  • Bundled knowledge: kirby://kb, kirby://kb/{path}, kirby://glossary, kirby://glossary/{term}.
  • Field and blueprint update guides: kirby://fields/update-schema, kirby://field/{type}/update-schema, kirby://blueprints/update-schema, kirby://blueprint/{type}/update-schema.
  • Panel field and section references: kirby://fields, kirby://field/{type}, kirby://sections, kirby://section/{type}.
  • Hooks and extensions: kirby://hooks, kirby://hook/{name}, kirby://extensions, kirby://extension/{name}.
  • Project and configuration: kirby://info, kirby://roots, kirby://composer, kirby://config/{option}, kirby://blueprint/{encodedId}.
  • Content: kirby://page/content/{encodedIdOrUuid}, kirby://file/content/{encodedIdOrUuid}, kirby://site/content, kirby://user/content/{encodedIdOrEmail}.
  • CLI reference: kirby://commands, kirby://cli/command/{command}.
  • Tool discovery and examples: kirby://tools, kirby://tool-examples.
  • Utilities and extras: kirby://uuid/new, kirby://susie/{phase}/{step}.

Defaults and safety

You can start with the installed configuration. Change settings only for the capabilities you need.

Capability Default
Project inspection, documentation search, and content reads Available after setup
Content updates Require confirmation
Query execution Enabled; requires confirmation
PHP eval Disabled; enabling it still requires confirmation
Generic Kirby CLI commands Allowlisted; write commands require explicit permission
Debug dumps and secret masking Enabled
Panel activity indicator Disabled
Remote HTTP access Disabled

Local MCP access is trusted access to your project. Confirmation guards MCP operations, not everything your coding agent can do through its other tools. Enabled PHP eval and generic CLI execution are not sandboxed. Keep .kirby-mcp/ outside your public document root or deny web access to it.

[!WARNING] Retrieved documents can contain prompt injection. Review proposed changes and do not assume an agent's output or a confirmation prompt makes an action safe.

For custom settings, use the configuration reference. Before exposing the server remotely, read the authentication and permission boundaries.

Maintenance

After upgrading the package, refresh the installed runtime files:

composer update bnomei/kirby-mcp
vendor/bin/kirby-mcp update

update overwrites the copied runtime commands and plugin adapter, but preserves your configuration. They normally live in site/commands/mcp/ and site/plugins/kirby-mcp/; custom Kirby roots are respected.

To uninstall, remove those two directories and the Composer dependency. Delete .kirby-mcp/ only if you also want to remove configuration, dumps, generated helpers, and remote authentication state. Remove the server entry from your MCP client and any HTTP routes you registered.

Troubleshooting

  • Project not found: run from the project root or pass --project=/absolute/path/to/project.
  • Runtime tools fail: run vendor/bin/kirby-mcp install and ask the agent to check kirby_runtime_status.
  • CLI command blocked: review cli.allow, cli.allowWrite, and cli.deny in the configuration reference.
  • Wrong host-specific config: set KIRBY_MCP_HOST or kirby.host.
  • No dump output: check dumps.enabled, the dump file's permissions, and the render's traceId.
  • Remote connection fails: use the HTTP troubleshooting checklist.
  • Global server fails to start: check the absolute executable path.

Server diagnostics go to stderr. Include the client version and relevant error when reporting a problem; remove secrets first. See compatibility notes for the current CMS baseline and known upstream limitations.

Documentation

Go deeper What you'll find
Tools, resources, and skills Complete inventory, content schemas, and MCP behavior
Configuration Every setting and environment variable
Remote connections HTTP setup, OAuth, bearer tokens, and Kirby permissions
Global reference mode Projectless installation and client setup

For development and contributions, see Contributing and Testing. Release history lives in the Changelog; report vulnerabilities using the Security policy.

Disclaimer

This MCP server is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

License

MIT

It is discouraged to use this MCP server in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

README fetched from the repository 4 hours ago. The original is authoritative.

Questions

About Kirby MCP

How do I install Kirby MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Kirby MCP safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kirby MCP still maintained?

Yes — the latest release is v6.0.1 (15 Oct 2026), and the last commit was 2 days ago. The repository has 63 stars and 2 open issues.