mcp
Verified Safeby sockeon
Overview
This MCP server provides intelligent assistance to developers working with the Sockeon framework, offering code generation, configuration helpers, and real-time documentation access via AI assistants.
Installation
php public/server.phpEnvironment Variables
- DEBUG
- FILE_LOG
Security Notes
The `SockeonResources::getValidationRule` method reads local PHP files based on a `rule` parameter. While the `McpResourceTemplate` attribute likely restricts the format of `{rule}` (e.g., to a single filename), a theoretical path traversal vulnerability could exist if not properly handled by the MCP SDK, potentially allowing access to arbitrary local files. Documentation fetching from GitHub raw content (sockeon/docs) carries a minor, inherent risk if the source repository were compromised. Generated code (via stubs) is returned to the client and not executed by the server, shifting the execution risk of generated content to the client/user. No direct `eval` or `shell_exec` calls are present in the provided code.
Similar Servers
boost
Accelerates AI-assisted development by providing essential context and structure for generating high-quality, Laravel-specific code via an MCP server.
generator
Provides a Retrieval-Augmented Generation (RAG) system and Micro-Context Protocol (MCP) server for AI assistants to understand, interact with, and generate documentation/code for projects. It allows indexing codebase knowledge, semantic search, and exposing file system, Git, and code analysis tools to AI agents.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).
php-mcp-sdk
A PHP SDK for building Model Context Protocol (MCP) servers that expose AI capabilities (tools, prompts, sampling) and data resources to clients, facilitating AI agent orchestration and structured human-AI interaction.