sjs/neos-mcp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sjs/neos-mcp

最新稳定版本:v1.0.0

Composer 安装命令:

composer require sjs/neos-mcp

包简介

The base implementation for a Neos CMS MCP Server

README 文档

README

Warning

This package may work on Neos 8 but this is NOT TESTED! It is also under development so things can change

Core MCP (Model Context Protocol) server implementation for Neos CMS 9.x.

Important

🚧 This is the Roadmap up to Version 1.0

Quick Start

Neos 9

To get started fast install this FeatureSet:

SJS.Neos.MCP.FeatureSet.Agent — Agent knowledge, analysis, and scenario tools

composer require sjs/neos-mcp sjs/neos-mcp-feature-set-agent

Then run the migration

./flow doctrine:migrate

Configuration

Server instances are defined in Configuration/Settings.Server.yaml:

SJS:
  Neos:
    MCP:
      server:
        mcp: # <-- This is the default for now
          featureSets:
            myFeatureSet: \Vendor\Site\MCP\FeatureSet\MyFeatureSet

Multiple named server instances can coexist alongside mcp.

Warning

Currently only mcp is used as it is hardcoded for now.

Implementing new Features

Adding a new FeatureSet

  1. Create a class extending AbstractFeatureSet with #[Flow\Scope("singleton")].
  2. Implement initialize() to register tools via $this->addTool(...).
  3. Optionally override resourcesList(), resourcesRead(), resourcesTemplatesList(), completionComplete().
  4. Register the class in Configuration/Settings.Server.yaml under server.mcp.featureSets.

Tool name prefixes

AbstractFeatureSet automatically derives a prefix from the class name (e.g., WorkspaceFeatureSet → prefix workspace). Tool names are exposed as {prefix}_{tool_name}.

Development

MCP Inspector

yarn run mcp-inspector-cli

Launches the MCP Inspector UI for interactive testing.

References

Related

统计信息

  • 总下载量: 438
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2026-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固