symfony-mcp-server
Verified Safeby klapaudius
Overview
Build intelligent AI agents by transforming Symfony applications into Model Context Protocol (MCP) servers, enabling LLMs to interact with application logic via tools, prompts, and resources.
Installation
docker-compose up -dEnvironment Variables
- KLP_MCP_SERVER_SERVER_NAME
- KLP_MCP_SERVER_SERVER_VERSION
- KLP_MCP_SERVER_PING_ENABLED
- KLP_MCP_SERVER_PING_INTERVAL
- KLP_MCP_SERVER_SSE_ADAPTER
- KLP_MCP_SERVER_ADAPTERS_REDIS_HOST
- KLP_MCP_SERVER_ADAPTERS_REDIS_TTL
- KLP_MCP_SERVER_ADAPTERS_CACHE_PREFIX
- KLP_MCP_SERVER_ADAPTERS_CACHE_TTL
Security Notes
The server prioritizes security by avoiding STDIO, using JSON-RPC, and including parameter validation for tools. It supports secure transports (SSE, StreamableHTTP). However, security relies heavily on correct infrastructure setup (e.g., Nginx/PHP-FPM, proper handling of `connection_aborted()`) and secure implementation of custom tools, prompts, and resources. OAuth2 authentication is recommended for production environments but not included by default.
Similar Servers
mcp-use
Build full-stack Model Context Protocol (MCP) applications, including AI agents, MCP servers, and clients in both Python and TypeScript, with integrated debugging and UI capabilities.
boost
Laravel Boost is an MCP server designed to accelerate AI-assisted development by providing context and specialized tools for Laravel-specific code generation.
AgentUp
A developer-first framework for building, deploying, and managing secure, scalable, and configurable AI agents, supporting various agent types (reactive, iterative) and the Model-Context Protocol (MCP) for seamless interactions.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).