Integration
This page explains how to integrate Symfony AI Mate with AI development tools.
JetBrains AI Assistant
To connect Symfony AI Mate to JetBrains AI Assistant (see JetBrains MCP documentation for more details):
- Press
Cmd+,(macOS) orCtrl+Alt+S(Windows/Linux) to open Settings. - Navigate to Tools Model Context Protocol (MCP).
- Click the + (Add) button.
Configure the server parameters:
- Name: Symfony AI Mate
- Command type: Select
stdio - Executable:
php - Arguments:
/absolute/path/to/vendor/bin/mate serve
- Click OK to save.
Note
Replace /absolute/path/to/ with the actual path to your project's vendor directory.
Claude Desktop
To connect Symfony AI Mate to Claude Desktop (see Claude Desktop MCP documentation for more details):
- Open Claude Desktop.
Go to Settings > Developer and click Edit Config.
Alternatively, open the file manually:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
Add the server configuration to the
mcpServersobject:1 2 3 4 5 6 7 8
{ "mcpServers": { "symfony-ai-mate": { "command": "php", "args": ["/absolute/path/to/vendor/bin/mate", "serve"] } } }- Save the file and restart Claude Desktop.
Note
Replace /absolute/path/to/ with the actual path to your project's vendor directory.
Claude Code
To add Symfony AI Mate to Claude Code (see Claude Code MCP documentation for more details):
1 2
$ claude mcp add mate $(pwd)/vendor/bin/mate serve --scope local
$ claude mcp list # Verify: mate - ✓ Connected
Troubleshooting
Claude Desktop Not Connecting
Verify config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
Check JSON syntax:
1 2 3 4 5 6 7 8
{ "mcpServers": { "symfony-ai-mate": { "command": "php", "args": ["/absolute/path/to/vendor/bin/mate", "serve"] } } }- Use absolute paths - relative paths often fail.
- Restart Claude Desktop after configuration changes.
JetBrains AI Assistant Not Connecting
- Verify settings path: Tools → AI Assistant → Model Context Protocol (MCP)
Check configuration:
- Command type:
stdio - Executable:
php - Arguments:
/absolute/path/to/vendor/bin/mate serve
- Command type:
- Test manually from the same directory as your IDE.
Claude Code Not Connecting
Check connection status:
1
$ claude mcp listLook for
mate - ✓ ConnectedRe-add the server:
1 2
$ claude mcp remove mate $ claude mcp add mate $(pwd)/vendor/bin/mate serve --scope local- Check for conflicting servers with similar names.
For general server issues and debugging tips, see the Troubleshooting guide.