Skip to content

[Agent Builder] Upgrade MCP SDK#249228

Merged
machadoum merged 1 commit intoelastic:mainfrom
machadoum:ab-12419-upgrade-MCP-SDK
Jan 16, 2026
Merged

[Agent Builder] Upgrade MCP SDK#249228
machadoum merged 1 commit intoelastic:mainfrom
machadoum:ab-12419-upgrade-MCP-SDK

Conversation

@machadoum
Copy link
Copy Markdown
Member

@machadoum machadoum commented Jan 15, 2026

Summary

Upgrade MCP SDK to v1.25.2

resolves https://github.com/elastic/search-team/issues/12419

How to test it?

  • Start empty Kibana and ES instances
  • Import github MCP tools
  • Create an agent with access to the github tools
  • Test with the agent can use the tools properly

Note: This update must be applied to the 8.19, 9.2, and 9.3 release lines.

Checklist

Reviewers should verify this PR satisfies this list as well.

Identify risks

Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.

@machadoum machadoum self-assigned this Jan 15, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jan 15, 2026

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #17 / Entity Analytics - Privilege Monitoring @ess @serverless @skipInServerlessMKI Entity Privilege Monitoring Engine Plain Index Sync Plain index sync should not create duplicate users
  • [job] [logs] Jest Tests #13 / runAgent calls the agent handler with the expected parameters
  • [job] [logs] Jest Tests #13 / runAgent calls the agent handler with the expected parameters

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
agentBuilder 12 18 +6

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
agentBuilder 6 9 +3
Unknown metric groups

API count

id before after diff
agentBuilder 32 44 +12

History

cc @machadoum

@machadoum machadoum force-pushed the ab-12419-upgrade-MCP-SDK branch from b042dcd to 2d70213 Compare January 16, 2026 08:20
@machadoum machadoum added release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels Team:agent-builder feature:agent-builder Identify agent builder functionalities to be grouped together for release notes v8.19.0 v9.2.0 v9.3.0 v9.4.0 labels Jan 16, 2026
@machadoum machadoum marked this pull request as ready for review January 16, 2026 08:32
@machadoum machadoum merged commit 18742ef into elastic:main Jan 16, 2026
36 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.2, 9.3

https://github.com/elastic/kibana/actions/runs/21066246927

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.2:
- Upgrade Node.js to 22.22.0 (#249093)
- Bump @langchain/core@0.3.80 (#247521)
- Update dependency @types/moment-duration-format to ^2.2.7 (main) (#242221)
9.3 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 249228

Questions ?

Please refer to the Backport tool documentation

machadoum added a commit to machadoum/kibana that referenced this pull request Jan 19, 2026
## Summary

Upgrade MCP SDK to v1.25.2

### How to test it?
* Start empty Kibana and ES instances
* Import github MCP tools
* Create an agent with access to the github tools
* Test with the agent can use the tools properly

Note: This update must be applied to the 8.19, 9.2, and 9.3 release
lines.

### Checklist
Reviewers should verify this PR satisfies this list as well.

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit 18742ef)

# Conflicts:
#	package.json
#	yarn.lock
machadoum added a commit to machadoum/kibana that referenced this pull request Jan 19, 2026
## Summary

Upgrade MCP SDK to v1.25.2

### How to test it?
* Start empty Kibana and ES instances
* Import github MCP tools
* Create an agent with access to the github tools
* Test with the agent can use the tools properly

Note: This update must be applied to the 8.19, 9.2, and 9.3 release
lines.

### Checklist
Reviewers should verify this PR satisfies this list as well.

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit 18742ef)

# Conflicts:
#	package.json
#	yarn.lock
@machadoum
Copy link
Copy Markdown
Member Author

💚 All backports created successfully

Status Branch Result
9.3
9.2
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

machadoum added a commit to machadoum/kibana that referenced this pull request Jan 19, 2026
## Summary

Upgrade MCP SDK to v1.25.2

### How to test it?
* Start empty Kibana and ES instances
* Import github MCP tools
* Create an agent with access to the github tools
* Test with the agent can use the tools properly

Note: This update must be applied to the 8.19, 9.2, and 9.3 release
lines.

### Checklist
Reviewers should verify this PR satisfies this list as well.

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit 18742ef)

# Conflicts:
#	package.json
#	yarn.lock
machadoum added a commit that referenced this pull request Jan 19, 2026
# Backport

This will backport the following commits from `main` to `9.3`:
- [[Agent Builder] Upgrade MCP SDK
(#249228)](#249228)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2026-01-16T12:13:09Z","message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:agent-builder","feature:agent-builder"],"title":"[Agent
Builder] Upgrade MCP
SDK","number":249228,"url":"https://github.com/elastic/kibana/pull/249228","mergeCommit":{"message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/249228","number":249228,"mergeCommit":{"message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@machadoum machadoum removed the v8.19.0 label Jan 19, 2026
machadoum added a commit that referenced this pull request Jan 20, 2026
# Backport

This will backport the following commits from `main` to `9.2`:
- [[Agent Builder] Upgrade MCP SDK
(#249228)](#249228)


I had to add
[this](95adeb3#diff-2b9889144a83e0a5a99a3d4e2dc6cad24278087b93a06dbd3ba41238c4f75a7d)
change to `src/dev/yarn_deduplicate/index.ts` for preventing CI from
bumping the package version version which breaks CI.

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2026-01-16T12:13:09Z","message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:agent-builder","feature:agent-builder"],"title":"[Agent
Builder] Upgrade MCP
SDK","number":249228,"url":"https://github.com/elastic/kibana/pull/249228","mergeCommit":{"message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/249228","number":249228,"mergeCommit":{"message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f"}}]}]
BACKPORT-->
machadoum added a commit that referenced this pull request Jan 28, 2026
# Backport

This will backport the following commits from `main` to `8.19`:
- [[Agent Builder] Upgrade MCP SDK
(#249228)](#249228)

<!--- Backport version: 10.2.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2026-01-16T12:13:09Z","message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:agent-builder","feature:agent-builder"],"title":"[Agent
Builder] Upgrade MCP
SDK","number":249228,"url":"https://github.com/elastic/kibana/pull/249228","mergeCommit":{"message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/249228","number":249228,"mergeCommit":{"message":"[Agent
Builder] Upgrade MCP SDK (#249228)\n\n## Summary\n\nUpgrade MCP SDK to
v1.25.2\n\n### How to test it?\n* Start empty Kibana and ES instances\n*
Import github MCP tools\n* Create an agent with access to the github
tools\n* Test with the agent can use the tools properly\n\n\nNote: This
update must be applied to the 8.19, 9.2, and 9.3 release\nlines.\n\n###
Checklist\nReviewers should verify this PR satisfies this list as
well.\n\n- [
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [x] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...","sha":"18742ef9bc238f1d67dd5fb8738d4b66f034887f"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels feature:agent-builder Identify agent builder functionalities to be grouped together for release notes release_note:skip Skip the PR/issue when compiling release notes Team:agent-builder v8.19.11 v9.2.0 v9.2.5 v9.3.0 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants