MCP Catalogs
Home

symfony-mcp-server

by klapaudius·30·Score 44

A Symfony package for building enterprise-grade MCP servers with real-time communication and AI agent capabilities.

developer-toolsai-llmcommunication
3
Forks
1
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Symfony MCP Server is a PHP-based implementation of the Model Context Protocol that enables developers to build intelligent AI agents within Symfony applications. It supports real-time communication through Server-Sent Events (SSE) and StreamableHTTP, making it suitable for production environments. The package offers a comprehensive tool system with features like sampling for AI-powered reasoning, prompt engineering for agent behavior, and resource management for agent memory.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Building intelligent code review agents that can analyze code for security vulnerabilities and performance issues
you:Creating data analysis agents that can process complex datasets and generate insights
you:Developing customer support agents with context-aware responses and personalized recommendations
you:What makes this package different from other MCP servers?
you:Can I use this with AI models other than Claude?

When to choose this

Choose this when building enterprise-grade AI agents within Symfony applications that require secure real-time communication and intelligent tool behavior with LLM integration.

When NOT to choose this

Avoid if you're not using Symfony or PHP in your tech stack, as this is tightly coupled to the Symfony framework and won't integrate with other backend technologies.

Tools this server exposes

12 tools extracted from the README
  • CodeAnalyzerTool

    Analyzes code for patterns, security, and suggests improvements

  • HelloWorldTool

    A basic tool for greeting and demonstrating functionality

  • ProfileGeneratorTool

    Generates user profiles based on input parameters

  • SearchResultsTool

    Searches for and returns relevant information based on query

  • StreamingDataTool

    Provides real-time streaming data for long-running operations

  • VersionCheckTool

    Checks and reports version information for components

  • DataInsightAgent

    Performs intelligent analysis of datasets with AI reasoning

  • CustomerSupportAgent

    Handles customer inquiries with AI-powered support

  • CodeReviewAgent

    Reviews code for security, best practices, and improvements

  • IntelligentAnalyzer

    Analyzes complex data using AI reasoning for decision making

  • SupportAgent

    Provides personalized customer support with AI assistance

  • StreamingDataTool

    Provides real-time streaming data with progress notifications

Comparable tools

php-mcp-serverlaravel-mcp-servernode-mcp-serverpython-mcp-server

Installation

Installation

  1. Install the package via Composer:
composer require klapaudius/symfony-mcp-server
  1. Configure the bundle in your config/bundles.php:
return [
    // ...
    Klapaudius\SymfonyMcpServer\SymfonyMcpServerBundle::class => ['all' => true],
];
  1. Configure the MCP server in your config/packages/symfony_mcp_server.yaml:
symfony_mcp_server:
    transport: 'sse' # or 'streamable_http'
    tools:
        - App\Tools\IntelligentAnalyzer
        - App\Tools\CodeReviewAgent
  1. Start the server:
php bin/console server:start

For Claude Desktop integration, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "symfony-mcp": {
      "command": "php",
      "args": ["bin/console", "mcp:server"],
      "env": {
        "APP_ENV": "dev"
      }
    }
  }
}

FAQ

What makes this package different from other MCP servers?
This package is specifically designed for Symfony applications and focuses on building AI agents rather than just exposing tools. It features sampling for real-time AI reasoning, multi-result support, and enterprise-grade security features.
Can I use this with AI models other than Claude?
Yes, the package is designed to be model-agnostic. While the examples show Claude integration, the sampling system can work with any compatible AI model through appropriate adapter implementations.

Compare symfony-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.