BK

bnomei/kirby-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

71 stars 4 forks 质量 79 趋势 14MIT

CLI 首选的 MCP 服务器,用于基于作曲者的 Kirby CMS 项目——检查蓝图/模板/插件,与真实的 Kirby 运行时交互,并使用捆绑的 Kirby 知识库。

概览

CLI 首个 MCP 服务器,用于基于 Composer 的 Kirby CMS 项目。它允许 IDE 或代理检查你的 Kirby 项目(蓝图、模板、插件、文档),并与真实的 Kirby 运行时交互。它自带本地的 Kirby 概念和任务知识库。关于代理特定的安装步骤(Claude Code、Codex CLI)和技能同步,请参见 。 它也可以作为无投影的全局参考MCP(kirby-mcp --global)运行,用于始终在线的Kirby文档/知识库研究。全局参考模式有意与项目本地MCP服务器分开,无法在Kirby项目中检查、渲染、更新或运行命令。 服务器使用 MCP SDK v0.8 双时代调度:现有客户端通过初始化协商带状态会话,而 2026-07-28 客户端使用无状态请求。MCP 日志请求未被公告——诊断请求写入 stderr。

概述(AI 翻译)

给你的编码代理访问你的 Kirby 项目权限和相关知识。Kirby MCP 将你的代理与项目结构、实时内容、运行时调试以及捆绑的 Kirby 知识库连接起来。

适用于基于作曲家的卡比项目。卡比 6 ·PHP 8.3+ ·作曲家

功能 ·知识库 ·快速入门 ·连接您的代理 ·使用 ·工具与资源 ·文档

能力

你的经纪人可以… 用它来…
了解你的项目 检查蓝图、模板、片段、集合、模型、插件、路由和配置。
查找卡比答案 搜索捆绑的知识库、官方文档和插件目录。
内容处理 阅读页面、文件、网站和用户内容;更新内容并附上确认和领域特定指导。
调试真实页面 渲染页面,检查错误,并收集带有mcp_dump()的值。
支持开发 遵循捆绑技能处理常见问题,生成IDE助手。

你的经纪人通过MCP发现了工具和资源。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Kirby MCP

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

Version 6.4.0 integrates MCP PHP SDK v0.10.0. Reconnect existing HTTP sessions after upgrading; see the transport compatibility notes.

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.

Expose your own project or plugin commands as custom MCP tools, with descriptions, validated inputs and explicit CLI allowlisting. The same Kirby command can also serve Janitor; no separate job system is added.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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