@customable/symfony-mcp (2.0.0)

Published 2025-10-10 13:10:01 +02:00 by jack in customable-mcp/symfony-mcp

Installation

@customable:registry=
npm install @customable/symfony-mcp@2.0.0
"@customable/symfony-mcp": "2.0.0"

About this package

🎼 symfony-mcp

Version CI Status License NPM

MCP Server for Symfony CLI and development tasks with comprehensive testing.

What's New in v2.0.0

🏗️ Complete Refactor - Modular architecture with types, handlers, and tool definitions separated 33 Unit Tests - Comprehensive test coverage with Vitest 🔒 100% Type Safe - Eliminated all any types throughout the codebase 📚 Full JSDoc - Complete documentation for all public APIs 📦 MCP SDK 1.20.0 - Upgraded to latest Model Context Protocol SDK 73% Code Reduction - index.ts streamlined from 274 → 75 lines

Features

Cache Management

  • 🗑️ cache_clear - Clear cache
  • 🔄 cache_warmup - Warm up cache
  • 🧹 cache_pool_clear - Clear specific cache pool

Debugging

  • 🗺️ debug_routes - List all routes
  • 🔧 debug_container - Debug service container
  • 🎯 debug_config - Show configuration
  • 📝 debug_event_dispatcher - Show event listeners

Code Generation

  • 🏗️ make_entity - Generate entity
  • 🎮 make_controller - Generate controller
  • 📝 make_form - Generate form
  • make_command - Generate console command
  • 🧪 make_test - Generate test

Database

  • 🗄️ doctrine_schema_update - Update database schema
  • 📊 doctrine_migrations_status - Show migration status
  • ⬆️ doctrine_migrations_migrate - Run migrations
  • 📝 doctrine_migrations_generate - Generate migration

General Commands

  • run_command - Execute any Symfony console command
  • 📋 list_commands - List all available commands

Installation

npm install
npm run build

Configuration

Set environment variables:

  • SYMFONY_PROJECT_DIR - Path to Symfony project (default: current directory)
  • PHP_BINARY - Path to PHP binary (default: php)

Usage

export SYMFONY_PROJECT_DIR="/path/to/symfony/project"
npm start

License

MIT

Dependencies

Dependencies

ID Version
zod ^3.23.8

Development dependencies

ID Version
@modelcontextprotocol/sdk ^1.20.0
@types/node ^22.0.0
@vitest/coverage-v8 ^3.2.4
typescript ^5.5.0
vitest ^3.2.4

Keywords

mcp symfony php cli mcp-server
Details
npm
2025-10-10 13:10:01 +02:00
2
Customable Team
MIT
latest
16 KiB
Assets (1)
Versions (2) View all
2.0.0 2025-10-10
1.0.5 2025-10-07