Skip to content

Bug: MCP tool integration is broken in 1.53.0 #12217

@Lanayx

Description

@Lanayx

Describe the bug

kernel.Plugins.AddFromFunctions("CurrentDateTool", tools |> Seq.map _.AsKernelFunction()) |> ignore

Importing plugin from kernel function occurs with prefixed name "plugin_function", while later function is retrieved using just "function" name, so integration is broken later.

Issue is not reproduced in 1.52.0

To Reproduce
Check out the repro, change SemanticKernel version to 1.53.0
https://github.com/Lanayx/Oxpecker/tree/develop/examples/MCP

Expected behavior
MCP function is added as plugin properly and can be used later

Screenshots

Image

Platform

  • Language: [F#]
  • Source: [NuGet package version 1.53.0]
  • AI model: [Ollama + Llama3.2]
  • IDE: [Rider]
  • OS: [Windows]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions