Symfony Mcp Server

by klapaudius

30 stars
505 downloads
Not rated
GitHub

About

A Symfony package designed for building secure servers based on the Model Context Protocol, utilizing Server-Sent Events (SSE) and/or StreamableHTTP for real-time communication. It offers a scalable tool system tailored for enterprise-grade applications.

Details

Author
klapaudius
GitHub stars
30
Downloads
505
Categories
Productivity, AI

- Create AI‑powered tools with dynamic reasoning capabilities
- Define conversation starters and templates (prompts)
- Expose structured data and documents (resources)
- Enable tools to consult LLMs mid‑execution via sampling
- Real‑time progress notifications for long‑running operations
- Support for text, image, audio, and resource outputs
- Secure transports: StreamableHTTP and SSE

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Symfony Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via Composer (requires PHP >=8.2 and Symfony >=6.4). Then implement MCP features such as tools, prompts, resources, and sampling by extending provided interfaces. Run the server using StreamableHTTP or SSE transports for production.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "symfony mcp server": {
            "symfony-mcp-server": {
                "command": "npx",
                "args": [
                    "@modelcontextprotocol/inspector",
                    "node",
                    "build/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "symfony-mcp-server": {
        "command": "npx",
        "args": [
            "@modelcontextprotocol/inspector",
            "node",
            "build/index.js"
        ]
    }
}

Run the MCP Inspector without installation

npx @modelcontextprotocol/inspector node build/index.js `` This will typically open a web interface at localhost:6274`. To test your MCP server:

5. Connect AI Clients

Your agents are now accessible to:
- 🤖 Claude Desktop / Claude.ai
- 🧠 Custom AI applications
- 🔗 Any MCP-compatible client

🏗️ Architecture for Agent Builders

Secure Agent Communication

- StreamableHTTP: Direct, secure agent-to-client communication - SSE (Server-Sent Events): Real-time updates for long-running agent tasks - No STDIO: Enterprise-safe, no system exposure

Scalable Agent Infrastructure

- Pub/Sub Messaging: Handle multiple agent sessions concurrently - Redis/Cache Adapters: Scale your agent platform horizontally - Progress Streaming: Real-time feedback for complex agent operations

Agent Development Tools

- MCP Inspector: Visualize and debug agent behavior - Test Commands: Rapid agent development and testing

Current Available MCP Features

| Ressources | Prompts | Tools | Discovery | Sampling | Roots | Elicitation |
|:----------:|:-------:|:-----:|:---------:|:--------:|:-----:|:-----------:|
| ✅ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ |

🎓 Agent Development Resources

- 📖 Building Intelligent Tools: Complete guide to creating AI-powered tools
- 🧠 Sampling Documentation: Master agent reasoning capabilities
- 🎭 Prompt Engineering: Design agent behaviors and personalities
- 📚 Resource Management: Give agents access to knowledge

🌟 Join the Agent Revolution

Build the next generation of AI-powered applications with Symfony MCP Server. Your tools aren't just functions anymore – they're intelligent agents capable of reasoning, learning, and evolving.

Community

- 💬 GitHub Discussions: Share your agent creations
- 🐛 Issue Tracker: Report bugs and request features
- 🌟 Examples: Learn from working agents

📜 License

MIT License - Build freely!

📰 MCP Registries referencing

- https://mcpreview.com/mcp-servers/klapaudius/symfony-mcp-server
- https://mcp.so/server/symfony-mcp-server/klapaudius

---

Built with ❤️ by Boris AUBE and the contributors - Inspired by OP.GG/laravel-mcp-server

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.