1. Conduid
  2. AI
  3. Mcpdotnet.extensions.semantickernel
MCP server · AI

Mcpdotnet.extensions.semantickernel

Microsoft SemanticKernel integration for the Model Context Protocol (MCP). Enables seamless use of MCP tools as AI functions.

Unclaimed MIT last commit 6 months ago ai
61Good

Scored yesterday · breakdown

About Mcpdotnet.extensions.semantickernel

Mcpdotnet.extensions.semantickernel is an MCP server published by StefH in the AI category: microsoft SemanticKernel integration for the Model Context Protocol (MCP). Enables seamless use of MCP tools as AI functions. It has been installed 0 times through Conduid.

The repository has 39 stars and 14 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx mcpdotnet-extensions-semantickernel

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Mcpdotnet.extensions.semantickernel

Powered by Claude · Grounded in docs

I know everything about Mcpdotnet.extensions.semantickernel. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

0.10.00.10.0 · 6 Jun 2026What's Changed Upgrade ModelContextProtocol to 1.4.0 by @StefH in https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/pull/48 Full Changelog**: https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/compare/0.9.0...0.10.0
0.9.00.9.0 · 15 Mar 2026What's Changed Upgrade ModelContextProtocol to 1.1.0 by @StefH in https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/pull/47 Full Changelog**: https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/compare/0.8.1...0.9.0
0.8.10.8.1 · 7 Feb 2026What's Changed Upgrade ModelContextProtocol to 0.8.0-preview.1 by @StefH in https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/pull/46 Full Changelog**:…
0.8.00.8.0 · 3 Feb 2026What's Changed Add support for structured output by @StefH in https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/pull/45 Full Changelog**: https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/compare/0.7.2...0.8.0
0.7.20.7.2 · 1 Feb 2026What's Changed Add TransportMode to ModelContextProtocolSemanticKernelSseOptions + fix SSE example + unittest by @StefH in https://github.com/StefH/McpDotNet.Extensions.SemanticKernel/pull/44 Full Changelog**:…

README

# Project Icon ModelContextProtocol.SemanticKernel Microsoft SemanticKernel integration for the Model Context Protocol using the csharp-sdk. Enables seamless use of MCP tools as AI functions.

[!NOTE] This project is in preview; breaking changes can be introduced without prior notice.

📦 NuGet packages

Stef.ModelContextProtocol.SemanticKernel NuGet Badge
Stef.ModelContextProtocol.Schema NuGet Badge

Overview

---
title: "Overview"
---

graph LR;
    SK[Semantic Kernel<br>'OpenAI'] 
    MCPClient[MCPClient<br>'Function Calling']
    MCPServer[Local MCP Server<br>'server-github'] 
    GitHub[GitHub]

    SK <-- C# --> MCPClient
    MCPClient <-- MCP Protocol --> MCPServer
    MCPServer <-- Web API --> GitHub

⚙️ Usage

Use an extension method to register a specific MCP function/tool

Register single function or tool

// 💡Stdio
await kernel.Plugins.AddMcpFunctionsFromStdioServerAsync("GitHub", "npx", ["-y", "@modelcontextprotocol/server-github"]);

// 💡SSE
await kernel.Plugins.AddMcpFunctionsFromSseServerAsync("GitHub", new Uri("http://localhost:12345"));

Register MCP Server(s) from Claude Desktop configuration

It's also possible to register all Stdio MCP Servers which are registered in Claude Desktop:

// 💡Stdio MCP Tools defined in claude_desktop_config.json
await kernel.Plugins.AddToolsFromClaudeDesktopConfigAsync(cancellationToken: cts.Token);

💻 Full Stdio Example

Code

var builder = Kernel.CreateBuilder();
builder.Services.AddLogging(c => c.AddDebug().SetMinimumLevel(LogLevel.Trace));

builder.Services.AddOpenAIChatCompletion(
    serviceId: "openai",
    modelId: "gpt-4o-mini",
    apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY")!);

var kernel = builder.Build();

// 💡 Add this line to enable MCP functions from a Stdio server named "Everything"
await kernel.Plugins.AddMcpFunctionsFromStdioServerAsync("Everything", "npx", ["-y", "@modelcontextprotocol/server-github"]);

var executionSettings = new OpenAIPromptExecutionSettings
{
    Temperature = 0,
    FunctionChoiceBehavior = FunctionChoiceBehavior.Auto()
};

var prompt = "Please call the echo tool with the string 'Hello Stef!' and give me the response as-is.";
var result = await kernel.InvokePromptAsync(prompt, new(executionSettings)).ConfigureAwait(false);
Console.WriteLine($"\n\n{prompt}\n{result}");

Result

Please call the echo tool with the string 'Hello Stef!' and give me the response as-is.
Echo: Hello Stef!

💻 Full SSE (Server-Sent Events) Example

Code

var builder = Kernel.CreateBuilder();
builder.Services.AddLogging(c => c.AddDebug().SetMinimumLevel(LogLevel.Trace));

builder.Services.AddOpenAIChatCompletion(
    serviceId: "openai",
    modelId: "gpt-4o-mini",
    apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY")!);

var kernel = builder.Build();

// 💡 Add this line to enable MCP functions from a Sse server named "Github"
// - Note that a server must be running at the specified URL
await kernel.Plugins.AddMcpFunctionsFromSseServerAsync("GitHub", "http://localhost:12345");

var executionSettings = new OpenAIPromptExecutionSettings
{
    Temperature = 0,
    FunctionChoiceBehavior = FunctionChoiceBehavior.Auto()
};

var prompt = "Summarize the last 3 commits to the StefH/FluentBuilder repository.";
var result = await kernel.InvokePromptAsync(prompt, new(executionSettings)).ConfigureAwait(false);
Console.WriteLine($"\n\n{prompt}\n{result}");

Result

Summarize the last 3 commits to the StefH/FluentBuilder repository.
Here are the summaries of the last three commits to the `StefH/FluentBuilder` repository:

1. **Commit [2293880](https://github.com/StefH/FluentBuilder/commit/229388090f50a39f489e30cb535f67f3705cf61f)** (January 30, 2025)
   - **Author:** Stef Heyenrath
   - **Message:** Update README.md
   - **Details:** This commit updates the README.md file. The commit was verified and is valid.

2. **Commit [ae27064](https://github.com/StefH/FluentBuilder/commit/ae2706424c3b75613bf5625091aa2649fb33ecde)** (November 6, 2024)
   - **Author:** Stef Heyenrath
   - **Message:** Update README.md
   - **Details:** This commit also updates the README.md file. The commit was verified and is valid.

3. **Commit [53096a8](https://github.com/StefH/FluentBuilder/commit/53096a8b54a1029532425bc727fdd831e9ed0092)** (October 20, 2024)
   - **Author:** Stef Heyenrath
   - **Message:** Update README.md
   - **Details:** This commit updates the README.md file as well. The commit was verified and is valid.

All three commits involve updates to the README.md file, reflecting ongoing improvements or changes to the documentation.

📖 References

Sponsors

Entity Framework Extensions and Dapper Plus are major sponsors and proud to contribute to the development of ModelContextProtocol-SemanticKernel.

Entity Framework Extensions

Dapper Plus

README mirrored from the source repository yesterday. The original is authoritative.

Questions

About Mcpdotnet.extensions.semantickernel

How do I install Mcpdotnet.extensions.semantickernel?

Run npx mcpdotnet-extensions-semantickernel, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Mcpdotnet.extensions.semantickernel safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mcpdotnet.extensions.semantickernel still maintained?

Yes — the latest release is 0.10.0 (6 Jun 2026), and the last commit was 6 months ago. The repository has 39 stars and 0 open issues.