Skip to main content
Glama
shakaran

symfony-agent-mcp

symfony-agent-mcp

npm version License: MIT Node.js MCP PRs Welcome GitHub issues GitHub stars Build Status Coverage

Возможности • Быстрый старт • Интеграция • Использование • Документация • Участие • Лицензия


Готовый к продакшену Model Context Protocol (MCP) сервер для приложений Symfony. Предоставляет AI-ассистентам глубокий, доступный только для чтения обзор всей вашей кодовой базы Symfony — маршруты, контроллеры, сервисы, сущности, схема базы данных, миграции, события, формы, безопасность, Doctrine, Messenger, Twig, API Platform и многое другое.

Клиент

Установка

Claude Code

Выполните claude mcp add → настройка

Claude Desktop

Добавьте в claude_desktop_config.json → настройка

Cursor

Добавьте в .cursor/mcp.json → настройка

VS Code Copilot

Добавьте в .vscode/mcp.json → настройка

Любой MCP-клиент

транспорт stdio, command: npx @shakaran/symfony-agent-mcp


Возможности

1,679 инструментов в 16 категориях

Available tool categories (16 categories, 1,679 tools total, ~164,729 tokens if all active)

  Category         │ Tools      │ Est. tokens    │ Description
  ─────────────────┼────────────┼────────────────┼────────────────────────────────────────────────────────
  symfony-core     │  549 tools │ ~ 53995 tokens │ Routes, services, controllers, events, commands, bundles, DI container, kernel
  database         │  176 tools │ ~ 17121 tokens │ Entities, migrations, Doctrine ORM, relationships, query patterns, indexes, DBAL
  security         │  133 tools │ ~ 13008 tokens │ Voters, firewalls, authenticators, JWT, OAuth, CSRF, access control, secrets vault
  frontend         │  121 tools │ ~ 11568 tokens │ Twig, translations, asset mapper, Symfony UX, Turbo, live components, Webpack
  testing          │  110 tools │ ~ 10559 tokens │ PHPUnit, Behat, Cypress, Playwright, Psalm, PHPStan, Rector, static analysis
  integrations     │  106 tools │ ~ 10939 tokens │ Stripe, Slack, Sentry, Elasticsearch, Twilio, SendGrid, Mailgun, Datadog, OpenAI
  serializer       │   91 tools │ ~  9031 tokens │ Serializer, validation, forms, constraints, DTOs, transformers, normalizers
  messaging        │   87 tools │ ~  8455 tokens │ Messenger, notifier, webhooks, Mercure, mailer, transports, stamps, failure handling
  api              │   68 tools │ ~  6438 tokens │ API Platform, OpenAPI, GraphQL, REST patterns, versioning, rate limits, Nelmio
  infrastructure   │   68 tools │ ~  6794 tokens │ Docker, CI/CD, Kubernetes, Terraform, Helm, Nginx, serverless, cloud platforms
  cache-sessions   │   62 tools │ ~  5945 tokens │ Cache pools, HTTP cache, sessions, rate limiter, lock, cache warmers, OPcache
  config           │   35 tools │ ~  3157 tokens │ Environment config, framework settings, Monolog, CORS, locale, feature flags
  code-quality     │   25 tools │ ~  2447 tokens │ Profiler, dead code detection, dependency graph, accessibility, code metrics
  cloud-aws        │   18 tools │ ~  1945 tokens │ AWS S3, SES, Cognito, ECS, Lambda/Bref, Parameter Store, Secrets Manager, CloudFront
  cloud-other      │   16 tools │ ~  1851 tokens │ Azure Blob/Pipelines, Google Cloud Run/Storage, Firebase, DigitalOcean, Consul
  queues           │   14 tools │ ~  1476 tokens │ RabbitMQ, Kafka, SQS FIFO/DLQ, Pusher, Redis pub/sub and streams

To activate a category: call activate_category(category: "<key>")
To search for specific tools: call search_tools(query: "what you want to do")

Безопасность в первую очередь

  • Только чтение — никогда ничего не записывает, не изменяет и не выполняет

  • Автоматическое редактирование — пароли, токены, API-ключи и учётные данные базы данных заменяются на [REDACTED] до того, как данные попадут к ИИ

  • Конвейер DLP — многоуровневый сканер предотвращения утечек данных (регулярные выражения + структурное обнаружение кредитных карт, JWT, SSH-ключей, облачных учётных данных и т.д.)

  • Проверка путей — атаки с обходом каталогов блокируются на уровне ввода

  • Без выполнения кода — PHP-файлы анализируются статически (без eval, без PHP-рантайма)

  • Без сетевых вызовов — все данные берутся только из локальных файлов

  • Фильтр инъекций в промпты — вывод инструментов сканируется на предмет паттернов инъекций перед передачей ИИ


Related MCP server: phpustik MCP Server

Быстрый старт

Вариант A: npx (установка не требуется)

npx @shakaran/symfony-agent-mcp

Вариант B: глобальная установка

npm install -g @shakaran/symfony-agent-mcp
symfony-agent-mcp

Вариант C: из исходного кода

git clone https://github.com/shakaran/symfony-agent-mcp
cd symfony-agent-mcp
pnpm install
pnpm build
pnpm start

См. GETTING_STARTED.md для пошагового руководства, включая настройку Node.js, устранение неполадок и проверку первого использования.


Интеграция

Установка в один клик

Клиент

Установка

Cursor

Установить в Cursor

VS Code

Установить в VS Code

VS Code Insiders

Установить в VS Code Insiders

Windsurf

Установить в Windsurf

Claude Code

Установить в Claude Code

Claude Desktop

Установить в Claude Desktop

Claude Code

Выполните один раз для регистрации сервера:

# npx (no local install required)
claude mcp add symfony -- npx @shakaran/symfony-agent-mcp

# Or from a local source build
claude mcp add symfony -- node /path/to/symfony-agent-mcp/dist/server.js

Чтобы сделать его доступным глобально во всех проектах, добавьте флаг --scope user:

claude mcp add --scope user symfony -- npx @shakaran/symfony-agent-mcp

Claude Desktop

Добавьте в файл конфигурации Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "symfony": {
      "command": "npx",
      "args": ["@shakaran/symfony-agent-mcp"]
    }
  }
}

Cursor

Добавьте в .cursor/mcp.json:

{
  "symfony": {
    "command": "npx",
    "args": ["@shakaran/symfony-agent-mcp"]
  }
}

VS Code Copilot

Добавьте в .vscode/mcp.json:

{
  "servers": {
    "symfony": {
      "type": "stdio",
      "command": "npx",
      "args": ["@shakaran/symfony-agent-mcp"]
    }
  }
}

Использование

Каждый инструмент принимает параметр app_path, указывающий на корень вашего приложения Symfony:

list_routes(app_path: "/var/www/myapp")
→ Found 42 routes: GET /api/users [api_users], POST /login [app_login], …

get_entity_details(app_path: "/var/www/myapp", entity_name: "User")
→ Entity: User  |  Table: users
  Properties: id (int, PK), email (string 180), isActive (bool)
  Relationships: OneToMany → Post (author)

get_error_summary(app_path: "/var/www/myapp")
→ Last 24h: 3 CRITICAL, 12 ERROR, 47 WARNING

get_code_quality_report(app_path: "/var/www/myapp")
→ God classes: UserManager (1240 lines), dead services: 4, N+1 risks: 7

Примеры запросов, которые можно использовать с Claude:

  • "Покажи все маршруты с методами POST и их контроллеры"

  • "Какие сервисы помечены тегом doctrine.event_listener?"

  • "Выведи последние 50 строк производственного журнала"

  • "Есть ли циклические зависимости в контейнере сервисов?"

  • "Какие сущности Doctrine имеют связи с User?"

  • "Покажи историю миграций и любые деструктивные миграции"

  • "Какие контроллеры не имеют атрибутов безопасности?"


Конфигурация

Вся конфигурация осуществляется через переменные окружения, передаваемые процессу MCP-сервера.

Обнаружение инструментов

Переменная

По умолчанию

Описание

SYMFONY_MCP_DYNAMIC_TOOLS

true

Включить динамическое обнаружение инструментов. Если true, tools/list возвращает только 5 мета-инструментов вместо всех 1,679. Установите false, чтобы восстановить прежнее поведение (все инструменты всегда видны).

SYMFONY_MCP_TOKEN_BUDGET

40000

Максимальное оценочное количество токенов, которое можно активировать за сеанс. Активация блокируется при превышении этого лимита; передайте force=true в activate_category, чтобы переопределить.

Безопасность и доступ

Переменная

По умолчанию

Описание

SYMFONY_MCP_ALLOWED_PATHS

(любой)

Разделённый двоеточиями список абсолютных путей приложений, которые сервер может проверять. Пример: /var/www/app1:/var/www/app2

SYMFONY_MCP_REQUIRE_SYMFONY

true

Установите false, чтобы пропустить проверку проекта Symfony (полезно для тестирования).

SYMFONY_MCP_ALLOWED_TOOLS

(все)

Разделённый запятыми список разрешённых имён инструментов. Вызывать можно только перечисленные инструменты.

SYMFONY_MCP_BLOCKED_TOOLS

(нет)

Разделённый запятыми список запрещённых. Имеет приоритет над списком разрешённых.

SYMFONY_MCP_SIGNING_SECRET

(выкл.)

Секрет длиной 32+ символа для подписи запросов. Включает аутентификацию каждого запроса.

SYMFONY_MCP_SESSION_SECRET

(выкл.)

Секрет для генерации токенов сеанса.

SYMFONY_MCP_SESSION_TOKEN

(выкл.)

Токен для проверки входящих запросов.

SYMFONY_MCP_SESSION_STRICT

false

Установите true, чтобы отклонять запросы без действительного токена сеанса.

SYMFONY_MCP_SESSION_WINDOW

300

Окно действия токена сеанса в секундах.

Ограничение скорости

Переменная

По умолчанию

Описание

SYMFONY_MCP_RATE_LIMIT

60

Максимум запросов за окно. Установите 0, чтобы отключить.

SYMFONY_MCP_RATE_WINDOW_MS

60000

Окно ограничения скорости в миллисекундах (1 минута).

SYMFONY_MCP_RATE_BURST

10

Максимум всплесковых запросов за 1 секунду.

Транспорт

Переменная

По умолчанию

Описание

SYMFONY_MCP_HTTP_PORT

(выкл.)

Порт для HTTP/SSE транспорта. Если задан, запускает HTTP-сервер в дополнение к stdio.

SYMFONY_MCP_STDIO

true

Установите false, чтобы отключить транспорт stdio (полезно при работе только через HTTP).

SYMFONY_MCP_TOOL_TIMEOUT_MS

30000

Тайм-аут выполнения каждого инструмента в миллисекундах.

Пример: Claude Code с отключёнными динамическими инструментами

{
  "mcpServers": {
    "symfony": {
      "command": "npx",
      "args": ["@shakaran/symfony-agent-mcp"],
      "env": {
        "SYMFONY_MCP_DYNAMIC_TOOLS": "false"
      }
    }
  }
}

Пример: увеличение бюджета токенов до 80 000 токенов

{
  "mcpServers": {
    "symfony": {
      "command": "node",
      "args": ["/path/to/symfony-agent-mcp/dist/server.js"],
      "env": {
        "SYMFONY_MCP_TOKEN_BUDGET": "80000"
      }
    }
  }
}

Локальная установка (из исходного кода)

Используйте это, если хотите запустить сервер из локального клона (публикация в npm не требуется).

# 1. Clone the repo
git clone https://github.com/shakaran/symfony-agent-mcp
cd symfony-agent-mcp

# 2. Install dependencies (Node.js ≥ 22 required)
pnpm install         # or: npm install

# 3. Build TypeScript → dist/
pnpm build           # or: npm run build

# 4. Test the server responds
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/server.js

Затем настройте ваш MCP-клиент, чтобы он указывал на собранный файл:

Claude Code (выполните один раз):

claude mcp add symfony -- node /absolute/path/to/symfony-agent-mcp/dist/server.js

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "symfony": {
      "command": "node",
      "args": ["/absolute/path/to/symfony-agent-mcp/dist/server.js"]
    }
  }
}

VS Code (.vscode/mcp.json):

{
  "servers": {
    "symfony": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/symfony-agent-mcp/dist/server.js"]
    }
  }
}

Совет: После пересборки (pnpm build) перезапустите ваш MCP-клиент, чтобы изменения вступили в силу.


Что он читает

Сервер читает файлы непосредственно из вашего приложения Symfony — не требуется подключение к базе данных и PHP-рантайм:

  • config/routes.yaml, config/routes/*.yaml — YAML-маршруты

  • PHP 8 #[Route] атрибуты в контроллерах в src/Controller/

  • config/services.yaml — сервисы DI-контейнера

  • config/packages/*.yaml — конфигурация framework, security, doctrine, messenger, mailer

  • src/Entity/*.php — файлы сущностей Doctrine (атрибуты PHP 8 + аннотации)

  • var/log/*.log — журналы приложения

  • migrations/, src/Migrations/ — файлы миграций Doctrine

  • composer.json, composer.lock — информация о пакетах

  • .env, .env.local, .env.*.local — переменные окружения (чувствительные значения автоматически редактируются)


Совместимость с Symfony

Symfony

PHP

ORM-маппинг

5.4 LTS

8.0+

Аннотации или атрибуты

6.x

8.0+

Атрибуты

7.x

8.2+

Атрибуты

8.x

8.2+

Атрибуты


Требования

  • Node.js ≥ 22.0.0

  • pnpm ≥ 11.0.0 (или npm/yarn для разработки)


Разработка

pnpm install
pnpm dev            # watch mode (TypeScript → dist/)
pnpm test           # run all tests
pnpm lint           # ESLint
pnpm typecheck      # tsc --noEmit

Полное руководство по разработке см. в DEVELOPMENT.md: обзор архитектуры, добавление новых инструментов, стратегия тестирования и рекомендации по участию.


Документация

Документ

Описание

GETTING_STARTED.md

Пошаговая настройка, требования Node.js, устранение неполадок

ARCHITECTURE.md

Проектирование системы, конвейер безопасности, обзор компонентов, документация по всем 1 679 инструментам в 16 категориях

DEVELOPMENT.md

Рабочий процесс разработки, добавление инструментов, тестирование, участие

SECURITY.md

Модель угроз, конвейер DLP, политика ответственного раскрытия

CHANGELOG.md

История релизов и дорожная карта

PROJECT_SUMMARY.md

Обзор проекта на высоком уровне и статистика


Участие

Проблемы (issues) и pull request'ы приветствуются на github.com/shakaran/symfony-agent-mcp.

Пожалуйста, прочитайте DEVELOPMENT.md перед отправкой PR и SECURITY.md для ознакомления с политикой ответственного раскрытия.


Лицензия

MIT © Ángel Guzmán Maeso

Available Tools

5 tools
activate_categoryA

Activate all tools in a category for this session. After activation the MCP client will receive the full tool definitions on the next tools/list refresh. Use list_tool_categories to see available categories and their token costs. Pass force=true to override the token budget guard.

ParametersJSON Schema
NameRequiredDescriptionDefault
forceNoOverride token budget warning and activate anyway (default false).
categoryYesCategory key from list_tool_categories, e.g. "database", "api", "security".

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the side effect (client receives full tool definitions on next refresh), the session scope, and the token budget guard behavior. It does not mention whether activation is reversible or if there are any side effects beyond the refresh, but the key behaviors are covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: the action and effect, the prerequisite listing tool, and the force parameter. Front-loaded with the primary action, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (2 params, no output schema), the description is complete for an agent to call it correctly. It covers the action, the prerequisite, the parameter semantics, and the side effect. The only minor gap is not describing what happens after activation (e.g., whether tools are immediately available or require a refresh), but the description does mention the refresh behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters. The description adds value by explaining the purpose of force (override token budget warning) and the category format (key from list_tool_categories), which goes beyond the schema's basic descriptions. It doesn't add syntax details but the schema already provides those.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Activate all tools in a category'), the resource ('category'), and the session scope. It distinguishes itself from siblings by mentioning the activation effect and the token budget guard, which is unique to this tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells the agent to use list_tool_categories to see available categories and token costs, and explains the force parameter for overriding the budget guard. It implies when to use this tool (when you need tools from a category) and provides a clear alternative for listing categories.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

deactivate_categoryA

Remove a previously activated category from this session to free up context budget. Useful when switching between different areas of the codebase.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryYesCategory key to deactivate, e.g. "database".

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It adds useful behavioral context by noting the session scoping and the context-budget effect. However, it does not disclose behavior for edge cases like deactivating a category that is not active, or whether the operation is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no filler. The primary action and its purpose are front-loaded, and the use-case guidance is directly relevant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter, session-scoped tool, the description covers what it does, why it matters, and when to use it. It does not mention listing available categories, but the sibling tool list_tool_categories is available in context, making this a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema already documents the 'category' parameter with an example. The description reinforces the meaning by referring to 'previously activated category' but adds no new parameter-level details beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Remove'), a specific resource ('previously activated category'), and the scope ('from this session'). It clearly distinguishes the tool from its sibling activate_category by describing the inverse operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a clear use case: 'Useful when switching between different areas of the codebase.' It implies when to use the tool, though it does not explicitly name alternatives or state when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_active_toolsA

Show which tool categories are currently active in this session, how many tools are exposed, and the estimated token cost. Use this to understand your current context budget.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so behavioral disclosure falls entirely on the description. The word 'Show' communicates read-only introspection, and the description explicitly reveals that the tool returns session state, a count of exposed tools, and an estimated token cost. It does not explicitly say it has no side effects, but the verb and zero-parameter design make that clear enough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no filler. The first sentence front-loads exactly what the tool reports, and the second sentence explains why the agent would call it. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, no-output-schema tool, this description is fully adequate. It conveys the tool's scope, output, and a motivating use case. Nothing essential is missing for a model to invoke the tool appropriately.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero parameters and 100% schema coverage, the schema is already complete and the description has no parameter details to add. The description does contribute some useful semantics by clarifying what the response will contain, namely active categories, count of exposed tools, and token cost.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb, 'Show', and names a clear resource: the tool categories that are currently active in this session, plus a count and estimated token cost. The phrase 'currently active' and the context-budget emphasis clearly set it apart from sibling tools like list_tool_categories or search_tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description directly tells the agent when to use the tool: 'Use this to understand your current context budget.' It clearly establishes a use case, though it does not explicitly mention exclusions alternatives such as when the agent should use list_tool_categories instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_tool_categoriesA

List all available tool categories with descriptions, tool counts, and estimated token cost. Use this first to understand what groups of tools exist before activating them. Only the categories you activate will be shown in subsequent tools/list calls.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden, and it delivers the crucial state-dependent behavior: 'Only the categories you activate will be shown in subsequent tools/list calls.' This is exactly the kind of non-obvious behavior an agent must know. It could also state that this call is side-effect-free, but the provided disclosure is strong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, zero waste, with the most important information front-loaded. Each sentence serves a distinct purpose: what it lists, when to call it, and a critical behavioral caveat. This is a model of concise, useful description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter list tool with no output schema, this description is complete. It covers return contents, invocation order, and a behavioral subtlety that would otherwise be invisible. An agent has everything it needs to decide when and how to call this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are 0 parameters and schema coverage is 100%, so the baseline is already a 4. The description doesn't need to add parameter semantics since there are none, and it doesn't waste words trying.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('List'), a clear resource ('all available tool categories'), and the exact fields returned (descriptions, tool counts, token cost). The distinction from siblings is mostly implied via the workflow cue 'before activating them,' but it doesn't name an alternative sibling like the calibration gold standard, so it falls just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit guidance to 'Use this first' before activating categories, which clearly signals the intended position in the workflow. It doesn't explicitly discuss when not to use this tool or contrast with search_tools, but the context is clear enough for an agent to select it appropriately.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_toolsA

Search for specific tools by describing what you want to do. Returns the top matching tool definitions (name + description + input schema) ready to call immediately — no activation needed for one-off use. For repeated use of a group, call activate_category instead.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of tools to return (default 8, max 20).
queryYesNatural language description of what you want to do, e.g. "detect N+1 queries" or "list Symfony routes".

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the transparency burden. It discloses the return shape (name + description + input schema), the relevance model ('top matching'), and the key behavior that no activation is needed. This is solid coverage for a read-only search tool, though it does not mention edge cases like no matches found.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: the search intent is in the first sentence, return behavior in the second, and the alternative activation path in the third. There is no redundant text or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter search tool with no output schema, the description gives the agent enough to know what to pass, what it will receive, and whether activation is required. It also mentions the key distinction from activate_category, making the tool self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already documents both query and limit. The description adds no additional parameter-level meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Search') and resource ('specific tools') and explains how the search is expressed: by describing what you want to do. It also mentions that it returns ready-to-call tool definitions, which clearly separates it from the category-oriented sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit routing for one-off use versus repeated use ('For repeated use of a group, call activate_category instead'). It implies when search_tools is appropriate rather than listing a category, but it does not explicitly contrast with list_tool_categories or get_active_tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv1.0.1
    • First observedactivate_category
    • First observeddeactivate_category
    • First observedget_active_tools
    • First observedlist_tool_categories
    • First observedsearch_tools

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing categories, searching tools, activating a category, viewing active categories, and deactivating. There is no overlap or ambiguity in their functions.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (list_tool_categories, search_tools, activate_category, get_active_tools, deactivate_category), making prediction and selection straightforward.

Tool Count5/5

With 5 tools, the set is tightly scoped to the server's purpose of managing tool categories and sessions. Each tool serves a necessary role in the lifecycle without redundancy or bloat.

Completeness5/5

The surface covers the full lifecycle of tool category management: discovery (list/search), activation, status inquiry, and deactivation. No obvious gaps exist for the stated domain.

Maintenance

ActivityActive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    A production-ready Model Context Protocol (MCP) server that bridges your Symfony/PHP project with LLMs such as Claude. It exposes tools that let the AI read your project's routes, services, Twig templates, and PHP source code.
    8
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to deeply interact with the PHP ecosystem, including runtime, static analysis, security scanning, testing, Composer, and frameworks like Laravel and Symfony. It exposes over 30 tools, 8 resources, and 7 prompts via MCP, allowing natural language commands to run PHP linting, static analysis, audits, tests, and project initialization.
    41
    MIT