MCP Server for Symfony CLI integration - cache management, debug tools, code generation (entities, controllers), and Doctrine database operations
Find a file
Jonas Hanisch 57602df878
All checks were successful
Publish Package / publish (push) Successful in 28s
Merge develop → main: Release v2.0.0
Complete refactor with comprehensive improvements:

 New Features:
- Modular architecture (types, handlers, tool-definitions)
- 100% TypeScript type safety
- Comprehensive test coverage (33 tests)

🏗️ Architecture:
- Modular structure (types, handlers, tool-definitions, service)
- 100% TypeScript type safety
- Complete JSDoc documentation
- index.ts: 274 → 75 lines (73% reduction)

🧪 Testing:
- 33 comprehensive unit tests
- Full test coverage with Vitest
- Code coverage reporting

📦 Dependencies:
- MCP SDK upgraded to 1.20.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 13:09:16 +02:00
.forgejo/workflows fix: use direct authentication token in CI workflow (v1.0.5) 2025-10-07 17:09:36 +02:00
src Complete refactor to v2.0.0 with modular architecture and comprehensive testing 2025-10-10 13:09:08 +02:00
.gitignore fix: registry configuration for scope-based installation (v1.0.1) 2025-10-07 12:34:28 +02:00
CHANGELOG.md Complete refactor to v2.0.0 with modular architecture and comprehensive testing 2025-10-10 13:09:08 +02:00
package-lock.json Complete refactor to v2.0.0 with modular architecture and comprehensive testing 2025-10-10 13:09:08 +02:00
package.json Complete refactor to v2.0.0 with modular architecture and comprehensive testing 2025-10-10 13:09:08 +02:00
README.md Complete refactor to v2.0.0 with modular architecture and comprehensive testing 2025-10-10 13:09:08 +02:00
tsconfig.json Initial implementation of symfony-mcp 2025-10-07 10:54:09 +02:00
vitest.config.ts Complete refactor to v2.0.0 with modular architecture and comprehensive testing 2025-10-10 13:09:08 +02:00

🎼 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