Back to Home
klapaudius icon

symfony-mcp-server

Verified Safe

by 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

Run Command
docker-compose up -d

Environment 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

Stats

Interest Score41
Security Score8
Cost ClassHigh
Avg Tokens1000
Stars24
Forks2
Last Update2025-12-15

Tags

SymfonyAI AgentsLLM IntegrationModel Context ProtocolToolsPromptsResourcesStreamingServer-Sent Events (SSE)StreamableHTTPRedisCachePub/Sub