Skip to content

IBX-12987 - Document ibexa:debug:mcp-tools command - #3454

Open
dabrt wants to merge 4 commits into
release_5.0.11from
IBX-12987
Open

dabrt wants to merge 4 commits into
release_5.0.11from
IBX-12987

Conversation

@dabrt

@dabrt dabrt commented Oct 30, 2026

Copy link
Copy Markdown
Contributor
Question Answer
JIRA Ticket IBX-12987
Versions 5.0.11
Edition all

Document ibexa:debug:mcp-tools command

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer

@github-actions

Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Summary

Status Count
🔍 Total 750932
🔗 Unique 15152
✅ Successful 6299
⏳ Timeouts 0
🔀 Redirected 31
👻 Excluded 744579
❓ Unknown 0
🚫 Errors 54
⛔ Unsupported 0

Errors per input

Errors in site/api/php_api/php_api/index.html

Errors in site/cdp/cdp_activation/cdp_data_export/index.html

Errors in site/content_management/field_types/field_type_reference/urlfield/index.html

Errors in site/getting_started/requirements/index.html

Errors in site/ibexa_cloud/ibexa_cloud_guide/index.html

Errors in site/ibexa_products/ibexa_commerce/index.html

Errors in site/ibexa_products/ibexa_experience/index.html

Errors in site/ibexa_products/ibexa_headless/index.html

Errors in site/infrastructure_and_maintenance/cache/http_cache/reverse_proxy/index.html

Errors in site/infrastructure_and_maintenance/security/reporting_issues/index.html

Errors in site/infrastructure_and_maintenance/security/security_checklist/index.html

Errors in site/permissions/custom_policies/index.html

Errors in site/product_catalog/quable/install_quable/index.html

Errors in site/product_catalog/quable/quable_api/index.html

Errors in site/recommendations/raptor_integration/connector_installation_configuration/index.html

Errors in site/recommendations/raptor_integration/raptor_connector/index.html

Errors in site/recommendations/raptor_integration/raptor_connector_guide/index.html

Errors in site/release_notes/cohesivo_v6.0_deprecations/index.html

Errors in site/release_notes/ez_platform_v1.10.0/index.html

Errors in site/release_notes/ez_platform_v1.11.0/index.html

Errors in site/release_notes/ez_platform_v1.12.0/index.html

Errors in site/release_notes/ez_platform_v1.13.0_lts/index.html

Errors in site/release_notes/ez_platform_v1.7.0_lts/index.html

Errors in site/release_notes/ez_platform_v1.8.0/index.html

Errors in site/release_notes/ez_platform_v1.9.0/index.html

Errors in site/release_notes/ibexa_dxp_v4.0/index.html

Errors in site/release_notes/ibexa_dxp_v4.4/index.html

Errors in site/release_notes/ibexa_dxp_v4.6/index.html

Errors in site/release_notes/ibexa_dxp_v5.0/index.html

Errors in site/resources/new_in_doc/index.html

Errors in site/update_and_migration/from_4.5/update_from_4.5/index.html

Redirects per input

Redirects in site/administration/project_organization/bundles/index.html

Redirects in site/api/php_api/php_api/index.html

Redirects in site/cdp/cdp_activation/cdp_data_export/index.html

Redirects in site/commerce/transactional_emails/transactional_emails/index.html

Redirects in site/content_management/field_types/field_type_reference/urlfield/index.html

Redirects in site/getting_started/requirements/index.html

Redirects in site/ibexa_products/ibexa_commerce/index.html

Redirects in site/ibexa_products/ibexa_experience/index.html

Redirects in site/ibexa_products/ibexa_headless/index.html

Redirects in site/infrastructure_and_maintenance/cache/http_cache/reverse_proxy/index.html

Redirects in site/infrastructure_and_maintenance/security/reporting_issues/index.html

Redirects in site/product_catalog/quable/install_quable/index.html

Redirects in site/product_catalog/quable/quable_guide/index.html

Redirects in site/release_notes/cohesivo_v6.0_deprecations/index.html

Redirects in site/release_notes/ez_platform_v1.12.0/index.html

Redirects in site/release_notes/ibexa_dxp_v4.0/index.html

Redirects in site/release_notes/ibexa_dxp_v4.4/index.html

Redirects in site/release_notes/ibexa_dxp_v5.0/index.html

Redirects in site/resources/new_in_doc/index.html

Redirects in site/templating/components/index.html

Redirects in site/templating/image_variations/index.html

Full Github Actions output

Comment thread docs/ai/mcp/mcp_config.md Resolved
Comment thread docs/ai/mcp/mcp_config.md Resolved
Comment thread docs/ai/mcp/mcp_usage.md Resolved
Comment thread docs/ai/mcp/mcp_usage.md Resolved
Comment thread docs/ai/mcp/mcp_config.md Resolved
@dabrt
dabrt requested a review from adriendupuis November 2, 2026 13:59
Comment thread docs/ai/mcp/mcp_config.md Resolved
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

code_samples/ change report

Before (on target branch)After (in current PR)

code_samples/mcp/src/Command/McpServerListCommand.php


code_samples/mcp/src/Command/McpServerListCommand.php

docs/ai/mcp/mcp_usage.md@159:``` php
docs/ai/mcp/mcp_usage.md@160:[[= include_code('code_samples/mcp/src/Command/McpServerListCommand.php') =]]
docs/ai/mcp/mcp_usage.md@161:```

001⫶<?php declare(strict_types=1);
002⫶
003⫶namespace App\Command;
004⫶
005⫶use Ibexa\Contracts\Mcp\McpServerConfigurationRegistryInterface;
006⫶use Symfony\Component\Console\Attribute\AsCommand;
007⫶use Symfony\Component\Console\Command\Command;
008⫶use Symfony\Component\Console\Style\SymfonyStyle;
009⫶
010⫶#[AsCommand(name: 'app:mcp:server_list', description: 'List MCP servers')]
011⫶class McpServerListCommand
012⫶{
013⫶ public function __construct(private readonly McpServerConfigurationRegistryInterface $configRegistry)
014⫶ {
015⫶ }
016⫶
017⫶ public function __invoke(SymfonyStyle $io): int
018⫶ {
019⫶ foreach($this->configRegistry->getServerConfigurations() as $serverConfiguration) {
020⫶ $io->title($serverConfiguration->identifier);
021⫶ dump($serverConfiguration);
022⫶ }
023⫶
024⫶ return Command::SUCCESS;
025⫶ }
026⫶}

Download colorized diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants