PHPackages                             sockeon/mcp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sockeon/mcp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sockeon/mcp
===========

v0.1.0(1mo ago)241MITPHP

Since Apr 28Pushed 1mo agoCompare

[ Source](https://github.com/sockeon/mcp)[ Packagist](https://packagist.org/packages/sockeon/mcp)[ RSS](/packages/sockeon-mcp/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Sockeon MCP Server
==================

[](#sockeon-mcp-server)

Sockeon MCP provides a modular application kernel with guided workflows and focused tool packs for Sockeon development.

Architecture
------------

[](#architecture)

The new server is split by responsibility:

- `src/Foundation`: app boot, logger, container, and server factory.
- `src/Domain`: reusable services (`CodeGenerator`, `TemplateRenderer`, `DocsRepository`, `ValidationRulesCatalog`).
- `src/Capabilities/Tools`: domain tools (`Scaffold`, `Config`, `Realtime`, `Security`, `Observability`).
- `src/Capabilities/Resources`: docs, stubs, and validation resources.
- `src/Capabilities/Prompts`: workflow-oriented guided prompts.
- `src/Workflows`: orchestration primitives for high-level guided flows.

Only `src/Capabilities` is discovered by MCP runtime.

Installation
------------

[](#installation)

```
cd mcp
composer install
```

Run the MCP server:

```
php public/server.php
```

MCP Capability Model
--------------------

[](#mcp-capability-model)

### Tools (modular)

[](#tools-modular)

- `sockeon_scaffold_server`
- `sockeon_scaffold_controller`
- `sockeon_scaffold_example`
- `sockeon_config_server`
- `sockeon_config_rate_limit`
- `sockeon_config_cors`
- `sockeon_config_reverse_proxy`
- `sockeon_realtime_websocket_handler`
- `sockeon_realtime_http_route`
- `sockeon_realtime_room_management`
- `sockeon_realtime_namespace_management`
- `sockeon_security_validation_rules`
- `sockeon_security_middleware`
- `sockeon_security_authentication`
- `sockeon_observability_error_handler`
- `sockeon_observability_logging_setup`

### Resources

[](#resources)

- `sockeon://docs/quick-start`
- `sockeon://docs/controllers`
- `sockeon://docs/{category}/{topic}`
- `sockeon://stubs/{type}/{name}`
- `sockeon://validation/rules`

### Workflow Prompts

[](#workflow-prompts)

- `sockeon_workflow_scaffold_realtime_app`
- `sockeon_workflow_harden_production_server`

Development
-----------

[](#development)

### Tests

[](#tests)

```
composer test
```

### Add New Tool Pack

[](#add-new-tool-pack)

1. Create a class under `src/Capabilities/Tools//`.
2. Annotate methods with `#[McpTool(...)]`.
3. Keep generation/business logic in `src/Domain` services (`CodeGenerator` first, then focused helpers).
4. Add unit tests in `tests/Unit`.

Notes
-----

[](#notes)

- Documentation resources use a remote-first strategy with local fallback text for key pages.

###  Health Score

33

—

LowBetter than 73% of packages

Maintenance91

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

42d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/152050438?v=4)[xentixar](/maintainers/xentixar)[@xentixar](https://github.com/xentixar)

---

Top Contributors

[![xentixar](https://avatars.githubusercontent.com/u/152050438?v=4)](https://github.com/xentixar "xentixar (12 commits)")

---

Tags

mcpmodelcontextprotocolsockeon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sockeon-mcp/health.svg)

```
[![Health](https://phpackages.com/badges/sockeon-mcp/health.svg)](https://phpackages.com/packages/sockeon-mcp)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.4k193.1M3.0k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k245.4M23.7k](/packages/friendsofphp-php-cs-fixer)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17416.3M250](/packages/symfony-stimulus-bundle)[illuminate/session

The Illuminate Session package.

9938.5M818](/packages/illuminate-session)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k44](/packages/friendsoftypo3-content-blocks)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5235.7M110](/packages/symplify-monorepo-builder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
