From 7e94fa38856140d92c919348ba22418b8a43bfab Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Thu, 26 Mar 2026 10:23:22 +0100 Subject: [PATCH 1/2] Made ibexa/mcp opt-in --- ibexa/experience/5.0/config/routes/ibexa_mcp.yaml | 3 --- ibexa/headless/5.0/config/routes/ibexa_mcp.yaml | 3 --- ibexa/{commerce => mcp}/5.0/config/routes/ibexa_mcp.yaml | 0 ibexa/mcp/5.0/manifest.json | 9 +++++++++ 4 files changed, 9 insertions(+), 6 deletions(-) delete mode 100644 ibexa/experience/5.0/config/routes/ibexa_mcp.yaml delete mode 100644 ibexa/headless/5.0/config/routes/ibexa_mcp.yaml rename ibexa/{commerce => mcp}/5.0/config/routes/ibexa_mcp.yaml (100%) create mode 100644 ibexa/mcp/5.0/manifest.json diff --git a/ibexa/experience/5.0/config/routes/ibexa_mcp.yaml b/ibexa/experience/5.0/config/routes/ibexa_mcp.yaml deleted file mode 100644 index 33e04eea..00000000 --- a/ibexa/experience/5.0/config/routes/ibexa_mcp.yaml +++ /dev/null @@ -1,3 +0,0 @@ -ibexa_mcp: - resource: . - type: ibexa_mcp diff --git a/ibexa/headless/5.0/config/routes/ibexa_mcp.yaml b/ibexa/headless/5.0/config/routes/ibexa_mcp.yaml deleted file mode 100644 index 33e04eea..00000000 --- a/ibexa/headless/5.0/config/routes/ibexa_mcp.yaml +++ /dev/null @@ -1,3 +0,0 @@ -ibexa_mcp: - resource: . - type: ibexa_mcp diff --git a/ibexa/commerce/5.0/config/routes/ibexa_mcp.yaml b/ibexa/mcp/5.0/config/routes/ibexa_mcp.yaml similarity index 100% rename from ibexa/commerce/5.0/config/routes/ibexa_mcp.yaml rename to ibexa/mcp/5.0/config/routes/ibexa_mcp.yaml diff --git a/ibexa/mcp/5.0/manifest.json b/ibexa/mcp/5.0/manifest.json new file mode 100644 index 00000000..cd6128bb --- /dev/null +++ b/ibexa/mcp/5.0/manifest.json @@ -0,0 +1,9 @@ +{ + "aliases": [], + "bundles": { + "Ibexa\\Bundle\\Mcp\\IbexaMcpBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From a449a9592b887905b9c4838a0b1dc677f2ea5111 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Thu, 26 Mar 2026 10:33:48 +0100 Subject: [PATCH 2/2] Remove mcp from security --- ibexa/commerce/5.0/config/packages/security.yaml | 8 -------- ibexa/experience/5.0/config/packages/security.yaml | 8 -------- ibexa/headless/5.0/config/packages/security.yaml | 8 -------- 3 files changed, 24 deletions(-) diff --git a/ibexa/commerce/5.0/config/packages/security.yaml b/ibexa/commerce/5.0/config/packages/security.yaml index ab2ed9a7..e4bfaf7e 100644 --- a/ibexa/commerce/5.0/config/packages/security.yaml +++ b/ibexa/commerce/5.0/config/packages/security.yaml @@ -107,14 +107,6 @@ security: # stateless: true # jwt: ~ - # Uncomment `ibexa_jwt_mcp` rule if you are using Ibexa MCP - #ibexa_jwt_mcp: - # request_matcher: Ibexa\Mcp\Security\McpRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # provider: ibexa - # stateless: true - # jwt: ~ - #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher # provider: ibexa diff --git a/ibexa/experience/5.0/config/packages/security.yaml b/ibexa/experience/5.0/config/packages/security.yaml index d977f525..d89cf135 100644 --- a/ibexa/experience/5.0/config/packages/security.yaml +++ b/ibexa/experience/5.0/config/packages/security.yaml @@ -95,14 +95,6 @@ security: # stateless: true # jwt: ~ - # Uncomment `ibexa_jwt_mcp` rule if you are using Ibexa MCP - #ibexa_jwt_mcp: - # request_matcher: Ibexa\Mcp\Security\McpRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # provider: ibexa - # stateless: true - # jwt: ~ - #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher # provider: ibexa diff --git a/ibexa/headless/5.0/config/packages/security.yaml b/ibexa/headless/5.0/config/packages/security.yaml index aac809a5..2126bc5d 100644 --- a/ibexa/headless/5.0/config/packages/security.yaml +++ b/ibexa/headless/5.0/config/packages/security.yaml @@ -95,14 +95,6 @@ security: # stateless: true # jwt: ~ - # Uncomment `ibexa_jwt_mcp` rule if you are using Ibexa MCP - #ibexa_jwt_mcp: - # request_matcher: Ibexa\Mcp\Security\McpRequestMatcher - # user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker - # provider: ibexa - # stateless: true - # jwt: ~ - #ibexa_jwt_graphql: # request_matcher: Ibexa\GraphQL\Security\NonAdminGraphQLRequestMatcher # provider: ibexa