Skip to content

Update MCP auth - #3456

Draft
adriendupuis wants to merge 13 commits into
5.0from
mcp-update-5.0
Draft

adriendupuis wants to merge 13 commits into
5.0from
mcp-update-5.0

Conversation

@adriendupuis

Copy link
Copy Markdown
Contributor
Question Answer
JIRA Ticket
Versions
Edition
  • Wrapper: Can't use newer version of Supergateway as-is.
    • TODO: Is it node.js related? Is it protocol version related?
  • TODO: GH Copilot don't use .mcp.json at project level anymore (not even documented on their side)
  • TODO: To be able to declare it as streamable HTTP instead would help but not having OAuth is blocking.

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Summary

Status Count
🔍 Total 754165
🔗 Unique 14976
✅ Successful 6431
⏳ Timeouts 1
🔀 Redirected 7
👻 Excluded 747713
❓ Unknown 0
🚫 Errors 20
⛔ Unsupported 0

Errors per input

Errors in site/ai/ai_actions/ai_actions/index.html

  • [ERROR] file:///home/runner/work/documentation-developer/documentation-developer/repositories/devdoc-5.0/site/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Connector-AI (at 14392:18) | Cannot find fragment

Errors in site/cdp/cdp_guide/index.html

Errors in site/commerce/payment/payum_integration/index.html

Errors in site/content_management/collaborative_editing/collaborative_editing/index.html

  • [ERROR] file:///home/runner/work/documentation-developer/documentation-developer/repositories/devdoc-5.0/site/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Collaboration-Sessions (at 14382:18) | Cannot find fragment

Errors in site/discounts/discounts/index.html

  • [ERROR] file:///home/runner/work/documentation-developer/documentation-developer/repositories/devdoc-5.0/site/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Discounts (at 14407:18) | Cannot find fragment

Errors in site/getting_started/requirements/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/recommendations/raptor_integration/connector_installation_configuration/index.html

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

Errors in site/recommendations/raptor_integration/tracking_functions/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

  • [ERROR] file:///home/runner/work/documentation-developer/documentation-developer/repositories/devdoc-5.0/site/api/rest_api/rest_api_reference/rest_api_reference.html#tag/Collaboration-Sessions (at 16649:188) | Cannot find fragment

Errors in site/templating/twig_function_reference/recommendations_twig_functions/index.html

Errors in site/update_and_migration/from_5.0/update_from_5.0/index.html

  • [ERROR] file:///home/runner/work/documentation-developer/documentation-developer/repositories/devdoc-5.0/site/ai_actions/configure_ai_actions/index.html#install-anthropic-connector (at 15458:17) | Cannot find fragment

Timeouts per input

Timeouts in site/search/search_engines/solr_search_engine/install_solr/index.html

Redirects per input

Redirects in site/commerce/payment/payum_integration/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/release_notes/ibexa_dxp_v4.4/index.html

Full Github Actions output

@adriendupuis
adriendupuis changed the base branch from 5.0 to release_5.0.11 November 2, 2026 14:11
@adriendupuis
adriendupuis changed the base branch from release_5.0.11 to 5.0 November 4, 2026 11:06
@adriendupuis
adriendupuis changed the base branch from 5.0 to release_5.0.11 November 4, 2026 11:07
@adriendupuis
adriendupuis changed the base branch from release_5.0.11 to 5.0 November 4, 2026 11:12
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

code_samples/ change report

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

code_samples/mcp/http.mcp.json


code_samples/mcp/http.mcp.json

docs/ai/mcp/mcp_usage.md@313:``` json
docs/ai/mcp/mcp_usage.md@314:[[= include_code('code_samples/mcp/http.mcp.json') =]]
docs/ai/mcp/mcp_usage.md@315:```

001⫶{
002⫶ "mcpServers": {
003⫶ "ibexa-example": {
004⫶ "type": "http",
005⫶ "url": "http://localhost/mcp/example",
006⫶ "headers": {
007⫶ "Authorization": "Bearer <JWT token>"
008⫶ },
009⫶ "tools": ["*"]
010⫶ }
011⫶ }
012⫶}


code_samples/mcp/mcp-ibexa-example-installer.sh


code_samples/mcp/mcp-ibexa-example-installer.sh


code_samples/mcp/mcp-ibexa-example-wrapper.sh

docs/ai/mcp/mcp_usage.md@352:``` bash
docs/ai/mcp/mcp_usage.md@353:[[= include_code('code_samples/mcp/mcp-ibexa-example-wrapper.sh') =]]
docs/ai/mcp/mcp_usage.md@354:```
docs/ai/mcp/mcp_usage.md@310:```bash
docs/ai/mcp/mcp_usage.md@311:[[= include_code('code_samples/mcp/mcp-ibexa-example-installer.sh') =]]
docs/ai/mcp/mcp_usage.md@312:```

001⫶#!/bin/bash
002⫶set -e
003⫶

001⫶#!/bin/bash
002⫶set -e
003⫶
004⫶baseUrl='http://localhost' # Adapt to your test case
005⫶mcpServer="$baseUrl/mcp/example"
006⫶
007⫶jwtToken=$(curl -s -X 'POST' \
008⫶ "$baseUrl/api/ibexa/v2/user/token/jwt" \
009⫶ -H 'Content-Type: application/vnd.ibexa.api.JWTInput+json' \
010⫶ -H 'Accept: application/vnd.ibexa.api.JWT+json' \
011⫶ -d '{
012⫶ "JWTInput": {
013⫶ "_media-type": "application/vnd.ibexa.api.JWTInput+json",
014⫶ "username": "ibexa-example",
015⫶ "password": "Ibexa-3xample"
016⫶ }
017⫶ }' | jq -r .JWT.token)
018⫶
019⫶exec npx -y supergateway \
020⫶ --streamableHttp "$mcpServer" \
021⫶ --oauth2Bearer "$jwtToken" \
022⫶ --logLevel none
004⫶# Adapt to your test case
005⫶baseUrl='http://localhost'
006⫶serverUrl="$baseUrl/mcp/example"
007⫶serverName='ibexa-example'
008⫶username='ibexa-example'
009⫶password='Ibexa-3xample'
010⫶agentCli='copilot'
011⫶#agentCli='claude'
012⫶
013⫶jwtToken=$(curl -s -X 'POST' \
014⫶ "$baseUrl/api/ibexa/v2/user/token/jwt" \
015⫶ -H 'Content-Type: application/vnd.ibexa.api.JWTInput+json' \
016⫶ -H 'Accept: application/vnd.ibexa.api.JWT+json' \
017⫶ -d "{
018⫶ \"JWTInput\": {
019⫶ \"_media-type\": \"application/vnd.ibexa.api.JWTInput+json\",
020⫶ \"username\": \"$username\",
021⫶ \"password\": \"$password\"
022⫶ }
023⫶ }" | jq -r .JWT.token)
024⫶
025⫶if [[ -n $($agentCli mcp list | grep -E "(^| )$serverName\W") ]]
026⫶then
027⫶ $agentCli mcp remove "$serverName"
028⫶fi
029⫶
030⫶$agentCli mcp add --transport http \
031⫶ "$serverName" "$serverUrl" \
032⫶ --header "Authorization: Bearer $jwtToken"




code_samples/mcp/stdio.mcp.json
code_samples/mcp/mcp-ibexa-example-wrapper.sh


docs/ai/mcp/mcp_usage.md@344:``` json
docs/ai/mcp/mcp_usage.md@345:[[= include_code('code_samples/mcp/stdio.mcp.json') =]]
docs/ai/mcp/mcp_usage.md@346:```

001⫶{
002⫶ "mcpServers": {
003⫶ "ibexa-example": {
004⫶ "type": "stdio",
005⫶ "command": "bash",
006⫶ "args": ["mcp-ibexa-example-wrapper.sh"],
007⫶ "tools": ["*"]
008⫶ }
009⫶ }
010⫶}

code_samples/mcp/stdio.mcp.json


Download colorized diff

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant