mcp
by sockeon·★ 2·综合分 35
基于PHP的MCP服务器,为Sockeon框架开发提供模块化工具、资源和提示。
概述
Sockeon MCP服务器是一个符合规范的PHP服务器,与AI助手集成,为使用Sockeon框架的工作提供智能辅助。它具有良好组织的架构,清晰关注点分离,包括基础、领域服务、能力(工具、资源、提示)和工作流。服务器暴露了大量用于脚手架、配置、实时功能、安全和可观测性的工具,使其成为Sockeon应用开发的综合解决方案。
试试问 AI
装完之后,这里有 3 个你可以让 AI 做的事:
什么时候选它
如果你正在使用 Sockeon 框架开发,并且需要集成化的脚手架、安全和实时功能工具,应该选择这个 MCP server。
什么时候不要选它
如果你不使用 Sockeon 框架,或者需要超越 PHP 的更广泛语言支持,则应避免使用此 server。
此 server 暴露的工具
从 README 抽取出 12 个工具sockeon_scaffold_serverScaffolds a new Sockeon server application
sockeon_scaffold_controllerGenerates a new controller in the Sockeon application
sockeon_config_serverConfigures server settings in the Sockeon application
sockeon_config_rate_limitConfigures rate limiting for the Sockeon application
sockeon_realtime_websocket_handlerSets up WebSocket handlers for real-time features
sockeon_security_validation_rulesManages security validation rules in the application
sockeon_security_middlewareConfigures security middleware for the application
sockeon_observability_error_handlerSets up error handling for observability
sockeon_observability_logging_setupConfigures logging for the application
sockeon_realtime_room_managementManages rooms for real-time communication
sockeon_realtime_http_routeCreates HTTP routes for real-time features
sockeon_security_authenticationSets up authentication for the application
可对比工具
安装
安装
- 克隆仓库:
git clone https://github.com/sockeon/mcp.git
cd mcp- 安装依赖:
composer install- 运行MCP服务器:
php public/server.phpClaude Desktop配置
将以下内容添加到您的Claude Desktop配置文件config.json中:
{
"mcpServers": {
"sockeon": {
"command": "php",
"args": ["public/server.php"]
}
}
}mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。