Get the FREE Ultimate OpenClaw Setup Guide →

ai-mate

AI development assistant MCP server for Symfony projects

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio symfony-ai-mate php vendor/bin/symfony-ai-mate-server.php

How to use

The Symfony AI Mate MCP server exposes a set of tools that allow AI assistants to interact with PHP applications (including Symfony) through a standard MCP interface. It acts as a bridge between your AI workflows and your PHP codebase, enabling tasks such as querying application state, invoking services, or running helper utilities in a structured, context-aware way. This server is intended as a development tool to explore integration patterns and tooling around Symfony AI components, rather than a production-ready service.

To use it, start the server with the command defined in the mcp_config (PHP-based Runner). Once running, you can send MCP-compliant requests to discover available tools, request contextual information about your PHP/Symfony app, and execute those tools with provided inputs. The tools can help with tasks like inspecting controller logic, examining service configurations, or triggering specific behaviors in the app, all while preserving the Model Context Protocol’s structured prompts and responses. Use the MCP client in your AI workflow to request tool execution, handle responses, and manage tool outputs within your conversation or automation pipeline.

How to install

Prerequisites:

  • PHP and Composer installed on your system
  • Access to the PHP project that will host Symfony AI Mate (or a fork cloned to your environment)

Install steps:

  1. Ensure PHP and Composer are installed
  2. In your Symfony/PHP project, require the development package: composer require --dev symfony/ai-mate
  3. Ensure the generated server file exists (as referenced by mcp_config):
    • The server entry point is typically vendor/bin/symfony-ai-mate-server.php
  4. Start the MCP server (from your project root): php vendor/bin/symfony-ai-mate-server.php
  5. Verify the server is listening on the configured endpoint and that your MCP client can connect to it.

Notes:

  • This is a development tool and should not be used in production environments without additional hardening and validation.
  • Refer to the Symfony AI documentation for any project-specific configuration or environment requirements.

Additional notes

Notes and tips:

  • This MCP server is a development tool intended to integrate AI assistants with Symfony PHP applications. Expect behavior suitable for experimentation rather than production guarantees.
  • If you run into missing dependencies or configuration issues, ensure Composer autoloading is set up correctly and that the vendor/bin path is executable.
  • You may want to expose the server within a secure, internal network or use proper authentication when experimenting with live data.
  • Keep an eye on Symfony AI documentation for updates to the Mate component and supported tools.
  • Since this is a read-only subtree, issue tracking and PRs should be directed to the main Symfony AI repository rather than this fork.

Related MCP Servers

Sponsor this space

Reach thousands of developers